diff --git a/.github/workflows/kairos-update.yaml b/.github/workflows/kairos-update.yaml index 1a2d71d4..e932d560 100644 --- a/.github/workflows/kairos-update.yaml +++ b/.github/workflows/kairos-update.yaml @@ -27,31 +27,6 @@ jobs: - name: test flake ci run: nix develop --command task kubernetes:ci-kairos-update - # - uses: workflow/nix-shell-action@v3 - # id: update - # with: - # packages: regctl - # script: | - # kairos_image_tag=$(regctl tag ls quay.io/kairos/opensuse \ - # --include 'leap-\d+.\d+-standard-amd64-generic.*' \ - # --exclude '.*(master|alpha|beta|rc).*' \ - # | tail -1) - - # replacement_pattern='s|version: "[^"]*"|version: "'"$kairos_image_tag"'"|g' - - # sed -i "$replacement_pattern" ./kubernetes/home-lab/apps/system-upgrade/system-upgrade-controller/plans/amd.yaml - - # # outputs - # leap_version="$(cut -d'-' -f2 <<< $kairos_image_tag)" - # echo "opensuse_url=https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/$leap_version/" >> $GITHUB_OUTPUT - - # kairos_version="$(cut -d'-' -f6 <<< $kairos_image_tag)" - # echo "kairos_url=https://github.com/kairos-io/kairos/releases/tag/$kairos_version" >> $GITHUB_OUTPUT - - # k3s_version="$(cut -d'-' -f7 <<< $kairos_image_tag)" - # k3s_version=${k3s_version:3} - # echo "k3s_url=https://github.com/k3s-io/k3s/releases/tag/$k3s_version+k3s1" >> $GITHUB_OUTPUT - - name: Create Pull Request uses: peter-evans/create-pull-request@v7 with: diff --git a/.github/workflows/test-flake-ci.yaml b/.github/workflows/test-flake-ci.yaml deleted file mode 100644 index 05d42c78..00000000 --- a/.github/workflows/test-flake-ci.yaml +++ /dev/null @@ -1,21 +0,0 @@ -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 - - - name: test flake ci - run: nix develop --command task kubernetes:test123 \ No newline at end of file