1
0
Fork 0

refactor(sites): rename octopus.k8s.vxm.cz -> ant.k8s.vxm.cz

This commit is contained in:
Vojtěch Mareš 2022-01-03 11:09:12 +01:00
parent 68f5f51afa
commit 058ab23349
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
32 changed files with 62 additions and 63 deletions

View file

@ -1,29 +0,0 @@
stages:
- build
build:
stage: build
image: sikalabs/ci-node
variables:
IMAGE: $CI_REGISTRY_IMAGE/octopus.k8s.vxm.cz
IMAGE_TAG: $CI_COMMIT_SHORT_SHA
before_script:
- docker info
- echo $CI_REGISTRY_PASSWORD | docker login --username $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
script:
- cd sites/octopus.k8s.vxm.cz
- yarn install --frozen-lockfile
- yarn build
- docker build --tag $IMAGE:$IMAGE_TAG --file ./build/Containerfile .
- docker push $IMAGE:$IMAGE_TAG
# deploy:
# stage: deploy
# image: sikalabs/ci
# environment:
# name: production
# url: https://octopus.k8s.vxm.cz
# script:
# - cd sites/octopus.k8s.vxm.cz
# - mkdir -p _deploy/octopus.k8s.vxm.cz
# - helm template octopus.k8s.vxm.cz ./deploy/chart/octopus.k8s.vxm.cz --set image.repository=$IMAGE --set image.tag=$IMAGE_TAG > ./_deploy/octopus.k8s.vxm.cz/generated.yml