Skip to content

Commit ade350e

Browse files
committed
Gitlab: updating outdated references
1 parent 14e9422 commit ade350e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gitlab-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build:
1010
curl -s -H "Authorization: token $GITHUB_STATUS_TOKEN"
1111
-X POST
1212
--data '{"state": "pending", "description": "Gitlab-CI is building the commit", "context": "gitlab-ci"}'
13-
https://api.github.com/repos/ElementsProject/lightning/statuses/$CI_BUILD_REF || true
13+
https://api.github.com/repos/ElementsProject/lightning/statuses/$CI_COMMIT_SHA || true
1414
script:
1515
- make
1616
- make -j 12 check
@@ -27,12 +27,12 @@ update-status-fail:
2727
when: on_failure
2828
script:
2929
- >-
30-
curl -s -H "Authorization: token $GITHUB_STATUS_TOKEN" -X POST --data '{"state": "failure", "description": "Gitlab-CI build failed, please contact @cdecker for details about build #$CI_BUILD_ID.", "context": "gitlab-ci"}' https://api.github.com/repos/ElementsProject/lightning/statuses/$CI_BUILD_REF || true
30+
curl -s -H "Authorization: token $GITHUB_STATUS_TOKEN" -X POST --data '{"state": "failure", "description": "Gitlab-CI build failed, please contact @cdecker for details about build #$CI_JOB_ID.", "context": "gitlab-ci"}' https://api.github.com/repos/ElementsProject/lightning/statuses/$CI_COMMIT_SHA || true
3131
3232
update-status-success:
3333
image: tutum/curl
3434
stage: deploy
3535
when: on_success
3636
script:
3737
- >-
38-
curl -s -H "Authorization: token $GITHUB_STATUS_TOKEN" -X POST --data '{"state": "success", "description": "Gitlab-CI build succeeded.", "context": "gitlab-ci"}' https://api.github.com/repos/ElementsProject/lightning/statuses/$CI_BUILD_REF || true
38+
curl -s -H "Authorization: token $GITHUB_STATUS_TOKEN" -X POST --data '{"state": "success", "description": "Gitlab-CI build succeeded.", "context": "gitlab-ci"}' https://api.github.com/repos/ElementsProject/lightning/statuses/$CI_COMMIT_SHA || true

0 commit comments

Comments
 (0)