File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -223,14 +223,11 @@ jobs:
223223 timeout_minutes : 10
224224 max_attempts : 2
225225 command : |
226- curl -s -o playwright.config.ts https://raw.githubusercontent.com/opencrvs/e2e/refs/heads/k8s-integration/playwright.config.ts;
227226 export NODE_EXTRA_CA_CERTS=/tmp/letsencrypt-stg-root-x1.pem
228227 curl -s -o $NODE_EXTRA_CA_CERTS https://letsencrypt.org/certs/staging/letsencrypt-stg-root-x1.pem;
229228 npx playwright test ./e2e/testcases/${{ matrix.test_file }}
230229 env :
231230 DOMAIN : ' ${{ needs.debug.outputs.domain }}'
232- # TODO: remove this variable on Jul 30 2025, check Farajaland latest fix
233- IGNORE_CA : ' 1'
234231 - id : ctrf_check
235232 if : always()
236233 run : |
Original file line number Diff line number Diff line change @@ -25,24 +25,18 @@ jobs:
2525 seed :
2626 env :
2727 ENV : ${{ inputs.environment }}
28- CORE_IMAGE_TAG : ${{ inputs.core-image-tag }}
2928 runs-on : [self-hosted]
3029 steps :
31- # FYI: Checkout is needed only due to single file: k8s-env/opencrvs/values.yaml
32- - name : Checkout repo
33- uses : actions/checkout@v4
34- - name : Update k8s-env/opencrvs/values.yaml
35- run : |
36- sed -i -e "s#{{STACK}}#${ENV}#g" k8s-env/opencrvs/values.yaml
30+ - name : Get values from deployed release
31+ run : helm get values opencrvs --namespace opencrvs-${ENV} > values-${ENV}.yaml
3732 - name : Seeding data
3833 run : |
3934 kubectl delete job -n opencrvs-${ENV} data-seed || true
4035 kubectl delete pod -n opencrvs-${ENV} -lapp=events;
4136 sleep 30;
4237 kubectl wait --for=condition=ready pod -n opencrvs-${ENV} -lapp=events;
43- helm template -f k8s-env/opencrvs/ values.yaml \
38+ helm template -f values-${ENV} .yaml \
4439 --set data_seed.enabled=true \
45- --set image.tag="$CORE_IMAGE_TAG" \
4640 --namespace opencrvs-${ENV} \
4741 -s templates/data-seed-job.yaml \
4842 oci://ghcr.io/opencrvs/opencrvs-services | kubectl apply -n opencrvs-${ENV} -f -
You can’t perform that action at this time.
0 commit comments