From ce82ae16b9a7d4c1751500a1cf0fec460cec7ba0 Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Tue, 10 Dec 2024 15:42:50 +0200 Subject: [PATCH] TMP --- .github/workflows/ci.yml | 4 ++++ nixos-modules/qois/git-ci-runner/default.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67fabec..d2da305 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,10 @@ jobs: - name: Add submodules to nix store to circumvent another nix bug run: | + cat /etc/hosts + curl -v https://heise.de + curl -v https://fh2.ch + curl -v https://git.qo.is git clone https://git.qo.is/qo.is/infrastructure-private.git /tmp/private cd /tmp/private nix flake prefetch diff --git a/nixos-modules/qois/git-ci-runner/default.nix b/nixos-modules/qois/git-ci-runner/default.nix index 6a8bb6c..a1218b8 100644 --- a/nixos-modules/qois/git-ci-runner/default.nix +++ b/nixos-modules/qois/git-ci-runner/default.nix @@ -110,6 +110,8 @@ with lib; rpc: files NSSWITCH + cp -f ${config.environment.etc.hosts.source} hosts + # list the content as it will be imported into the container tar -cv . | tar -tvf - tar -cv . | podman import - gitea-runner-nix