Skip to content

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

License

Notifications You must be signed in to change notification settings

Getdeck/getdeck-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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 Getdeck

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: Getdeck/getdeck-action@main
      name: Create Infrastructure from Deckfile
      with:
        deck-file-path: <Path to a Deckfile (Github repository with a Deckfile in a root directory)>
        wait: true
        timeout: "120"

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages