Commit 340be852 authored by Sintal's avatar Sintal
Browse files

Update .gitlab-ci.yml

parent 65816b69
image: ubuntu
build-job:
stage: build
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
test-job1:
stage: test
script:
- echo "this job tests fork1"
test-job2:
stage: test
script:
- echo "this job tests fork2"
deploy-prod:
stage: deploy
script:
- echo "this job tests fork3"
before_script:
- echo "Hello, $GITLAB_USER_LOGIN!"
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan bwunicluster.scc.kit.edu > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
Test SSH:
script:
- ssh $USER_NAME "./scriptPull/pull.sh"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment