Update .gitea/workflows/deploy-edge.yml
This commit is contained in:
parent
8e4f1d8040
commit
efc928c242
2 changed files with 24 additions and 21 deletions
24
.gitea/workflows/deploy-edge.yml
Normal file
24
.gitea/workflows/deploy-edge.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Deploy Edge
|
||||
run-name: ${{ gitea.actor }} Deploy Edge
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.ELYSIUM_ORG_READ_TOKEN }}
|
||||
KUBECONFIG_BASE64: ${{ secrets.KUBECONFIG_USW_EDGE }}
|
||||
OASIS_PROD_CONFIG: ${{ secrets.OASIS_PROD_CONFIG }}
|
||||
GARDEN_DEPLOY_ACTION: khufu
|
||||
|
||||
jobs:
|
||||
deploy-edge:
|
||||
steps:
|
||||
- name: Oasis Setup
|
||||
uses: https://gitea.dunemask.net/elysium/libyan@master
|
||||
with:
|
||||
gitea-token: ${{ env.GITEA_TOKEN }}
|
||||
kubeconfig: ${{ env.KUBECONFIG_BASE64 }}
|
||||
oasis-prod-config: ${{ env. OASIS_PROD_CONFIG }}
|
||||
- name: Deploy to Edge env
|
||||
run: garden deploy $GARDEN_DEPLOY_ACTION --env usw-edge
|
||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
|
@ -1,21 +0,0 @@
|
|||
name: LIBYAN_TEST
|
||||
run-name: ${{ gitea.actor }} LITYAN_TEST
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.ELYSIUM_ORG_READ_TOKEN }}
|
||||
KUBECONFIG_BASE64: ${{ secrets.KUBECONFIG_USW_DEV }}
|
||||
jobs:
|
||||
libyan-test:
|
||||
steps:
|
||||
- name: Libyan Config
|
||||
uses: https://gitea.dunemask.net/elysium/libyan@master
|
||||
with:
|
||||
gitea-token: ${{ env.GITEA_TOKEN }}
|
||||
kubeconfig: ${{ env.KUBECONFIG_BASE64 }}
|
||||
- name: list
|
||||
run: |
|
||||
garden deploy nile --env usw-ci
|
||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
Reference in a new issue