Compare commits
22 Commits
argoworkfl
...
argoworkfl
Author | SHA1 | Date | |
---|---|---|---|
a09f4cfac6 | |||
180ac99472 | |||
21ecb33115 | |||
94246cef76 | |||
ba85e36d00 | |||
66801f88fd | |||
381de6eb4c | |||
4aca89c574 | |||
1c784f564d | |||
9ff70abd82 | |||
87723301ea | |||
25f4b9bb53 | |||
2079b73acc | |||
b6f0bea373 | |||
6da24ca2eb | |||
f0aa20ba2a | |||
0037a703ab | |||
51d61b129b | |||
4601756e17 | |||
1bcf7034a6 | |||
2ff0ac0c76 | |||
acbae4aa41 |
@ -71,7 +71,7 @@ spec:
|
||||
- name: REPO_URL
|
||||
value: https://gitea.marcin00.pl/pikram/user-microservice.git
|
||||
- name: REPO_BRANCH
|
||||
value: argo-workflows
|
||||
value: argoworkflow-fluxcd
|
||||
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: argo-deploy
|
||||
value: argoworkflow-fluxcd
|
||||
- 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
|
||||
cd repo/apps/user-microservice
|
||||
awk -v commit="$CI_COMMIT_SHA" '
|
||||
$0 ~ /name:[[:space:]]*api/ { in_api_container = 1; print; next }
|
||||
in_api_container && $0 ~ /^[[:space:]]*image:[[:space:]]*/ {
|
||||
|
1
version_marker.txt
Normal file
1
version_marker.txt
Normal file
@ -0,0 +1 @@
|
||||
1754166304
|
Reference in New Issue
Block a user