From 4fa0a84215657f0376ec1127f98e175028febc73 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Thu, 7 Aug 2025 20:12:03 +0200 Subject: [PATCH] temp test ci --- .forgejo/workflows/ci.yaml | 12 ++++++++++++ machines/operator/test12/default.nix | 6 ------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 5015d407..2ba4267d 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -21,6 +21,18 @@ jobs: - uses: actions/checkout@v4 - run: nix-shell --run 'nix-unit ./deployment/data-model-test.nix' + - run: attic login fediversity https://attic.fediversity.net ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo + + - name: Set up SSH key to access age secrets + run: | + env + mkdir -p ~/.ssh + echo "${{ secrets.CD_SSH_KEY }}" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + + - name: Cache + - run: attic push demo $(nix-build) + check-mastodon: runs-on: native steps: diff --git a/machines/operator/test12/default.nix b/machines/operator/test12/default.nix index 87bfbf64..8f2d345f 100644 --- a/machines/operator/test12/default.nix +++ b/machines/operator/test12/default.nix @@ -19,10 +19,4 @@ gateway = "2a00:51c0:13:1305::1"; }; }; - - nixos.module = { - imports = [ - ../../../services/fediversity/attic - ]; - }; }