1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-19 18:06:17 +00:00

example: container

This commit is contained in:
Earl Warren 2023-05-29 16:07:00 +02:00
parent cdd9a76852
commit a69ecf9f35
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 9 additions and 1 deletions

View file

@ -18,7 +18,7 @@ jobs:
# #
./forgejo-runner.sh setup ./forgejo-runner.sh setup
export FORGEJO_RUNNER_LOGS=forgejo-runner.log export FORGEJO_RUNNER_LOGS=forgejo-runner.log
for example in echo ; do for example in echo container ; do
echo "============================ example-$example ===================" echo "============================ example-$example ==================="
./forgejo-test-helper.sh run_workflow testdata/example-$example http://root:admin1234@$(cat forgejo-ip):3000 root example-$example setup-forgejo $(cat forgejo-token) ./forgejo-test-helper.sh run_workflow testdata/example-$example http://root:admin1234@$(cat forgejo-ip):3000 root example-$example setup-forgejo $(cat forgejo-token)
done done

View file

@ -0,0 +1,8 @@
on: [push]
jobs:
test:
runs-on: ubuntu-latest
container:
image: alpine:3.18
steps:
- run: grep Alpine /etc/os-release