-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd42b04
commit 6d3a26a
Showing
4 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "Flake CI Test" | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Nix | ||
uses: cachix/install-nix-action@v30 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-unstable | ||
|
||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
|
||
- uses: nix develop --command task kubernetes:test123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
version: '3' | ||
|
||
tasks: | ||
test123: | ||
desc: plz work | ||
cmds: | ||
- echo HELLO WORLD | ||
|
||
test456: | ||
desc: test var | ||
vars: | ||
GIT_COMMIT: | ||
sh: > | ||
regctl tag ls quay.io/kairos/opensuse \ | ||
--include 'leap-\d+.\d+-standard-amd64-generic.*' \ | ||
--exclude '.*(master|alpha|beta|rc).*' \ | ||
| tail -1 | ||
cmd: > | ||
echo {{.GIT_COMMIT}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
jq | ||
yq | ||
watch | ||
regctl | ||
]; | ||
}; | ||
}); | ||
|