From 4df408e93d1704f1619368c79c4a52490ea8d085 Mon Sep 17 00:00:00 2001 From: Marko Ivancic <marko.ivancic@srce.hr> Date: Mon, 8 May 2023 15:34:26 +0000 Subject: [PATCH] Enable niif module update using gitlab-runner --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de24dff..88e2c4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ cache: # List of stages for jobs, and their order of execution stages: - test + - deploy # PHP v7.4 test-74: @@ -31,3 +32,16 @@ test-81: script: - composer install --prefer-dist --no-progress --no-suggest - composer run-script pre-commit + +# TODO mivanci remove when GEANT project finishes +# Do some updates on the test deployment... +niif-update: + tags: + - niif-hu-shell + stage: deploy + rules: + - if: '$CI_COMMIT_BRANCH == "main"' + # when: manual + script: + - cd /var/www/simplesamlphp + - composer update -n cicnavi/simplesamlphp-module-accounting -- GitLab