Skip to content
Snippets Groups Projects
Commit 23be24c4 authored by Stefan Lankes's avatar Stefan Lankes
Browse files

remove obsolete deployments

parent 610f079c
No related branches found
No related tags found
No related merge requests found
variables:
DOCKER_TAG: latest
DOCKER_FILE: Dockerfile
DOCKER_IMAGE: ${CI_REGISTRY_IMAGE}
GIT_SUBMODULE_STRATEGY: normal
GIT_LFS_SKIP_SMUDGE: 1
stages:
- deploy
deploy:production:
stage: deploy
variables:
KUBECONFIG: /root/.kube/config
environment:
name: production
url: https://gin3.osbyexample.com
image: ${CI_REGISTRY}/acs/internal/cloud/kubernetes/deployment:2
before_script:
- mkdir -p $(dirname ${KUBECONFIG})
- echo "${KUBECONFIG_ENCODED}" | base64 -d > ${KUBECONFIG}
- kubectl version
script:
- kubectl -n teaching-os apply -f deployment.yaml
only:
refs:
- main
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gin3-image
namespace: teaching-os
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-prod
eonerc.rwth-aachen.de/description: "GIN3 Image"
nginx.ingress.kubernetes.io/configuration-snippet: 'return 302 https://git.rwth-aachen.de/acs/public/teaching/gin3/image-server/-/raw/main/vm_image.tar.gz;'
spec:
tls:
- hosts:
- image.osbyexample.com
- image.os.rwth-aachen.de
secretName: letsencrypt-prod-gin3-slides
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment