smoke: runner trigger #1

Closed
mozart wants to merge 3 commits from smoke-runner into master
3 changed files with 4 additions and 2 deletions
Showing only changes of commit f42469e225 - Show all commits

View File

@@ -10,6 +10,8 @@ jobs:
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
fetch-depth: 0 # need full history for `git diff base...HEAD`
# 1. Identify which recipes the PR touches. # 1. Identify which recipes the PR touches.
- name: detect changed packages - name: detect changed packages

View File

@@ -3,7 +3,6 @@
# is built reproducibly from runner/flake.nix — run `nix run .#load-image` # is built reproducibly from runner/flake.nix — run `nix run .#load-image`
# in this directory to load it into the host's Docker daemon before # in this directory to load it into the host's Docker daemon before
# starting the runner. # starting the runner.
version: "3.8"
services: services:
runner: runner:
image: docker.io/gitea/act_runner:nightly image: docker.io/gitea/act_runner:nightly

View File

@@ -42,6 +42,7 @@
curl curl
jq jq
tea tea
nodejs_20 # JS-based actions/checkout@v4 etc. need `node` on PATH
cacert cacert
iana-etc iana-etc
@@ -50,7 +51,7 @@
# Skeleton filesystem layout: /tmp, /etc/passwd for nix, # Skeleton filesystem layout: /tmp, /etc/passwd for nix,
# writable nix store, cacert pointer. # writable nix store, cacert pointer.
extraCommands = '' extraCommands = ''
mkdir -p tmp etc nix/var/{nix,log/nix} root mkdir -p tmp etc/nix nix/var/{nix,log/nix} root
chmod 1777 tmp chmod 1777 tmp
cat > etc/passwd <<'EOF' cat > etc/passwd <<'EOF'