CI: Runner-Test (public + intern)
This commit is contained in:
1 file changed
+21
@@ -0,0 +1,21 @@
|
|||||||
|
# Test der CI-Runner auf rsclub22-ci-pve01 (02.11.2026).
|
||||||
|
# "public": irgendein Runner mit ubuntu-latest (ci-public instanzweit oder ci-intern).
|
||||||
|
# "intern": nur Runner mit Label intern (ci-intern) – muss dc01 auflösen und erreichen.
|
||||||
|
name: runner-test
|
||||||
|
on: [push, workflow_dispatch]
|
||||||
|
jobs:
|
||||||
|
public:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
echo "Runner: ${{ runner.name }}"
|
||||||
|
head -2 /etc/os-release
|
||||||
|
curl -sI https://github.com | head -1
|
||||||
|
getent hosts dc01.wagnersnetz.local && echo "dc01 auflösbar (Job lief intern)" || echo "dc01 nicht auflösbar (Job lief auf ci-public)"
|
||||||
|
intern:
|
||||||
|
runs-on: [ubuntu-latest, intern]
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
echo "Runner: ${{ runner.name }}"
|
||||||
|
getent hosts dc01.wagnersnetz.local
|
||||||
|
timeout 5 bash -c '</dev/tcp/192.168.8.140/53' && echo "dc01:53 erreichbar"
|
||||||
Reference in new issue
Block a user