From f8843ec9bfd56a11c98eb2a81c6f32daf6b3851d Mon Sep 17 00:00:00 2001 From: Rafal Mucha <rafal.mucha@cern.ch> Date: Thu, 22 Aug 2024 17:40:40 +0200 Subject: [PATCH] Resolve NXCALS-7718 "Add triggering nxcals example" --- .ci/examples.yml | 25 +++++++++++++++++++++++++ .gitlab-ci.yml | 1 + 2 files changed, 26 insertions(+) create mode 100644 .ci/examples.yml diff --git a/.ci/examples.yml b/.ci/examples.yml new file mode 100644 index 0000000000..1fcc3fe854 --- /dev/null +++ b/.ci/examples.yml @@ -0,0 +1,25 @@ +include: + - project: acc-logging-team/gitlab-templates + file: gitlab-ci-common.yml + ref: 0.1.34 + - project: acc-logging-team/gitlab-templates + file: gitlab-ci-logging.yml + ref: 0.1.34 + +run-examples: + stage: publish-release + rules: + - if: $STAGING_PIPELINE == "true" && $PRO_RELEASE == 'true' && $CAS == 'true' #on_pro_release + needs: + - set_version:pro + - cas_set_alias:pro + variables: + NXCALS_VERSION: "$VERSION" + trigger: + include: + - project: "acc-logging-team/nxcals-examples" + file: .gitlab-ci.yml + ref: "HEAD" + strategy: depend + forward: + pipeline_variables: true \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f095c59cd..e7f400ae75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ include: - local: '.ci/templates.yml' + - local: '.ci/examples.yml' - project: acc-logging-team/gitlab-templates file: workflows/base.yml ref: 0.1.34 -- GitLab