parent
bcf390e8a7
commit
d913e01713
2 changed files with 14 additions and 0 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -10,6 +10,14 @@ jobs:
|
|||
build:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- name: Debug
|
||||
run: |
|
||||
cat /etc/hosts
|
||||
nix run nixpkgs#curl -v https://heise.de
|
||||
nix run nixpkgs#curl -v https://fh2.ch
|
||||
nix run nixpkgs#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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue