mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
Gitlab: updating outdated references
This commit is contained in:
parent
14e942298a
commit
ade350e55b
@ -10,7 +10,7 @@ build:
|
||||
curl -s -H "Authorization: token $GITHUB_STATUS_TOKEN"
|
||||
-X POST
|
||||
--data '{"state": "pending", "description": "Gitlab-CI is building the commit", "context": "gitlab-ci"}'
|
||||
https://api.github.com/repos/ElementsProject/lightning/statuses/$CI_BUILD_REF || true
|
||||
https://api.github.com/repos/ElementsProject/lightning/statuses/$CI_COMMIT_SHA || true
|
||||
script:
|
||||
- make
|
||||
- make -j 12 check
|
||||
@ -27,7 +27,7 @@ update-status-fail:
|
||||
when: on_failure
|
||||
script:
|
||||
- >-
|
||||
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
|
||||
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
|
||||
|
||||
update-status-success:
|
||||
image: tutum/curl
|
||||
@ -35,4 +35,4 @@ update-status-success:
|
||||
when: on_success
|
||||
script:
|
||||
- >-
|
||||
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user