|
4 | 4 | workflow_dispatch: |
5 | 5 | inputs: |
6 | 6 | tag_version: |
7 | | - description: "What tagged verison do you want to push to prod?" |
| 7 | + description: "What tagged version do you want to push to prod?" |
8 | 8 | required: true |
9 | 9 | type: "string" |
10 | 10 |
|
|
29 | 29 | echo Build Branch: ${{ inputs.tag_version }} |
30 | 30 | echo Sandbox: prod |
31 | 31 | echo Environment: prod |
32 | | - echo Cypress Base Url: ${{ vars.CYPRESS_BASE_URL }} |
33 | | -
|
34 | | - lambda_test_job: |
35 | | - name: Run Lambda Unit Tests |
36 | | - uses: ./.github/workflows/base-lambdas-reusable-test.yml |
37 | | - with: |
38 | | - python_version: "3.11" |
39 | | - build_branch: ${{ inputs.tag_version }} |
40 | | - |
41 | | - react_testing_job: |
42 | | - name: Run UI Unit Tests |
43 | | - uses: ./.github/workflows/base-jest-test.yml |
44 | | - with: |
45 | | - build_branch: ${{ inputs.tag_version }} |
46 | | - |
47 | | - cypress_build_job: |
48 | | - name: Build UI version for E2E Tests |
49 | | - uses: ./.github/workflows/base-cypress-build.yml |
50 | | - with: |
51 | | - build_branch: ${{ inputs.tag_version }} |
52 | | - |
53 | | - cypress_test_job: |
54 | | - name: Run Cypress E2E Tests |
55 | | - needs: [cypress_build_job] |
56 | | - uses: ./.github/workflows/base-cypress-test-all-env.yml |
57 | | - with: |
58 | | - cypress_base_url: ${{ vars.CYPRESS_BASE_URL }} |
59 | | - build_branch: ${{ inputs.tag_version }} |
60 | 32 |
|
61 | 33 | publish_all_lambda_layers: |
62 | 34 | name: Publish all Lambda Layers |
63 | | - needs: ["lambda_test_job", "react_testing_job", "cypress_test_job"] |
64 | 35 | uses: ./.github/workflows/base-lambda-layer-reusable-publish-all.yml |
65 | 36 | with: |
66 | 37 | build_branch: ${{ inputs.tag_version }} |
|
72 | 43 |
|
73 | 44 | deploy_all_lambdas: |
74 | 45 | name: Deploy all Lambdas |
75 | | - needs: ["lambda_test_job", "react_testing_job", "cypress_test_job", "publish_all_lambda_layers"] |
| 46 | + needs: ["publish_all_lambda_layers"] |
76 | 47 | uses: ./.github/workflows/base-lambdas-reusable-deploy-all.yml |
77 | 48 | with: |
78 | 49 | build_branch: ${{ inputs.tag_version }} |
|
84 | 55 |
|
85 | 56 | deploy_ui: |
86 | 57 | name: Deploy UI |
87 | | - needs: ["lambda_test_job", "react_testing_job", "cypress_test_job"] |
88 | 58 | uses: ./.github/workflows/base-deploy-ui.yml |
89 | 59 | with: |
90 | 60 | build_branch: ${{ inputs.tag_version }} |
|
95 | 65 |
|
96 | 66 | deploy_ods_batch_update: |
97 | 67 | name: Deploy ODS Batch Update |
98 | | - needs: [ "lambda_test_job", "react_testing_job", "cypress_test_job" ] |
99 | 68 | uses: ./.github/workflows/base-batch-update.yml |
100 | 69 | with: |
101 | 70 | build_branch: ${{ inputs.tag_version }} |
|
0 commit comments