Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

getdeck-action

A GitHub Action to run ephemeral Kubernetes clusters during workflow based on Deckfiles. Our action can take several parameters: deck-file-path, deck-name, timeout, wait.

deck-file-path - path to the Deckfile, if not specified a root path of the GitHub repository is used.

deck-name - name of the deck to run. If you have multiple decks in the Deckfile, you need to specify the name of the deck, otherwise you will encounter an error.

timeout - timeout for the Pods to become ready in seconds. If the timeout is exceeded, the run fails.

wait - wait for the Pods to become ready.

An example of an action with a specified deck-file-path, timeout and wait:

# ...name: Build kubernetes infrastructure using Getdeckon:
push:
branches: [ main ]pull_request:
branches: [ main ]jobs:
test:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v2
- uses: Getdeck/getdeck-action@mainname: Create Infrastructure from Deckfilewith:
deck-file-path: <Path to a Deckfile (Github repository with a Deckfile in a root directory)>wait: truetimeout: "120"

About

A GitHub Action to run ephemeral Kubernetes clusters during workflow based on Deckfiles.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages