From 1304cf0bbed20831394494164f1ad518533c4f35 Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Wed, 7 Feb 2024 09:11:24 +0100 Subject: [PATCH] Add deployment pipeline definition (#134) --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..0a2930d2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +stages: + - deploy + +rsconnect-deploy: + stage: deploy + trigger: + include: + - project: 'nest/automation/gitlab-shared-library' + ref: main + file: '/R/Jobs/RSConnect.gitlab-ci.yml' + parallel: + matrix: + - APP_DIRECTORY: + - "RNA-seq" + - "basic-teal" + - "early-dev" + - "efficacy" + - "exploratory" + - "longitudinal" + - "patient-profile" + - "python" + - "safety" + UPDATE_RENV_LOCK: "false" + rules: + - if: '$CI_PIPELINE_SOURCE == "web"' + - if: '$CI_PIPELINE_SOURCE == "schedule"' +