From bcacaeb3001752b7cbf7c54d6af7805cc03a5692 Mon Sep 17 00:00:00 2001 From: TC Date: Tue, 30 Apr 2024 00:44:21 +0000 Subject: [PATCH] [ci dryrun] --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 163c0574..80c4b6bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,6 +43,9 @@ build_cache: rules: - if: $CI_COMMIT_MESSAGE =~ /\[ci dryrun]/ when: never + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_PIPELINE_SOURCE == "push" + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Runs a basic unit test build, this task will use the `build-cache:latest` as set up in the projects Container Registry @@ -280,7 +283,7 @@ dryrun_deploy_repos: tags: - repo-server script: - - ls -al repo.tar + - ls -al $HOME/repo.tar rules: - if: $CI_COMMIT_MESSAGE =~ /\[ci dryrun]/