Generate github action jobs for integration tests

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2023-01-05 16:09:42 +01:00 committed by Juan Font
parent 91c1f54b49
commit 7274fdacc6
23 changed files with 1034 additions and 18 deletions

View file

@ -45,23 +45,6 @@ jobs:
- name: Run general integration tests
if: steps.changed-files.outputs.any_changed == 'true'
<<<<<<< HEAD:integration/github_ci_jobs.go
run: >
nix develop --command --
docker run
--tty --rm
--volume ~/.cache/hs-integration-go:/go
--name headscale-test-suite
--volume $$PWD:$$PWD -w $$PWD/integration
--volume /var/run/docker.sock:/var/run/docker.sock
golang:1
go test ./...
-tags ts2019
-failfast
-timeout 120m
-parallel 1
-run {{.Name}}
=======
run: |
nix develop --command -- docker run \
--tty --rm \
@ -76,7 +59,6 @@ jobs:
-timeout 120m \
-parallel 1 \
-run {{.Name}}
>>>>>>> dd5c2cd (move):cmd/gh-action-integration-generator/main.go
`))
)