Merge pull request 'feat: actions: verify that container.options --hostname is valid' (#505) from earl-warren/end-to-end:wip-options-hostname into main

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/505
This commit is contained in:
earl-warren 2025-01-22 23:13:07 +00:00
commit 6717b76117
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
2 changed files with 5 additions and 0 deletions

View file

@ -3,6 +3,8 @@ on: [push]
jobs: jobs:
test: test:
runs-on: docker runs-on: docker
container:
options: "--hostname customname"
steps: steps:
- run: | - run: |
test -f /srv/example-config-options-volume-valid test -f /srv/example-config-options-volume-valid
@ -10,3 +12,5 @@ jobs:
! test -f /srv/example-config-options-volume-invalid ! test -f /srv/example-config-options-volume-invalid
- run: | - run: |
test "$FROB" = "NITZ" test "$FROB" = "NITZ"
- run: |
test "$(cat /etc/hostname)" = customname

View file

@ -1,6 +1,7 @@
log: log:
level: debug level: debug
job_level: debug
runner: runner:
file: .runner file: .runner