debug workflow (#40)
Some checks failed
Create Weekly Analytics Stats / run-analytics (push) Failing after 7s

Co-authored-by: gitea-actions[bot] <actions@users.noreply.local>
Reviewed-on: #40
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
This commit is contained in:
2025-08-08 14:01:24 +00:00
committed by Tino Schreiber
parent 77b10c9729
commit 17cd4cac60
4 changed files with 27 additions and 4 deletions

View File

@ -31,8 +31,7 @@ jobs:
UMAMI_USERNAME: ${{ secrets.UMAMI_USERNAME }} UMAMI_USERNAME: ${{ secrets.UMAMI_USERNAME }}
UMAMI_PASSWORD: ${{ secrets.UMAMI_PASSWORD }} UMAMI_PASSWORD: ${{ secrets.UMAMI_PASSWORD }}
run: | run: |
chmod +x ./tools/collect_statistics.py python ./tools/collect_statistics.py \
./tools/collect_statistics.py \
--website-id "${{ secrets.UMAMI_WEBSITE_ID }}" \ --website-id "${{ secrets.UMAMI_WEBSITE_ID }}" \
--cloud-environment "eu_de" \ --cloud-environment "eu_de" \
--environment "public" \ --environment "public" \
@ -43,7 +42,7 @@ jobs:
UMAMI_USERNAME: ${{ secrets.UMAMI_USERNAME }} UMAMI_USERNAME: ${{ secrets.UMAMI_USERNAME }}
UMAMI_PASSWORD: ${{ secrets.UMAMI_PASSWORD }} UMAMI_PASSWORD: ${{ secrets.UMAMI_PASSWORD }}
run: | run: |
./tools/collect_statistics.py \ python ./tools/collect_statistics.py \
--website-id "${{ secrets.UMAMI_WEBSITE_ID }}" \ --website-id "${{ secrets.UMAMI_WEBSITE_ID }}" \
--cloud-environment "swiss" \ --cloud-environment "swiss" \
--environment "public" \ --environment "public" \

View File

@ -0,0 +1,12 @@
[
"evs",
"ims",
"ecs",
"cce",
"obs",
"rds",
"sfs",
"iam",
"config",
"elb"
]

View File

@ -0,0 +1,12 @@
[
"evs",
"ims",
"ecs",
"cce",
"obs",
"rds",
"iam",
"elb",
"cbr",
"vpn"
]

2
tools/collect_statistics.py Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python3
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.