diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..ef07782758b1d16fcf7c183961e42aa0a927e63d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +stages: +- marcus_test + +marcus_test: + variables: + MARCUS_SERVER: $MARCUS_TEST_SERVER_IPV6 + image: oyvindlg/gitlab-ci-library:ansible-cgi + stage: "marcus_test" + before_script: + - eval $(ssh-agent -s) + - echo $MARCUS_TEST_KEY | base64 --decode | ssh-add - + + script: + - echo "debug" + - ssh -6 -o "StrictHostKeyChecking=no" $MARCUS_USER@$MARCUS_SERVER "cd $MARCUS_HOME && git fetch && git checkout $CI_COMMIT_SHA && composer install --no-dev" + - ssh -6 -o "StrictHostKeyChecking=no" $MARCUS_USER@$MARCUS_SERVER "cd $ADMIN_HOME && git fetch && git checkout $CI_COMMIT_SHA && composer install --no-dev" + + tags: + - spes +