FIX env var
All checks were successful
dev test / test (push) Successful in 19s
dev test / vulnCheck (push) Successful in 27s
dev test / Ci-Lint (push) Successful in 43s
${{ github.actor }} executed Build Push Prod / build (push) Successful in 4m21s
${{ github.actor }} executed Build Push Prod / deploy (push) Successful in 23s
All checks were successful
dev test / test (push) Successful in 19s
dev test / vulnCheck (push) Successful in 27s
dev test / Ci-Lint (push) Successful in 43s
${{ github.actor }} executed Build Push Prod / build (push) Successful in 4m21s
${{ github.actor }} executed Build Push Prod / deploy (push) Successful in 23s
This commit is contained in:
parent
e11aa044a0
commit
3e471eeead
6
.github/workflows/image_creation.yml
vendored
6
.github/workflows/image_creation.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
|||||||
USERNAME: ${{ vars.USERNAME }}
|
USERNAME: ${{ vars.USERNAME }}
|
||||||
TAG_VERSION: ${{ github.ref_name }}
|
TAG_VERSION: ${{ github.ref_name }}
|
||||||
NATS_SERVICE_URL: "${{ vars.NATS_SERVICE_URL }}"
|
NATS_SERVICE_URL: "${{ vars.NATS_SERVICE_URL }}"
|
||||||
ENV: "production"
|
ENV: "${{ vars.ENVIRONMENT }}"
|
||||||
APPLICATION_PORT: "${{ vars.APPLICATION_PORT }}"
|
APPLICATION_PORT: "${{ vars.APPLICATION_PORT }}"
|
||||||
DATA_SOURCE_URL: "${{ vars.DATA_SOURCE_URL }}"
|
DATA_SOURCE_URL: "${{ vars.DATA_SOURCE_URL }}"
|
||||||
steps:
|
steps:
|
||||||
@ -99,7 +99,7 @@ jobs:
|
|||||||
|
|
||||||
- name: scale down deployment
|
- name: scale down deployment
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: kubectl scale deployment ${{ steps.repo-url.outputs.repoName }}-grpc --replicas=0
|
run: kubectl scale deployment ${{ steps.repo-url.outputs.repoName }} --replicas=0
|
||||||
|
|
||||||
- name: scale up deployment
|
- name: scale up deployment
|
||||||
run: kubectl scale deployment ${{ steps.repo-url.outputs.repoName }}-grpc --replicas=1
|
run: kubectl scale deployment ${{ steps.repo-url.outputs.repoName }} --replicas=1
|
||||||
|
|||||||
@ -20,7 +20,7 @@ spec:
|
|||||||
image: $IMAGE
|
image: $IMAGE
|
||||||
env:
|
env:
|
||||||
- name: ENV
|
- name: ENV
|
||||||
value: "$ENVIRONMET"
|
value: "$ENVIRONMENT"
|
||||||
- name: NATS_SERVICE_URL
|
- name: NATS_SERVICE_URL
|
||||||
value: "$NATS_SERVICE_URL"
|
value: "$NATS_SERVICE_URL"
|
||||||
- name: DATA_SOURCE_URL
|
- name: DATA_SOURCE_URL
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user