Skip to content
Snippets Groups Projects
Commit fdbd2f27 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

Merge branch '7-legg-til-ci-for-publisering-til-marcus-test-i-forste-omgang' into 'master'

Resolve "Legg til CI for publisering til marcus (test i første omgang)"

Closes #7

See merge request !9
parents c945e88a 121f3806
No related branches found
No related tags found
1 merge request!9Resolve "Legg til CI for publisering til marcus (test i første omgang)"
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment