No description
Find a file
2024-08-25 16:36:30 -06:00
action.yml [CHORE] Adjust Actions 2024-08-25 16:36:30 -06:00
README.md Update README.md 2024-02-13 23:32:53 +00:00

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 }}