mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-22 19:45:43 +00:00
Add GitHub Action for Flux CLI
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
050ba951b0
commit
aa8dced7ad
4 changed files with 86 additions and 0 deletions
25
action/README.md
Normal file
25
action/README.md
Normal 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue