[FIX} Fix Minecluster Deployment Again
Some checks failed
Deploy USW-MC / deploy-edge (push) Failing after 10s

This commit is contained in:
Dunemask 2024-08-25 11:18:08 -06:00
parent 6e9c71568d
commit f22b9a3262

View file

@ -1,8 +1,8 @@
name: Deploy USW-MC name: Deploy USW-MC
run-name: ${{ forgejo.actor }} Deploy USW-MC run-name: ${{ forgejo.actor }} Deploy USW-MC
on: on:
push: push:
branches: [ master ] branches: [master]
env: env:
GARDEN_DEPLOY_ACTION: minecluster GARDEN_DEPLOY_ACTION: minecluster
@ -11,13 +11,13 @@ jobs:
deploy-edge: deploy-edge:
steps: steps:
# Configure proper kubeconfig (Used when cluster does not match the edge environment) # Configure proper kubeconfig (Used when cluster does not match the edge environment)
# - name: Get usw-mc deployment kubeconfig - name: Get usw-mc deployment kubeconfig
# uses: https://forgejo.dunemask.dev/elysium/elysium-actions@infisical-env uses: https://forgejo.dunemask.dev/elysium/elysium-actions@infisical-env
# with: with:
# infisical-token: ${{ secrets.INFISICAL_ELYSIUM_EDGE_READ_TOKEN }} infisical-token: ${{ secrets.INFISICAL_ELYSIUM_EDGE_READ_TOKEN }}
# infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }} infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }}
# secret-envs: edge secret-envs: edge
# secret-paths: /kubernetes secret-paths: /kubernetes/usw-mc
# Setup Oasis # Setup Oasis
- name: Oasis Setup - name: Oasis Setup
uses: https://forgejo.dunemask.dev/elysium/elysium-actions@oasis-setup-auto uses: https://forgejo.dunemask.dev/elysium/elysium-actions@oasis-setup-auto
@ -31,8 +31,8 @@ jobs:
- name: Deploy to Edge env - name: Deploy to Edge env
run: garden deploy $GARDEN_DEPLOY_ACTION --force --force-build --env usw-edge run: garden deploy $GARDEN_DEPLOY_ACTION --force --force-build --env usw-edge
working-directory: ${{ env.OASIS_WORKSPACE }} working-directory: ${{ env.OASIS_WORKSPACE }}
# env: # (Used when cluster does not match the edge environment) env: # (Used when cluster does not match the edge environment)
# MCL_KUBECONFIG: ${{ env.KUBERNETES_CONFIG_USW_MC }} MCL_KUBECONFIG: ${{ env.KUBERNETES_CONFIG_USW_MC }}
# Alert via Discord # Alert via Discord
- name: Discord Alert - name: Discord Alert
if: always() if: always()
@ -41,4 +41,4 @@ jobs:
status: ${{ job.status }} status: ${{ job.status }}
channel: deployments channel: deployments
header: DEPLOY MC header: DEPLOY MC
additional-content: "Minecluster Server Manager Deployment" additional-content: "Minecluster Server Manager Deployment"