-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (42 loc) · 1.42 KB
/
deploy-failover.prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Deploy to prod-failover
on:
schedule:
- cron: '0 20 * * *'
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build-image.yml
permissions:
contents: "read"
id-token: "write"
with:
environment: prod-gcp:failover
imagename: failover-prod
ENV: prod
ADMIN_ORIGIN: https://portal-admin.oera.no
APP_ORIGIN: https://www.nav.no
REVALIDATOR_PROXY_ORIGIN: http://nav-enonicxp-frontend-revalidator-proxy
DECORATOR_URL: https://www.nav.no/dekoratoren
XP_ORIGIN: https://www.nav.no
TELEMETRY_URL: https://telemetry.nav.no/collect
INNLOGGINGSSTATUS_URL: https://www.nav.no/person/nav-dekoratoren-api/auth
NAVNO_API_URL: https://www.nav.no/person/navno-api
NAVNO_SEARCH_API_URL: https://navno-search-api.nav.no/content/search-url
FAILOVER_ORIGIN: https://www-failover.nav.no
IS_FAILOVER_INSTANCE: true
NODE_ENV: production
secrets:
READER_TOKEN: ${{ secrets.READER_TOKEN }}
SERVICE_SECRET: ${{ secrets.SERVICE_SECRET }}
NAIS_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
deploy:
uses: ./.github/workflows/deploy-to-nais.yml
needs: build
permissions:
id-token: "write"
with:
image: ${{ needs.build.outputs.image }}
cluster: prod-gcp
vars_file: vars-prod-failover.yml
config_file: config-failover.yml
hpa_file: hpa-prod-failover.yml