parent
bcf390e8a7
commit
0572e44086
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:
|
build:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
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
|
- name: Initialize CI
|
||||||
uses: https://git.qo.is/qo.is/actions-nix-init@main
|
uses: https://git.qo.is/qo.is/actions-nix-init@main
|
||||||
with:
|
with:
|
||||||
|
@ -18,6 +26,10 @@ jobs:
|
||||||
|
|
||||||
- name: Add submodules to nix store to circumvent another nix bug
|
- name: Add submodules to nix store to circumvent another nix bug
|
||||||
run: |
|
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
|
git clone https://git.qo.is/qo.is/infrastructure-private.git /tmp/private
|
||||||
cd /tmp/private
|
cd /tmp/private
|
||||||
nix flake prefetch
|
nix flake prefetch
|
||||||
|
|
|
@ -110,6 +110,8 @@ with lib;
|
||||||
rpc: files
|
rpc: files
|
||||||
NSSWITCH
|
NSSWITCH
|
||||||
|
|
||||||
|
cp -f ${config.environment.etc.hosts.source} hosts
|
||||||
|
|
||||||
# list the content as it will be imported into the container
|
# list the content as it will be imported into the container
|
||||||
tar -cv . | tar -tvf -
|
tar -cv . | tar -tvf -
|
||||||
tar -cv . | podman import - gitea-runner-nix
|
tar -cv . | podman import - gitea-runner-nix
|
||||||
|
|
Loading…
Reference in a new issue