[FIX} Fix Minecluster Deployment Again
Some checks failed
Deploy USW-MC / deploy-edge (push) Failing after 10s
Some checks failed
Deploy USW-MC / deploy-edge (push) Failing after 10s
This commit is contained in:
parent
6e9c71568d
commit
f22b9a3262
1 changed files with 12 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
|||
name: Deploy USW-MC
|
||||
run-name: ${{ forgejo.actor }} Deploy USW-MC
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
env:
|
||||
GARDEN_DEPLOY_ACTION: minecluster
|
||||
|
@ -11,13 +11,13 @@ jobs:
|
|||
deploy-edge:
|
||||
steps:
|
||||
# Configure proper kubeconfig (Used when cluster does not match the edge environment)
|
||||
# - name: Get usw-mc deployment kubeconfig
|
||||
# uses: https://forgejo.dunemask.dev/elysium/elysium-actions@infisical-env
|
||||
# with:
|
||||
# infisical-token: ${{ secrets.INFISICAL_ELYSIUM_EDGE_READ_TOKEN }}
|
||||
# infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }}
|
||||
# secret-envs: edge
|
||||
# secret-paths: /kubernetes
|
||||
- name: Get usw-mc deployment kubeconfig
|
||||
uses: https://forgejo.dunemask.dev/elysium/elysium-actions@infisical-env
|
||||
with:
|
||||
infisical-token: ${{ secrets.INFISICAL_ELYSIUM_EDGE_READ_TOKEN }}
|
||||
infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }}
|
||||
secret-envs: edge
|
||||
secret-paths: /kubernetes/usw-mc
|
||||
# Setup Oasis
|
||||
- name: Oasis Setup
|
||||
uses: https://forgejo.dunemask.dev/elysium/elysium-actions@oasis-setup-auto
|
||||
|
@ -31,8 +31,8 @@ jobs:
|
|||
- name: Deploy to Edge env
|
||||
run: garden deploy $GARDEN_DEPLOY_ACTION --force --force-build --env usw-edge
|
||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
||||
# env: # (Used when cluster does not match the edge environment)
|
||||
# MCL_KUBECONFIG: ${{ env.KUBERNETES_CONFIG_USW_MC }}
|
||||
env: # (Used when cluster does not match the edge environment)
|
||||
MCL_KUBECONFIG: ${{ env.KUBERNETES_CONFIG_USW_MC }}
|
||||
# Alert via Discord
|
||||
- name: Discord Alert
|
||||
if: always()
|
||||
|
@ -41,4 +41,4 @@ jobs:
|
|||
status: ${{ job.status }}
|
||||
channel: deployments
|
||||
header: DEPLOY MC
|
||||
additional-content: "Minecluster Server Manager Deployment"
|
||||
additional-content: "Minecluster Server Manager Deployment"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue