summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/deploy.yaml46
-rw-r--r--justfile2
2 files changed, 24 insertions, 24 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index a1da783..72f4c7a 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -49,35 +49,35 @@ jobs:
nix develop --accept-flake-config \
--command just deploy-all
- opentofu:
- name: Apply OpenTofu plan
- needs: nixos
+ #opentofu:
+ # name: Apply OpenTofu plan
+ # needs: nixos
- runs-on: ubuntu-latest
+ # runs-on: ubuntu-latest
- concurrency:
- group: tofu
- cancel-in-progress: true
+ # concurrency:
+ # group: tofu
+ # cancel-in-progress: true
- steps:
- - uses: actions/checkout@v4
+ # steps:
+ # - uses: actions/checkout@v4
- - name: Install Nix
- uses: DeterminateSystems/nix-installer-action@v9
+ # - name: Install Nix
+ # uses: DeterminateSystems/nix-installer-action@v9
- - name: Setup local Nix cache
- uses: DeterminateSystems/magic-nix-cache-action@v2
+ # - name: Setup local Nix cache
+ # uses: DeterminateSystems/magic-nix-cache-action@v2
- - name: Setup OpenTofu
- uses: opentofu/setup-opentofu@v1
- with:
- cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
+ # - name: Setup OpenTofu
+ # uses: opentofu/setup-opentofu@v1
+ # with:
+ # cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
- - name: Setup OpenTofu cache
- uses: terraform-cache/terraform-cache@v1
+ # - name: Setup OpenTofu cache
+ # uses: terraform-cache/terraform-cache@v1
- - name: Run plan
- run: nix run .#plan
+ # - name: Run plan
+ # run: nix run .#plan
- - name: Apply
- run: tofu apply -auto-approve
+ # - name: Apply
+ # run: tofu apply -auto-approve
diff --git a/justfile b/justfile
index ee5543c..b413537 100644
--- a/justfile
+++ b/justfile
@@ -38,7 +38,7 @@ deploy-all:
nix eval \
--json ".#apps.x86_64-linux" \
--apply builtins.attrNames \
- | jq -c '.[]' | grep -v "dry-run" \
+ | jq -c '.[]' | grep -v -E "dry-run|apply|destroy|tofu-config|plan" \
| while read -r c; do nix run ".#$c"; done
[linux]