From December 8 to December 10 the underlying cloud platform running GitLab CI jobs is being extended and thus, is unavailable. We do our best to compensate this with other resources but it might happen that you experience extended startup times for your CI jobs. Thanks for your understanding!

GitLab 14.5 is now available. 🚀 Learn what's new.

Commit 90b702c3 authored by Thomas Beermann's avatar Thomas Beermann
Browse files

remove deployment stage (will be replaced later)

parent 2b3820bc
Pipeline #87026 failed with stages
in 10 minutes and 35 seconds
......@@ -3,7 +3,6 @@ stages:
- test
- package
- docker
- deploy
variables:
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
......
......@@ -63,20 +63,3 @@ docker_build_push:
- package
tags:
- "docker"
production_deployment:
image: ubuntu
only:
- tags
stage: deploy
before_script:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
script:
- ssh -A -tt -o StrictHostKeyChecking=no ubuntu@hifis-tp.desy.de uptime
- sudo kubectl set image deployments/cerebrum-app cerebrum=$DOCKER_IMAGE_TAGGED
- sudo kubectl rollout restart deployment cerebrum-app
- exit
Markdown is supported
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