diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d8aba45e0ee642b2d4ae9fd1426cdcec1d2f3806..a40df37df26e61509bc9e5b43ad1f653f27f97b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: variables: DOCKER_TLS_CERTDIR: "/certs" - CONTAINER_PREFIX: 2022 + CONTAINER_PREFIX: 2023 CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/$CONTAINER_PREFIX:$CI_COMMIT_SHA build-image: @@ -18,7 +18,7 @@ build-image: - docker build --pull -f docker/Dockerfile -t $CONTAINER_IMAGE . - docker push $CONTAINER_IMAGE only: - - "2022" + - conf/2023 k8s-deploy-staging: image: google/cloud-sdk @@ -26,15 +26,15 @@ k8s-deploy-staging: script: - echo "${CA_CERT}" > cert.crt - kubectl config set-cluster cluster --server="${KUBE_SERVER}" --embed-certs=true --certificate-authority=cert.crt - - kubectl config set-context cluster --cluster=cluster --namespace=lca2022-staging --user=gitlab-ci + - kubectl config set-context cluster --cluster=cluster --namespace=eo2023-staging --user=gitlab-ci - kubectl config use-context cluster - kubectl --token "${KUBE_TOKEN}" set image deployment/symposion-app symposion-app=$CONTAINER_IMAGE when: manual only: - - dev/2022 + - dev/2023 environment: - name: 2022/staging - url: https://staging-lca2022.gc2020.org/ + name: 2023/staging + url: https://staging-eo2023.osaconftools.net/ k8s-deploy-prod: image: google/cloud-sdk @@ -42,15 +42,15 @@ k8s-deploy-prod: script: - echo "${CA_CERT}" > cert.crt - kubectl config set-cluster cluster --server="${KUBE_SERVER}" --embed-certs=true --certificate-authority=cert.crt - - kubectl config set-context cluster --cluster=cluster --namespace=lca2022-prod --user=gitlab-ci + - kubectl config set-context cluster --cluster=cluster --namespace=eo2023-prod --user=gitlab-ci - kubectl config use-context cluster - kubectl --token "${KUBE_TOKEN}" set image deployment/symposion-app symposion-app=$CONTAINER_IMAGE when: manual only: - - "2022" + - conf/2023 environment: - name: 2022/prod - url: https://lca2022.linux.org.au + name: 2023/prod + url: https://2023.everythingopen.au/ .docs_template: &sphinx image: alpine @@ -70,7 +70,7 @@ pages: stage: build only: - master - - "2022" + - conf/2023 environment: name: docs url: https://laconfdev.gitlab.io/symposion_app/ @@ -80,4 +80,4 @@ build-sphinx: stage: build except: - master - - "2022" + - conf/2023