Skip to content

Commit

Permalink
release(required): Amplify JS release (#11849)
Browse files Browse the repository at this point in the history
  • Loading branch information
Venkata Ramyasri Kota authored Aug 22, 2023
2 parents d15ad3d + 47d38f4 commit 512e97b
Show file tree
Hide file tree
Showing 18 changed files with 414 additions and 207 deletions.
199 changes: 102 additions & 97 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1266,70 +1266,74 @@ jobs:
spec: next-owner-based-default
browser: << parameters.browser >>

integ_react_datastore_custom_pk_unconnected_models:
parameters:
browser:
type: string
executor: js-test-executor
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react/datastore/v2/custom-pk-unconnected-models
steps:
- prepare_test_env
- integ_test_js:
test_name: 'DataStore - Custom Primary Key (Connected Models)'
framework: react
category: datastore
sample_name: v2/custom-pk-unconnected-models
spec: custom-pk-unconnected-models
browser: << parameters.browser >>

integ_react_datastore_custom_pk_unconnected_models_webkit:
executor: webkit-test-executor
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react/datastore/v2/custom-pk-unconnected-models
steps:
- prepare_test_env
- integ_test_js:
test_name: 'DataStore - Custom Primary Key (Connected Models)'
framework: react
category: datastore
sample_name: v2/custom-pk-unconnected-models
spec: custom-pk-unconnected-models
browser: webkit

integ_react_datastore_custom_pk_has_one:
parameters:
browser:
type: string
executor: js-test-executor
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react/datastore/v2/custom-pk-has-one
steps:
- prepare_test_env
- integ_test_js:
test_name: 'DataStore - Custom Primary Key (Has One)'
framework: react
category: datastore
sample_name: v2/custom-pk-has-one
spec: custom-pk-has-one
browser: << parameters.browser >>

integ_react_datastore_custom_pk_has_many_many_to_many:
parameters:
browser:
type: string
executor: js-test-executor
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react/datastore/v2/custom-pk-has-many-many-to-many
steps:
- prepare_test_env
- integ_test_js:
test_name: 'DataStore - Custom Primary Key (Has Many / Many to Many)'
framework: react
category: datastore
sample_name: v2/custom-pk-has-many-many-to-many
spec: custom-pk-has-many-many-to-many
browser: << parameters.browser >>
# TODO: re-enable or backfill test cases
# integ_react_datastore_custom_pk_unconnected_models:
# parameters:
# browser:
# type: string
# executor: js-test-executor
# <<: *test_env_vars
# working_directory: ~/amplify-js-samples-staging/samples/react/datastore/v2/custom-pk-unconnected-models
# steps:
# - prepare_test_env
# - integ_test_js:
# test_name: 'DataStore - Custom Primary Key (Connected Models)'
# framework: react
# category: datastore
# sample_name: v2/custom-pk-unconnected-models
# spec: custom-pk-unconnected-models
# browser: << parameters.browser >>

# TODO: re-enable or backfill test cases
# integ_react_datastore_custom_pk_unconnected_models_webkit:
# executor: webkit-test-executor
# <<: *test_env_vars
# working_directory: ~/amplify-js-samples-staging/samples/react/datastore/v2/custom-pk-unconnected-models
# steps:
# - prepare_test_env
# - integ_test_js:
# test_name: 'DataStore - Custom Primary Key (Connected Models)'
# framework: react
# category: datastore
# sample_name: v2/custom-pk-unconnected-models
# spec: custom-pk-unconnected-models
# browser: webkit

# TODO: re-enable or backfill test cases
# integ_react_datastore_custom_pk_has_one:
# parameters:
# browser:
# type: string
# executor: js-test-executor
# <<: *test_env_vars
# working_directory: ~/amplify-js-samples-staging/samples/react/datastore/v2/custom-pk-has-one
# steps:
# - prepare_test_env
# - integ_test_js:
# test_name: 'DataStore - Custom Primary Key (Has One)'
# framework: react
# category: datastore
# sample_name: v2/custom-pk-has-one
# spec: custom-pk-has-one
# browser: << parameters.browser >>

# TODO: re-enable or backfill test cases
# integ_react_datastore_custom_pk_has_many_many_to_many:
# parameters:
# browser:
# type: string
# executor: js-test-executor
# <<: *test_env_vars
# working_directory: ~/amplify-js-samples-staging/samples/react/datastore/v2/custom-pk-has-many-many-to-many
# steps:
# - prepare_test_env
# - integ_test_js:
# test_name: 'DataStore - Custom Primary Key (Has Many / Many to Many)'
# framework: react
# category: datastore
# sample_name: v2/custom-pk-has-many-many-to-many
# spec: custom-pk-has-many-many-to-many
# browser: << parameters.browser >>

integ_react_datastore_background_process_manager:
parameters:
Expand Down Expand Up @@ -2097,39 +2101,40 @@ workflows:
matrix:
parameters:
<<: *minimal_browser_list
- integ_react_datastore_custom_pk_unconnected_models:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
matrix:
parameters:
<<: *extended_browser_list
- integ_react_datastore_custom_pk_unconnected_models_webkit:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
- integ_react_datastore_custom_pk_has_one:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
matrix:
parameters:
<<: *minimal_browser_list
- integ_react_datastore_custom_pk_has_many_many_to_many:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
matrix:
parameters:
<<: *minimal_browser_list
# TODO: re-enable or backfill test cases
# - integ_react_datastore_custom_pk_unconnected_models:
# requires:
# - integ_setup
# - build
# filters:
# <<: *releasable_branches
# matrix:
# parameters:
# <<: *extended_browser_list
# - integ_react_datastore_custom_pk_unconnected_models_webkit:
# requires:
# - integ_setup
# - build
# filters:
# <<: *releasable_branches
# - integ_react_datastore_custom_pk_has_one:
# requires:
# - integ_setup
# - build
# filters:
# <<: *releasable_branches
# matrix:
# parameters:
# <<: *minimal_browser_list
# - integ_react_datastore_custom_pk_has_many_many_to_many:
# requires:
# - integ_setup
# - build
# filters:
# <<: *releasable_branches
# matrix:
# parameters:
# <<: *minimal_browser_list
- integ_react_datastore_background_process_manager:
requires:
- integ_setup
Expand Down
30 changes: 16 additions & 14 deletions .github/canary-config/canary-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,22 @@ tests:
sample_name: [schema-drift]
spec: schema-drift
browser: *minimal_browser_list
- test_name: integ_react_datastore_custom_pk_has_one
desc: 'DataStore - Custom Primary Key (Has One)'
framework: react
category: datastore
sample_name: [v2/custom-pk-has-one]
spec: custom-pk-has-one
browser: *minimal_browser_list
- test_name: integ_react_datastore_custom_pk_has_many_many_to_many
desc: 'DataStore - Custom Primary Key (Has Many / Many to Many)'
framework: react
category: datastore
sample_name: [v2/custom-pk-has-many-many-to-many]
spec: custom-pk-has-many-many-to-many
browser: *minimal_browser_list
# TODO: re-enable or backfill test cases
# - test_name: integ_react_datastore_custom_pk_has_one
# desc: 'DataStore - Custom Primary Key (Has One)'
# framework: react
# category: datastore
# sample_name: [v2/custom-pk-has-one]
# spec: custom-pk-has-one
# browser: *minimal_browser_list
# TODO: re-enable or backfill test cases
# - test_name: integ_react_datastore_custom_pk_has_many_many_to_many
# desc: 'DataStore - Custom Primary Key (Has Many / Many to Many)'
# framework: react
# category: datastore
# sample_name: [v2/custom-pk-has-many-many-to-many]
# spec: custom-pk-has-many-many-to-many
# browser: *minimal_browser_list
- test_name: integ_react_datastore_background_process_manager
desc: 'DataStore - Background Process Manager'
framework: react
Expand Down
52 changes: 28 additions & 24 deletions .github/integ-config/integ-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,37 +314,41 @@ tests:
sample_name: [schema-drift]
spec: schema-drift
browser: *minimal_browser_list
- test_name: integ_react_datastore_custom_pk_unconnected_models
desc: 'DataStore - Custom Primary Key (Connected Models)'
framework: react
category: datastore
sample_name: [v2/custom-pk-unconnected-models]
spec: custom-pk-unconnected-models
browser: *extended_browser_list
timeout_minutes: 60
# TODO: re-enable or backfill test cases
# - test_name: integ_react_datastore_custom_pk_unconnected_models
# desc: 'DataStore - Custom Primary Key (Connected Models)'
# framework: react
# category: datastore
# sample_name: [v2/custom-pk-unconnected-models]
# spec: custom-pk-unconnected-models
# browser: *extended_browser_list
# timeout_minutes: 60
# TODO: re-enable or backfill test cases
# - test_name: integ_react_datastore_custom_pk_unconnected_models_webkit
# desc: 'DataStore - Custom Primary Key (Connected Models)'
# framework: react
# category: datastore
# sample_name: [v2/custom-pk-unconnected-models]
# spec: custom-pk-unconnected-models
# browser: [webkit]
- test_name: integ_react_datastore_custom_pk_has_one
desc: 'DataStore - Custom Primary Key (Has One)'
framework: react
category: datastore
sample_name: [v2/custom-pk-has-one]
spec: custom-pk-has-one
browser: *minimal_browser_list
timeout_minutes: 60
- test_name: integ_react_datastore_custom_pk_has_many_many_to_many
desc: 'DataStore - Custom Primary Key (Has Many / Many to Many)'
framework: react
category: datastore
sample_name: [v2/custom-pk-has-many-many-to-many]
spec: custom-pk-has-many-many-to-many
browser: *minimal_browser_list
timeout_minutes: 60
# TODO: re-enable or backfill test cases
# - test_name: integ_react_datastore_custom_pk_has_one
# desc: 'DataStore - Custom Primary Key (Has One)'
# framework: react
# category: datastore
# sample_name: [v2/custom-pk-has-one]
# spec: custom-pk-has-one
# browser: *minimal_browser_list
# timeout_minutes: 60
# TODO: re-enable or backfill test cases
# - test_name: integ_react_datastore_custom_pk_has_many_many_to_many
# desc: 'DataStore - Custom Primary Key (Has Many / Many to Many)'
# framework: react
# category: datastore
# sample_name: [v2/custom-pk-has-many-many-to-many]
# spec: custom-pk-has-many-many-to-many
# browser: *minimal_browser_list
# timeout_minutes: 60
- test_name: integ_react_datastore_background_process_manager
desc: 'DataStore - Background Process Manager'
framework: react
Expand Down
Loading

0 comments on commit 512e97b

Please sign in to comment.