From 19d8fbc30beb9c6f0ab2984f8816831ee0e22845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com> Date: Mon, 18 Sep 2023 14:24:49 +0200 Subject: [PATCH] [CI]: Allow to manually trigger the pipeline --- manifest-pipeline-yocto.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index 44e7fe2..9fa163b 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -177,6 +177,8 @@ retrigger: when: "manual" - if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_COMMIT_TAG + - if: $CI_PIPELINE_SOURCE == "web" + when: manual stage: build timeout: !reference [variables, BUILD_TIMEOUT] image: @@ -387,6 +389,8 @@ notify: # Trigger deploy jobs only on a schedule basis (for weekly release) or on tag - if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_COMMIT_TAG + - if: $CI_PIPELINE_SOURCE == "web" + when: manual script: - | echo -e "The job results for all boards are listed below (also available by clicking on the **Job Report** button)." >> Job_message.txt @@ -512,4 +516,4 @@ release: --results-path "results" \ --test-repo ${TEST_REPO_URL} \ --test-repo-branch ${TEST_BRANCH} \ - --test-plan ${CI_PARAM_TEST_SUITE} \ No newline at end of file + --test-plan ${CI_PARAM_TEST_SUITE} -- GitLab