-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: flake with nix os qcow generation
chore: dev shell
- Loading branch information
1 parent
a665502
commit 75c7b0a
Showing
141 changed files
with
4,033 additions
and
6,452 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
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,6 @@ | ||
#!/usr/bin/env sh | ||
|
||
use flake . | ||
watch_file flake.nix | ||
|
||
# vim: ft=sh |
This file was deleted.
Oops, something went wrong.
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,46 @@ | ||
name: Release Packer image | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'playbook/**.yml' | ||
- '!**.md' | ||
- '!playbook/roles/paas/molecule/**' | ||
- 'packer/**' | ||
- .github/workflows/release-packer.yml | ||
|
||
permissions: | ||
contents: write | ||
discussions: write | ||
|
||
jobs: | ||
gh-release-packer: | ||
runs-on: ubuntu-latest | ||
name: Run Packer | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: cachix/install-nix-action@v25 | ||
with: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set outputs | ||
id: vars | ||
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | ||
|
||
- name: Build | ||
id: build | ||
run: nix build .#nixosConfigurations.aarch64-darwin.default | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: nixos-k3s-paas-${{ steps.vars.outputs.sha_short }} | ||
token: "${{ secrets.GITHUB_TOKEN }}" | ||
generate_release_notes: true | ||
files: | | ||
result/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.