Compare commits
20 Commits
argoworkfl
...
argoworkfl
Author | SHA1 | Date | |
---|---|---|---|
6966df2868 | |||
d33e107efb | |||
de360b10cc | |||
e558baa265 | |||
e8361548ff | |||
c75e7de053 | |||
157c451ba4 | |||
4930bbe45c | |||
c0469ca0c2 | |||
77551add1e | |||
9e4c747df5 | |||
f28d9dd27f | |||
4224a6be73 | |||
f69be74a45 | |||
d3908d8d66 | |||
43c168aaf2 | |||
fa6a653e73 | |||
be606b6134 | |||
2c3774ba09 | |||
e623daad67 |
@ -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
|
||||
1754157020
|
||||
|
Reference in New Issue
Block a user