Skip to content

Commit

Permalink
chore: kickoff release
Browse files Browse the repository at this point in the history
  • Loading branch information
atierian authored Oct 18, 2023
2 parents 12cd18c + 898713c commit 4e6a37c
Show file tree
Hide file tree
Showing 417 changed files with 7,217 additions and 7,291 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
permissions:
id-token: write
contents: write
actions: write

jobs:
build-amplify-swift:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
permissions:
id-token: write
contents: write
actions: write

jobs:
release-stable:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
permissions:
id-token: write
contents: write
actions: write

jobs:
release-unstable:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
analytics-integration-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/Analytics/Tests/AnalyticsHostApp
scheme: AWSPinpointAnalyticsPluginIntegrationTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

analytics-integration-test-tvOS:
runs-on: macos-13
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integ_test_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
prepare-for-test:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_api_functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
api-functional-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/API/Tests/APIHostApp
scheme: AWSAPIPluginFunctionalTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

api-functional-test-tvOS:
runs-on: macos-13
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_api_graphql_auth_directive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
api-graphql-auth-directive-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/API/Tests/APIHostApp
scheme: AWSAPIPluginGraphQLAuthDirectiveTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

api-graphql-auth-directive-test-tvOS:
runs-on: macos-13
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_api_graphql_iam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
api-graphql-iam-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/API/Tests/APIHostApp
scheme: AWSAPIPluginGraphQLIAMTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

api-graphql-iam-test-tvOS:
runs-on: macos-13
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_api_graphql_lambda_auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
api-graphql-lambda-auth-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/API/Tests/APIHostApp
scheme: AWSAPIPluginGraphQLLambdaAuthTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

api-graphql-lambda-auth-test-tvOS:
runs-on: macos-13
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_api_graphql_lazy_load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
api-lazy-load-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/API/Tests/APIHostApp
scheme: AWSAPIPluginLazyLoadTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

api-lazy-load-test-tvOS:
runs-on: macos-13
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_api_graphql_user_pool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
api-graphql-user-pool-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/API/Tests/APIHostApp
scheme: AWSAPIPluginGraphQLUserPoolTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

api-graphql-user-pool-test-tvOS:
runs-on: macos-13
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_api_rest_iam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
api-rest-iam-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/API/Tests/APIHostApp
scheme: AWSAPIPluginRESTIAMTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

api-rest-iam-test-tvOS:
runs-on: macos-13
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integ_test_api_rest_user_pool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
api-rest-user-pool-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/API/Tests/APIHostApp
scheme: AWSAPIPluginRESTUserPoolTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

api-rest-user-pool-test-tvOS:
runs-on: macos-13
Expand Down
29 changes: 28 additions & 1 deletion .github/workflows/integ_test_auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
auth-integration-test-iOS:
runs-on: macos-12
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -32,6 +32,8 @@ jobs:
with:
project_path: ./AmplifyPlugins/Auth/Tests/AuthHostApp/
scheme: AuthIntegrationTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

auth-integration-test-tvOS:
runs-on: macos-13
Expand Down Expand Up @@ -88,3 +90,28 @@ jobs:
destination: platform=watchOS Simulator,name=Apple Watch Series 8 (45mm),OS=latest
sdk: watchsimulator
xcode_path: '/Applications/Xcode_14.3.app'

auth-ui-integration-test-iOS:
runs-on: macos-12
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false

- name: Make directory
run: mkdir -p ~/.aws-amplify/amplify-ios/testconfiguration/

- name: Copy integration test resouces
uses: ./.github/composite_actions/download_test_configuration
with:
resource_subfolder: auth
aws_role_to_assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws_region: ${{ secrets.AWS_REGION }}
aws_s3_bucket: ${{ secrets.AWS_S3_BUCKET_INTEG_V2 }}

- name: Run Integration test
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: ./AmplifyPlugins/Auth/Tests/AuthHostedUIApp/
scheme: AuthHostedUIApp
10 changes: 6 additions & 4 deletions .github/workflows/integ_test_datastore_auth_cognito.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ permissions:

jobs:
datastore-integration-auth-cognito-test-iOS:
timeout-minutes: 30
runs-on: macos-12
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand All @@ -33,9 +33,11 @@ jobs:
with:
project_path: ./AmplifyPlugins/DataStore/Tests/DataStoreHostApp
scheme: AWSDataStorePluginAuthCognitoTests
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-auth-cognito-test-tvOS:
timeout-minutes: 30
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -64,7 +66,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-auth-cognito-test-watchOS:
timeout-minutes: 45
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integ_test_datastore_auth_iam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
datastore-integration-auth-iam-test-iOS:
timeout-minutes: 30
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-auth-iam-test-tvOS:
timeout-minutes: 30
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-auth-iam-test-watchOS:
timeout-minutes: 45
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integ_test_datastore_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
datastore-integration-test-base-iOS:
timeout-minutes: 45
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-test-base-tvOS:
timeout-minutes: 45
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-test-base-watchOS:
timeout-minutes: 45
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integ_test_datastore_cpk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
datastore-integration-cpk-test-iOS:
timeout-minutes: 30
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-cpk-test-tvOS:
timeout-minutes: 30
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-cpk-test-watchOS:
timeout-minutes: 45
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integ_test_datastore_lazy_load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
datastore-integration-lazy-load-test-iOS:
timeout-minutes: 45
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-lazy-load-test-tvOS:
timeout-minutes: 30
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
xcode_path: '/Applications/Xcode_14.3.app'

datastore-integration-lazy-load-test-watchOS:
timeout-minutes: 45
timeout-minutes: 60
runs-on: macos-13
environment: IntegrationTest
steps:
Expand Down
Loading

0 comments on commit 4e6a37c

Please sign in to comment.