-
Notifications
You must be signed in to change notification settings - Fork 24
52 lines (49 loc) · 1.91 KB
/
on_dispatch_deploy_perf_stack.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
44
45
46
47
48
49
50
51
52
name: "0 [on_dispatch] Deploy perf stack"
on:
workflow_dispatch:
permissions:
contents: 'read'
id-token: 'write'
jobs:
yarn-install:
uses: ./.github/workflows/dev_on_workflow_install.yml
with:
CACHE_BUCKET_NAME: passculture-infra-prod-github-runner-cache
secrets:
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}
yarn-linter:
needs: yarn-install
uses: ./.github/workflows/dev_on_workflow_linter_ts.yml
with:
CACHE_BUCKET_NAME: passculture-infra-prod-github-runner-cache
secrets:
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}
yarn-tester:
needs: yarn-linter
uses: ./.github/workflows/dev_on_workflow_tester.yml
with:
CACHE_BUCKET_NAME: passculture-infra-prod-github-runner-cache
secrets:
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}
deploy-web-perf:
needs: [yarn-tester]
uses: ./.github/workflows/dev_on_workflow_web_deploy.yml
with:
ENV: perf
BUCKET_NAME: passculture-metier-ehp-perf-decliweb
CACHE_BUCKET_NAME: passculture-infra-prod-github-runner-cache
secrets:
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}
deploy-web-proxy-perf:
needs: [yarn-tester]
uses: ./.github/workflows/dev_on_workflow_web_proxy_deploy.yml
with:
ENV: perf
CACHE_BUCKET_NAME: passculture-infra-prod-github-runner-cache
secrets:
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}