chore: pin unified deployment manifests
This commit is contained in:
1 parent
6656484e4b
commit
30a224e9ac
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -58,8 +58,8 @@ deploy:
|
|||||||
--from-literal=POSTGRES_PASSWORD="$POSTGRES_PASSWORD"
|
--from-literal=POSTGRES_PASSWORD="$POSTGRES_PASSWORD"
|
||||||
--from-literal=BELKI_ADMIN_PASSWORD="$BELKI_ADMIN_PASSWORD"
|
--from-literal=BELKI_ADMIN_PASSWORD="$BELKI_ADMIN_PASSWORD"
|
||||||
--dry-run=client -o yaml | kubectl apply -f -
|
--dry-run=client -o yaml | kubectl apply -f -
|
||||||
- sed "s#reg.nyan404.ru/cwshed-clone/belki:6b74dfa#$DOCKER_IMAGE_REPOSITORY:$CI_COMMIT_SHORT_SHA#g" deploy/k8s/production.yaml | kubectl apply -f -
|
- sed -E "s#(image: reg.nyan404.ru/cwshed-clone/belki:)[^[:space:]]+#\\1$DOCKER_IMAGE_REPOSITORY:$CI_COMMIT_SHORT_SHA#g" deploy/k8s/production.yaml | kubectl apply -f -
|
||||||
- sed "s#reg.nyan404.ru/cwshed:6b74dfa#$GATEWAY_IMAGE_REPOSITORY:$CI_COMMIT_SHORT_SHA#g" deploy/k8s/gateway.yaml | kubectl apply -f -
|
- sed -E "s#(image: reg.nyan404.ru/cwshed:)[^[:space:]]+#\\1$GATEWAY_IMAGE_REPOSITORY:$CI_COMMIT_SHORT_SHA#g" deploy/k8s/gateway.yaml | kubectl apply -f -
|
||||||
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-postgres --timeout=180s
|
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-postgres --timeout=180s
|
||||||
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-web --timeout=180s
|
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-web --timeout=180s
|
||||||
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-bot --timeout=180s
|
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-bot --timeout=180s
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
- name: reg-nyan404
|
- name: reg-nyan404
|
||||||
containers:
|
containers:
|
||||||
- name: cwshed
|
- name: cwshed
|
||||||
image: reg.nyan404.ru/cwshed:6b74dfa
|
image: reg.nyan404.ru/cwshed:6656484
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ spec:
|
|||||||
- name: reg-nyan404
|
- name: reg-nyan404
|
||||||
containers:
|
containers:
|
||||||
- name: web
|
- name: web
|
||||||
image: reg.nyan404.ru/cwshed-clone/belki:6b74dfa
|
image: reg.nyan404.ru/cwshed-clone/belki:6656484
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["python", "-m", "app.main"]
|
command: ["python", "-m", "app.main"]
|
||||||
ports:
|
ports:
|
||||||
@@ -174,7 +174,7 @@ spec:
|
|||||||
- name: reg-nyan404
|
- name: reg-nyan404
|
||||||
containers:
|
containers:
|
||||||
- name: bot
|
- name: bot
|
||||||
image: reg.nyan404.ru/cwshed-clone/belki:6b74dfa
|
image: reg.nyan404.ru/cwshed-clone/belki:6656484
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["python", "-m", "app.belki.vk_bot"]
|
command: ["python", "-m", "app.belki.vk_bot"]
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user