This commit is contained in:
ducoterra
2020-05-16 12:43:30 -04:00
parent 3ce71a6682
commit 1ccc5cda35
2 changed files with 2 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
variables: variables:
CI_PROJECT_NAME: "minecraft" CI_PROJECT_NAME: "minecraft"
CI_PROJECT_DIR: "." CI_PROJECT_DIR: "."
CI_REGISTRY_IMAGE: hub.ducoterra.net/ducoterra/homer CI_REGISTRY_IMAGE: hub.ducoterra.net/ducoterra/minecraft
stages: stages:
- build - build
@@ -35,4 +35,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 - 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 - chmod +x /usr/local/bin/kubectl
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash - curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
- helm template $CI_PROJECT_NAME --set tag=1.1.1 ./helm | kubectl apply -f - - helm template $CI_PROJECT_NAME --set tag=$CI_COMMIT_TAG ./helm | kubectl apply -f -

View File

@@ -3,7 +3,6 @@ version: '3'
services: services:
minecraft: minecraft:
build: . build: .
image: hub.ducoterra.net/ducoterra/minecraft:1.15.2_1
ports: ports:
- 25565:25565 - 25565:25565
volumes: volumes: