Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ stages:
- build
- status_update

.on_cztb2:
.on_cztb3:
tags:
- shell
- cztb2
- cztb3
rules:
# Only report failure if the pipeline failed.
- if: '$CI_JOB_NAME =~ /status_failure/'
Expand All @@ -15,7 +15,7 @@ stages:
- when: on_success

.status_report: &status_report
- export context="cztb2"
- export context="cztb3"
- |
curl --url "https://api.github.com/repos/llnl/${CI_PROJECT_NAME}/statuses/${CI_COMMIT_SHA}" \
--header 'Content-Type: application/json' \
Expand All @@ -25,8 +25,8 @@ stages:
status_pending:
tags:
- shell
- cztb2
extends: [.on_cztb2]
- cztb3
extends: [.on_cztb3]
stage: status_initiate
script:
- export pipeline_status="pending"
Expand All @@ -35,8 +35,8 @@ status_pending:
status_success:
tags:
- shell
- cztb2
extends: [.on_cztb2]
- cztb3
extends: [.on_cztb3]
stage: status_update
script:
- export pipeline_status="success"
Expand All @@ -46,19 +46,19 @@ status_success:
status_failure:
tags:
- shell
- cztb2
extends: [.on_cztb2]
- cztb3
extends: [.on_cztb3]
stage: status_update
script:
- export pipeline_status="failure"
- *status_report
when: on_failure

# build across power lab
build-cztb2:
build-cztb3:
tags:
- shell
- cztb2
- cztb3
stage: build
script:
- git clone $MSR_SAFE_ANSIBLE
Expand Down