summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/spack/gitlab/cloud_e4s_pipelines.yml24
-rw-r--r--share/spack/gitlab/pr_pipeline.yml18
2 files changed, 24 insertions, 18 deletions
diff --git a/share/spack/gitlab/cloud_e4s_pipelines.yml b/share/spack/gitlab/cloud_e4s_pipelines.yml
new file mode 100644
index 0000000000..67a74cf971
--- /dev/null
+++ b/share/spack/gitlab/cloud_e4s_pipelines.yml
@@ -0,0 +1,24 @@
+pr_pipeline:
+ only:
+ - /^github\/pr[\d]+_.*$/
+ variables:
+ SPACK_REF: ${CI_COMMIT_SHA}
+ SPACK_PR_BRANCH: ${CI_COMMIT_REF_NAME}
+ SPACK_IS_PR_PIPELINE: "True"
+ AWS_ACCESS_KEY_ID: ${PR_MIRRORS_AWS_ACCESS_KEY_ID}
+ AWS_SECRET_ACCESS_KEY: ${PR_MIRRORS_AWS_SECRET_ACCESS_KEY}
+ trigger:
+ project: spack/e4s
+ strategy: depend
+
+develop_pipeline:
+ only:
+ - /^github\/develop$/
+ variables:
+ SPACK_REF: ${CI_COMMIT_SHA}
+ AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
+ AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
+ SPACK_SIGNING_KEY: ${SPACK_SIGNING_KEY}
+ trigger:
+ project: spack/e4s
+ strategy: depend
diff --git a/share/spack/gitlab/pr_pipeline.yml b/share/spack/gitlab/pr_pipeline.yml
deleted file mode 100644
index 367a4b9077..0000000000
--- a/share/spack/gitlab/pr_pipeline.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-pr_pipeline:
- only:
- - external_pull_requests
- variables:
- SPACK_REF: ${CI_EXTERNAL_PULL_REQUEST_SOURCE_BRANCH_NAME}
- SPACK_IS_PR_PIPELINE: "True"
- trigger:
- project: spack/e4s
- strategy: depend
-
-merge_pipeline:
- only:
- - develop
- variables:
- SPACK_REF: ${CI_COMMIT_SHA}
- trigger:
- project: spack/e4s
- strategy: depend \ No newline at end of file