From ade350e55b67416f3c7715e3a13db3444f3985eb Mon Sep 17 00:00:00 2001 From: Chase Date: Tue, 30 May 2023 11:42:21 +0000 Subject: [PATCH] Gitlab: updating outdated references --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 52d90feb6..6e01161c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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