summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 58fe8b3f..477bb7c3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,6 +41,10 @@ build-bullseye:arm64:
image: registry.gitlab.com/sequoia-pgp/build-docker-image/bullseye-prebuild-arm64:latest
dependencies:
- codespell
+ only:
+ variables:
+ # Forks of this project most likely do not have an arm64 runner
+ - $CI_PROJECT_NAMESPACE == "sequoia-pgp"
script:
- $MAKE_TOP
- if ! git diff --quiet Cargo.lock ; then echo "Cargo.lock changed. Please add the change to the corresponding commit." ; false ; fi
@@ -79,6 +83,9 @@ bullseye:arm64:
- tags
- web
- scheduled
+ variables:
+ # Forks of this project most likely do not have an arm64 runner
+ - $CI_PROJECT_NAMESPACE == "sequoia-pgp"
stage: build
image: registry.gitlab.com/sequoia-pgp/build-docker-image/bullseye-prebuild-arm64:latest
dependencies:
@@ -149,6 +156,9 @@ all_commits:arm64:
- tags
- web
- scheduled
+ variables:
+ # Forks of this project most likely do not have an arm64 runner
+ - $CI_PROJECT_NAMESPACE == "sequoia-pgp"
except:
# Do not run for pushes to the pep-engine branch.
- /^pep-engine$/
@@ -196,6 +206,10 @@ rust-stable:arm64:
- docker-arm64
stage: build
image: registry.gitlab.com/sequoia-pgp/build-docker-image/rust-stable-prebuild-arm64:latest
+ only:
+ variables:
+ # Forks of this project most likely do not have an arm64 runner
+ - $CI_PROJECT_NAMESPACE == "sequoia-pgp"
before_script:
- if [ -d $CARGO_TARGET_DIR ]; then find $CARGO_TARGET_DIR | wc --lines; du -sh $CARGO_TARGET_DIR; fi
- if [ -d $CARGO_HOME ]; then find $CARGO_HOME | wc --lines; du -sh $CARGO_HOME; fi