1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Add GitHub Action for Flux CLI

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2020-11-23 17:58:06 +02:00
parent 050ba951b0
commit aa8dced7ad
4 changed files with 86 additions and 0 deletions

25
action/README.md Normal file
View File

@@ -0,0 +1,25 @@
# Flux GitHub Action
Example workflow:
```yaml
name: e2e
on:
push:
branches:
- '*'
jobs:
kubernetes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Flux CLI
uses: fluxcd/flux2/action@main
- name: Setup Kubernetes Kind
uses: engineerd/setup-kind@v0.5.0
- name: Install Flux in Kubernetes Kind
run: flux install
```