Fix uptime kuma to prometheus
This commit is contained in:
commit
0b731fcded
@ -1,21 +1,21 @@
|
|||||||
steps:
|
# steps:
|
||||||
trigger-gitops-via-push:
|
# trigger-gitops-via-push:
|
||||||
when:
|
# when:
|
||||||
event: [push, pull_request, tag]
|
# event: [push, pull_request, tag]
|
||||||
branch: [master]
|
# branch: [master]
|
||||||
name: Trigger apps-gitops via Git push
|
# name: Trigger apps-gitops via Git push
|
||||||
image: alpine/git
|
# image: alpine/git
|
||||||
environment:
|
# environment:
|
||||||
GIT_USERNAME:
|
# GIT_USERNAME:
|
||||||
from_secret: GIT_USERNAME
|
# from_secret: GIT_USERNAME
|
||||||
GIT_TOKEN:
|
# GIT_TOKEN:
|
||||||
from_secret: GIT_TOKEN
|
# from_secret: GIT_TOKEN
|
||||||
commands: |
|
# commands: |
|
||||||
git config --global user.name "woodpecker-bot"
|
# git config --global user.name "woodpecker-bot"
|
||||||
git config --global user.email "ci@dvirlabs.com"
|
# git config --global user.email "ci@dvirlabs.com"
|
||||||
git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/apps-gitops.git"
|
# git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/apps-gitops.git"
|
||||||
cd apps-gitops
|
# cd apps-gitops
|
||||||
echo "# trigger at $(date) by $${CI_REPO_NAME}" >> .trigger
|
# echo "# trigger at $(date) by $${CI_REPO_NAME}" >> .trigger
|
||||||
git add .trigger
|
# git add .trigger
|
||||||
git commit -m "ci: trigger apps-gitops build" || echo "no changes"
|
# git commit -m "ci: trigger apps-gitops build" || echo "no changes"
|
||||||
git push origin HEAD
|
# git push origin HEAD
|
||||||
@ -13,6 +13,7 @@ stringData:
|
|||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- harbor-core.dev-tools.svc.cluster.local:8001
|
- harbor-core.dev-tools.svc.cluster.local:8001
|
||||||
|
|
||||||
- job_name: gitea
|
- job_name: gitea
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
@ -28,4 +29,4 @@ stringData:
|
|||||||
- https://kuma.dvirlabs.com
|
- https://kuma.dvirlabs.com
|
||||||
basic_auth:
|
basic_auth:
|
||||||
username: dvirlabs
|
username: dvirlabs
|
||||||
password: dvir4210200Ho
|
password: dvir4210200Ho
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user