7 Commits

2 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
when:
- event: push
- event: [push, manual]
branch: woodpecker
steps:
@ -33,7 +33,8 @@ steps:
- name: gitops-commit
image: alpine/git
environment:
DEPLOY_REPO: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
DEPLOY_REPO_URL: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
DEPLOY_REPO_BRANCH: woodpecker-fluxcd-deploy
GITEA_DEPLOY_KEY:
from_secret: gitea-deploy-key
GITEA_KNOWN_HOST:
@ -50,8 +51,8 @@ steps:
- git config --global user.name "woodpecker[bot]"
- git config --global user.email "woodpecker@marcin00.pl"
- git clone $DEPLOY_REPO --branch woodpecker-deploy
- cd user-microservice-deploy
- git clone $DEPLOY_REPO_URL --branch $DEPLOY_REPO_BRANCH
- cd user-microservice-deploy/apps/user-microservice
- |
awk -v commit="$CI_COMMIT_SHA" '
@ -67,4 +68,4 @@ steps:
- git add deploy.yaml
- 'git diff-index --quiet HEAD || git commit -m "WOODPECKER: Changed deployed version to $CI_COMMIT_SHA"'
- git push origin woodpecker-deploy
- git push origin $DEPLOY_REPO_BRANCH

View File

@ -1 +1 @@
1753539316
1753625345