From 7a0b99fbf834ff68c40a5d21683bf8ba03e76dc0 Mon Sep 17 00:00:00 2001 From: Lance Albertson Date: Wed, 23 Sep 2020 22:18:23 -0700 Subject: [PATCH] Add multi-project pipeline to server This allows us to properly test changes made as MRs here using the same pipeline we use for cinc-project/distribution/auditor via the multi-project pipeline feature [1]. [1] https://docs.gitlab.com/ee/ci/multi_project_pipelines.html Signed-off-by: Lance Albertson --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..825fb262bc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +--- +stages: + - test + +workflow: + rules: + # Run if this is a merge request + - if: $CI_MERGE_REQUEST_ID + +server-testing: + stage: test + variables: + CINC_REF: $CI_COMMIT_REF_NAME + trigger: + project: cinc-project/distribution/auditor + strategy: depend