1
0
Fork 0

fix(build): call project scripts using absolute paths

This commit is contained in:
ssube 2019-09-21 05:14:27 -05:00 committed by Sean Sube
parent d3ccff9545
commit 38cf602a11
2 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ github-pending:
- .build-curl - .build-curl
script: script:
- ./scripts/github-status.sh pending - ${CI_PROJECT_DIR}/scripts/github-status.sh pending
github-failure: github-failure:
stage: status-post stage: status-post
@ -113,7 +113,7 @@ github-failure:
when: on_failure when: on_failure
script: script:
- ./scripts/github-status.sh failure - ${CI_PROJECT_DIR}/scripts/github-status.sh failure
github-success: github-success:
stage: status-post stage: status-post
@ -122,4 +122,4 @@ github-success:
when: on_success when: on_success
script: script:
- ./scripts/github-status.sh success - ${CI_PROJECT_DIR}/scripts/github-status.sh success

View File

@ -35,7 +35,7 @@
- mkdir ${HOME}/.docker - mkdir ${HOME}/.docker
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json - echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
script: script:
- ./scripts/docker-build.sh - ${CI_PROJECT_DIR}/scripts/docker-build.sh
after_script: after_script:
- rm -rfv ${HOME}/.docker - rm -rfv ${HOME}/.docker