test 9
Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
parent
0786361d49
commit
548f4b652a
1 changed files with 7 additions and 3 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -42,10 +42,14 @@ jobs:
|
||||||
uses: actions/k8s-set-context@v1
|
uses: actions/k8s-set-context@v1
|
||||||
with:
|
with:
|
||||||
kubeconfig: ${{ secrets.KUBECONFIG }}
|
kubeconfig: ${{ secrets.KUBECONFIG }}
|
||||||
- name: Test kubeconfig
|
|
||||||
run: kubectl get pods -n minecraft
|
|
||||||
- name: Set up Helm
|
- name: Set up Helm
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
|
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
|
||||||
chmod 700 get_helm.sh
|
chmod 700 get_helm.sh
|
||||||
./get_helm.sh
|
./get_helm.sh
|
||||||
|
- name: Deploy
|
||||||
|
run: |
|
||||||
|
helm repo add minecraft-server-charts https://itzg.github.io/minecraft-server-charts/
|
||||||
|
helm repo update
|
||||||
|
helm get values -n ${NAMESPACE} ${HELM_RELEASE_NAME} > values.yaml|| echo "No values found"
|
||||||
|
#helm upgrade ${HELM_RELEASE_NAME} minecraft-server-charts/minecraft -n ${NAMESPACE} -f values.yaml --set minecraftServer.downloadModpackUrl=
|
Loading…
Reference in a new issue