refactor(sites): rename octopus.k8s.vxm.cz -> ant.k8s.vxm.cz
This commit is contained in:
parent
68f5f51afa
commit
058ab23349
32 changed files with 62 additions and 63 deletions
28
sites/ant.k8s.vxm.cz/.gitlab-ci.yml
Normal file
28
sites/ant.k8s.vxm.cz/.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
build:
|
||||
stage: build
|
||||
image: sikalabs/ci-node
|
||||
variables:
|
||||
IMAGE: $CI_REGISTRY_IMAGE/ant.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/ant.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://ant.k8s.vxm.cz
|
||||
# script:
|
||||
# - cd sites/ant.k8s.vxm.cz
|
||||
# - mkdir -p _deploy/ant.k8s.vxm.cz
|
||||
# - helm template ant.k8s.vxm.cz ./deploy/chart/ant.k8s.vxm.cz --set image.repository=$IMAGE --set image.tag=$IMAGE_TAG > ./_deploy/ant.k8s.vxm.cz/generated.yml
|
||||
Reference in a new issue