diff options
author | Will Chandler <wchandler@gitlab.com> | 2023-07-21 23:51:55 +0300 |
---|---|---|
committer | Will Chandler <wchandler@gitlab.com> | 2023-07-25 16:16:09 +0300 |
commit | ebc33ed21d00108c5e27f420738d4de17c86b709 (patch) | |
tree | 4eea251618463e338032ddb23135a2f10e2bf6fe | |
parent | 876962886caf4be47ff5b54f8ac50a25ff714aa2 (diff) |
ci: Add variable to force pipeline to runwc/verbose-flake
For debugging CI it is often useful to be able to run a pipeline outside
of the context of an MR. The GitLab project has a `FORCE_GITLAB_CI`
variable that forces a pipeline to run even when the workflow
requirements are not met.
Add an equivalent `FORCE_GITALY_CI` variable to allow us to manually
run pipelines as needed.
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b97e7ed6a..fcac416d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,6 +56,7 @@ workflow: - if: $CI_COMMIT_TAG - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: '$CI_COMMIT_BRANCH =~ /^[\d-]+-stable$/' + - if: $FORCE_GITALY_CI .cache_deps: cache: &cache_deps_configuration @@ -142,6 +143,7 @@ workflow: - if: $CI_MERGE_REQUEST_IID - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: '$CI_COMMIT_BRANCH =~ /^[\d-]+-stable$/' + - if: $FORCE_GITALY_CI .rules_run_on_merge: &rules_run_on_merge # We only execute these rules in the main Gitaly repository. This is |