Compare commits
22 Commits
argoworkfl
...
argo-workf
Author | SHA1 | Date | |
---|---|---|---|
e62cc94607 | |||
f9d73ec304 | |||
90460d78f2 | |||
31868e928b | |||
8a75354fec | |||
b449e20d0e | |||
fc94078c80 | |||
944ee22cc7 | |||
d5dc7d91e6 | |||
a13187a87d | |||
b66a5fd19f | |||
80ce5e1d2d | |||
fdf79aed50 | |||
bf8dc5045f | |||
972026ede3 | |||
272c201aa4 | |||
7ed39517e7 | |||
3ec81ae920 | |||
358d5712cf | |||
2c56cd6a2b | |||
5155356aa0 | |||
c2af6c6ca8 |
@ -71,7 +71,7 @@ spec:
|
||||
- name: REPO_URL
|
||||
value: https://gitea.marcin00.pl/pikram/user-microservice.git
|
||||
- name: REPO_BRANCH
|
||||
value: argoworkflow-fluxcd
|
||||
value: argo-workflows
|
||||
args:
|
||||
- |
|
||||
git clone --depth 1 --branch "${REPO_BRANCH}" --single-branch "${REPO_URL}" repo
|
||||
@ -139,7 +139,7 @@ spec:
|
||||
- name: DEPLOY_REPO_URL
|
||||
value: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
|
||||
- name: DEPLOY_REPO_BRANCH
|
||||
value: argoworkflow-fluxcd
|
||||
value: argo-deploy
|
||||
- name: CI_COMMIT_SHA
|
||||
value: "{{inputs.parameters.git-sha}}"
|
||||
args:
|
||||
@ -152,7 +152,7 @@ spec:
|
||||
git config --global user.name "argo[bot]"
|
||||
git config --global user.email "argo@marcin00.pl"
|
||||
git clone --depth 1 --branch $DEPLOY_REPO_BRANCH --single-branch $DEPLOY_REPO_URL repo
|
||||
cd repo/apps/user-microservice
|
||||
cd repo
|
||||
awk -v commit="$CI_COMMIT_SHA" '
|
||||
$0 ~ /name:[[:space:]]*api/ { in_api_container = 1; print; next }
|
||||
in_api_container && $0 ~ /^[[:space:]]*image:[[:space:]]*/ {
|
||||
|
@ -1 +1 @@
|
||||
1754166304
|
||||
1754148549
|
||||
|
Reference in New Issue
Block a user