diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6343111..9ad2c7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ variables: CI_PROJECT_NAME: "pubcraft" CI_PROJECT_DIR: "." CI_REGISTRY_IMAGE: hub.ducoterra.net/ducoterra/pubcraft + DEPLOY_PORT: 20100 stages: - build @@ -35,4 +36,4 @@ deploy_to_prod: - curl -L -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl - chmod +x /usr/local/bin/kubectl - curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash - - helm template $CI_PROJECT_NAME --set tag=$CI_COMMIT_TAG ./helm | kubectl apply -f - \ No newline at end of file + - helm template $CI_PROJECT_NAME --set tag=$CI_COMMIT_TAG --set port=$DEPLOY_PORT ./helm | kubectl apply -f - \ No newline at end of file diff --git a/helm/values.yaml b/helm/values.yaml index 904a121..e69de29 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -1,2 +0,0 @@ -image: hub.ducoterra.net/ducoterra/minecraft -port: 20100 \ No newline at end of file