Disable step trigger gitops'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
d49b236a3b
commit
62bc7437c2
@ -44,23 +44,24 @@ steps:
|
|||||||
git commit -m "ci: update status-api tag to $TAG" || echo "No changes"
|
git commit -m "ci: update status-api tag to $TAG" || echo "No changes"
|
||||||
git push origin HEAD
|
git push origin HEAD
|
||||||
|
|
||||||
trigger-gitops:
|
|
||||||
name: Trigger apps-gitops via Git push
|
# trigger-gitops:
|
||||||
image: alpine/git
|
# name: Trigger apps-gitops via Git push
|
||||||
when:
|
# image: alpine/git
|
||||||
branch: [ master, develop ]
|
# when:
|
||||||
event: [ push ]
|
# branch: [ master, develop ]
|
||||||
environment:
|
# event: [ push ]
|
||||||
GIT_USERNAME:
|
# environment:
|
||||||
from_secret: GIT_USERNAME
|
# GIT_USERNAME:
|
||||||
GIT_TOKEN:
|
# from_secret: GIT_USERNAME
|
||||||
from_secret: GIT_TOKEN
|
# GIT_TOKEN:
|
||||||
commands:
|
# from_secret: GIT_TOKEN
|
||||||
- git config --global user.name "woodpecker-bot"
|
# commands:
|
||||||
- git config --global user.email "ci@dvirlabs.com"
|
# - git config --global user.name "woodpecker-bot"
|
||||||
- git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/apps-gitops.git"
|
# - git config --global user.email "ci@dvirlabs.com"
|
||||||
- cd apps-gitops
|
# - git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/apps-gitops.git"
|
||||||
- echo "# trigger at $(date) by gitops-status-api" >> .trigger
|
# - cd apps-gitops
|
||||||
- git add .trigger
|
# - echo "# trigger at $(date) by gitops-status-api" >> .trigger
|
||||||
- git commit -m "ci: trigger apps-gitops build (gitops-status-api)" || echo "no changes"
|
# - git add .trigger
|
||||||
- git push origin HEAD
|
# - git commit -m "ci: trigger apps-gitops build (gitops-status-api)" || echo "no changes"
|
||||||
|
# - git push origin HEAD
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user