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 push origin HEAD
|
||||
|
||||
trigger-gitops:
|
||||
name: Trigger apps-gitops via Git push
|
||||
image: alpine/git
|
||||
when:
|
||||
branch: [ master, develop ]
|
||||
event: [ push ]
|
||||
environment:
|
||||
GIT_USERNAME:
|
||||
from_secret: GIT_USERNAME
|
||||
GIT_TOKEN:
|
||||
from_secret: GIT_TOKEN
|
||||
commands:
|
||||
- git config --global user.name "woodpecker-bot"
|
||||
- git config --global user.email "ci@dvirlabs.com"
|
||||
- git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/apps-gitops.git"
|
||||
- cd apps-gitops
|
||||
- echo "# trigger at $(date) by gitops-status-api" >> .trigger
|
||||
- git add .trigger
|
||||
- git commit -m "ci: trigger apps-gitops build (gitops-status-api)" || echo "no changes"
|
||||
- git push origin HEAD
|
||||
|
||||
# trigger-gitops:
|
||||
# name: Trigger apps-gitops via Git push
|
||||
# image: alpine/git
|
||||
# when:
|
||||
# branch: [ master, develop ]
|
||||
# event: [ push ]
|
||||
# environment:
|
||||
# GIT_USERNAME:
|
||||
# from_secret: GIT_USERNAME
|
||||
# GIT_TOKEN:
|
||||
# from_secret: GIT_TOKEN
|
||||
# commands:
|
||||
# - git config --global user.name "woodpecker-bot"
|
||||
# - git config --global user.email "ci@dvirlabs.com"
|
||||
# - git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/apps-gitops.git"
|
||||
# - cd apps-gitops
|
||||
# - echo "# trigger at $(date) by gitops-status-api" >> .trigger
|
||||
# - git add .trigger
|
||||
# - 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