|
8 | 8 |
|
9 | 9 | jobs: |
10 | 10 | # Deploy Staging |
11 | | - deploy-edc-prod-staging: |
12 | | - runs-on: ubuntu-latest |
13 | | - environment: edc-prod |
14 | | - permissions: |
15 | | - id-token: write |
16 | | - contents: read |
| 11 | + # deploy-edc-prod-staging: |
| 12 | + # runs-on: ubuntu-latest |
| 13 | + # environment: edc-prod |
| 14 | + # permissions: |
| 15 | + # id-token: write |
| 16 | + # contents: read |
17 | 17 |
|
18 | | - steps: |
19 | | - - name: Checkout |
20 | | - uses: actions/checkout@v4 |
| 18 | + # steps: |
| 19 | + # - name: Checkout |
| 20 | + # uses: actions/checkout@v4 |
21 | 21 |
|
22 | | - - name: build |
23 | | - uses: ./.github/workflows/search-api-composite |
24 | | - with: |
25 | | - aws-account-id: ${{ secrets.AWS_ACCOUNT_ID }} |
26 | | - vpc-id: ${{ secrets.VPC_ID }} |
27 | | - subnet-ids: ${{ secrets.SUBNET_IDS }} |
28 | | - security-group: ${{ secrets.SECURITY_GROUP }} |
29 | | - staging: true |
| 22 | + # - name: build |
| 23 | + # uses: ./.github/workflows/search-api-composite |
| 24 | + # with: |
| 25 | + # aws-account-id: ${{ secrets.AWS_ACCOUNT_ID }} |
| 26 | + # vpc-id: ${{ secrets.VPC_ID }} |
| 27 | + # subnet-ids: ${{ secrets.SUBNET_IDS }} |
| 28 | + # security-group: ${{ secrets.SECURITY_GROUP }} |
| 29 | + # staging: true |
30 | 30 |
|
31 | | - run-edc-prod-staging-integration-tests: |
32 | | - needs: [deploy-edc-prod-staging] |
33 | | - runs-on: ubuntu-latest |
34 | | - environment: edc-prod |
35 | | - permissions: |
36 | | - id-token: write |
37 | | - contents: read |
38 | | - steps: |
39 | | - - name: Checkout code |
40 | | - uses: actions/checkout@v4 |
41 | | - - name: Configure AWS OIDC credentials |
42 | | - uses: aws-actions/configure-aws-credentials@v3 |
43 | | - with: |
44 | | - role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/SearchAPIActionsOIDCRole |
45 | | - aws-region: us-west-2 |
46 | | - - name: Set up Python |
47 | | - uses: actions/setup-python@v4 |
48 | | - with: |
49 | | - python-version: "3.11" |
| 31 | + # run-edc-prod-staging-integration-tests: |
| 32 | + # needs: [deploy-edc-prod-staging] |
| 33 | + # runs-on: ubuntu-latest |
| 34 | + # environment: edc-prod |
| 35 | + # permissions: |
| 36 | + # id-token: write |
| 37 | + # contents: read |
| 38 | + # steps: |
| 39 | + # - name: Checkout code |
| 40 | + # uses: actions/checkout@v4 |
| 41 | + # - name: Configure AWS OIDC credentials |
| 42 | + # uses: aws-actions/configure-aws-credentials@v3 |
| 43 | + # with: |
| 44 | + # role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/SearchAPIActionsOIDCRole |
| 45 | + # aws-region: us-east-1 |
| 46 | + # - name: Set up Python |
| 47 | + # uses: actions/setup-python@v4 |
| 48 | + # with: |
| 49 | + # python-version: "3.11" |
50 | 50 |
|
51 | | - - name: Install dependencies |
52 | | - shell: bash |
53 | | - run: | |
54 | | - python -m pip install --upgrade pip |
55 | | - python -m pip install -r requirements.txt |
56 | | - python -m pip install -r tests/requirements.txt |
57 | | - python -m pip install . |
| 51 | + # - name: Install dependencies |
| 52 | + # shell: bash |
| 53 | + # run: | |
| 54 | + # python -m pip install --upgrade pip |
| 55 | + # python -m pip install -r requirements.txt |
| 56 | + # python -m pip install -r tests/requirements.txt |
| 57 | + # python -m pip install . |
58 | 58 |
|
59 | | - - name: run tests |
60 | | - shell: bash |
61 | | - run: | |
62 | | - pytest tests/integration/test_stack.py \ |
63 | | - --reruns 3 --reruns-delay 10 |
| 59 | + # - name: run tests |
| 60 | + # shell: bash |
| 61 | + # run: | |
| 62 | + # pytest tests/integration/test_stack.py \ |
| 63 | + # --reruns 3 --reruns-delay 10 |
64 | 64 |
|
65 | 65 | deploy-prod-staging: |
66 | 66 | runs-on: ubuntu-latest |
|
93 | 93 | uses: aws-actions/configure-aws-credentials@v3 |
94 | 94 | with: |
95 | 95 | role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/SearchAPIActionsOIDCRole |
96 | | - aws-region: us-west-2 |
| 96 | + aws-region: us-east-1 |
97 | 97 |
|
98 | 98 | - name: Set up Python |
99 | 99 | uses: actions/setup-python@v4 |
|
0 commit comments