No description
action.yml | ||
README.md |
Elysium Actions
About
The actions are used by Elysium to run CI/CD tasks and this repo will be archived once Gitea supports private actions (See issue Here)
Actions
The actions available are:
Workflow Template
The example below demonstrates how to use the oasis-deploy action.
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 }}
GARDEN_DEPLOY_ACTION: nile
jobs:
deploy-edge:
steps:
- name: Oasis Setup
uses: https://gitea.dunemask.dev/elysium/elysium-actions@oasis-deploy
with:
gitea-token: ${{ env.GITEA_TOKEN }}
kubeconfig: ${{ env.KUBECONFIG_BASE64 }}
- name: Deploy to Edge env
run: garden deploy $GARDEN_DEPLOY_ACTION --force --force-build --env usw-edge
working-directory: ${{ env.OASIS_WORKSPACE }}