diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67fabec..13af740 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,14 @@ jobs: build: runs-on: nix steps: + - name: Debug + 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 + - name: Initialize CI uses: https://git.qo.is/qo.is/actions-nix-init@main with: @@ -18,6 +26,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