diff --git a/.github/composite_actions/fetch_backends/action.yaml b/.github/composite_actions/fetch_backends/action.yaml index d1b3082fd0..01070b3dfd 100644 --- a/.github/composite_actions/fetch_backends/action.yaml +++ b/.github/composite_actions/fetch_backends/action.yaml @@ -17,9 +17,6 @@ inputs: secret-identifier: required: true description: ARN of secret from AWS Secrets Manger which is a JSON object of app IDs / s3 bucket ARNs - needs-gen2-config: - required: true - description: Whether the E2E workflow needs amplify_outputs from AWS runs: using: "composite" @@ -47,14 +44,6 @@ runs: shell: bash run: dart pub global run aft exec --include=${{ inputs.scope }} -- tool/pull_test_backend.sh - - name: Pull Amplify Outputs - shell: bash - run: | - if [[ "${{inputs.needs-gen2-config}}" == true ]]; then - dart pub global run aft exec --include=${{ inputs.scope }} -- tool/pull_test_gen2_backend.sh ... - fi - exit 0 - - name: Undo any codegen changes from amplify pull shell: bash run: dart pub global run aft exec --include=${{ inputs.scope }} -- [ -d "lib/models" ] && git checkout '**/lib/models/*' || exit 0 diff --git a/.github/workflows/e2e_android.yaml b/.github/workflows/e2e_android.yaml index 2f75b848cb..e9353de2ed 100644 --- a/.github/workflows/e2e_android.yaml +++ b/.github/workflows/e2e_android.yaml @@ -14,10 +14,6 @@ on: description: Whether the E2E workflow needs configuration pulled from AWS required: true type: boolean - needs-gen2-config: - required: true - description: Whether the E2E workflow needs amplify_outputs from AWS - type: boolean jobs: e2e-test-android: @@ -66,7 +62,6 @@ jobs: aws-region: ${{ secrets.AWS_REGION }} scope: ${{ inputs.package-name }} secret-identifier: ${{ secrets.AWS_SECRET_IDENTIFIER }} - needs-gen2-config: ${{ inputs.needs-gen2-config }} - name: Launch Android emulator uses: ./.github/composite_actions/launch_android_emulator diff --git a/.github/workflows/e2e_ios.yaml b/.github/workflows/e2e_ios.yaml index 1c14c26915..8ce6ba8e1f 100644 --- a/.github/workflows/e2e_ios.yaml +++ b/.github/workflows/e2e_ios.yaml @@ -14,10 +14,6 @@ on: description: Whether the E2E workflow needs configuration pulled from AWS required: true type: boolean - needs-gen2-config: - required: true - description: Whether the E2E workflow needs amplify_outputs from AWS - type: boolean jobs: e2e-test-ios: @@ -64,7 +60,6 @@ jobs: aws-region: ${{ secrets.AWS_REGION }} scope: ${{ inputs.package-name }} secret-identifier: ${{ secrets.AWS_SECRET_IDENTIFIER }} - needs-gen2-config: ${{ inputs.needs-gen2-config }} - name: Run integration tests timeout-minutes: 60 diff --git a/.github/workflows/e2e_linux.yaml b/.github/workflows/e2e_linux.yaml index d21313d471..39d1e2d6e2 100644 --- a/.github/workflows/e2e_linux.yaml +++ b/.github/workflows/e2e_linux.yaml @@ -14,10 +14,6 @@ on: description: Whether the E2E workflow needs configuration pulled from AWS required: true type: boolean - needs-gen2-config: - required: true - description: Whether the E2E workflow needs amplify_outputs from AWS - type: boolean jobs: e2e-test-linux: @@ -59,7 +55,6 @@ jobs: aws-region: ${{ secrets.AWS_REGION }} scope: ${{ inputs.package-name }} secret-identifier: ${{ secrets.AWS_SECRET_IDENTIFIER }} - needs-gen2-config: ${{ inputs.needs-gen2-config }} - name: Run integration tests timeout-minutes: 60 diff --git a/.github/workflows/e2e_web.yaml b/.github/workflows/e2e_web.yaml index db72691250..9ed561a600 100644 --- a/.github/workflows/e2e_web.yaml +++ b/.github/workflows/e2e_web.yaml @@ -14,10 +14,6 @@ on: description: Whether the E2E workflow needs configuration pulled from AWS required: true type: boolean - needs-gen2-config: - required: true - description: Whether the E2E workflow needs amplify_outputs from AWS - type: boolean jobs: e2e-test-web: @@ -59,7 +55,6 @@ jobs: aws-region: ${{ secrets.AWS_REGION }} scope: ${{ inputs.package-name }} secret-identifier: ${{ secrets.AWS_SECRET_IDENTIFIER }} - needs-gen2-config: ${{ inputs.needs-gen2-config }} - uses: ./.github/composite_actions/setup_chromedriver diff --git a/.github/workflows/e2e_windows.yaml b/.github/workflows/e2e_windows.yaml index 4eea27b5f4..de1c66627b 100644 --- a/.github/workflows/e2e_windows.yaml +++ b/.github/workflows/e2e_windows.yaml @@ -14,10 +14,6 @@ on: description: Whether the E2E workflow needs configuration pulled from AWS required: true type: boolean - needs-gen2-config: - required: true - description: Whether the E2E workflow needs amplify_outputs from AWS - type: boolean jobs: e2e-test-windows: @@ -62,7 +58,6 @@ jobs: aws-region: ${{ secrets.AWS_REGION }} scope: ${{ inputs.package-name }} secret-identifier: ${{ secrets.AWS_SECRET_IDENTIFIER }} - needs-gen2-config: ${{ inputs.needs-gen2-config }} - name: Run integration tests timeout-minutes: 60