From 7a0cbbde802acc83daf6b40e9913770bf5f0acb0 Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Tue, 11 Aug 2020 15:30:26 -0700 Subject: [PATCH 1/3] add amazon-cognito-identity-js tests to CCI --- .circleci/config.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2661b440cc8..25a09407e11 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -450,6 +450,18 @@ jobs: sample_name: storageComp spec: storage-comp + integ_amazon_cognito_identity_js: + executor: js-test-executor + <<: *test_env_vars + working_directory: ~/amplify-js-samples-staging/samples/react/auth/amazon-cognito-identity-js + steps: + - prepare_test_env + - integ_test_js: + test_name: 'amazon-cognito-identity-js' + framework: react + category: auth + sample_name: amazon-cognito-identity-js + integ_setup_ui: executor: build-executor working_directory: ~/ @@ -664,6 +676,12 @@ workflows: - build filters: <<: *releasable_branches + - integ_amazon_cognito_identity_js: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches - integ_rn_ios_storage: requires: - integ_setup @@ -709,6 +727,7 @@ workflows: - integ_react_datastore - integ_react_storage - integ_react_storage_ui + - integ_amazon_cognito_identity_js - integ_react_auth - integ_angular_auth - integ_vue_auth From d5d910de894add4da9015ad15423f5d59f09ee82 Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Tue, 11 Aug 2020 15:31:01 -0700 Subject: [PATCH 2/3] testing --- .circleci/config.yml | 53 ++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 25a09407e11..bdf9f1c9ec2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -620,6 +620,7 @@ releasable_branches: &releasable_branches - main - ui-components/master - 1.0-stable + - identity-js-cci workflows: build_test_deploy: @@ -718,29 +719,29 @@ workflows: - build filters: <<: *releasable_branches - - deploy: - filters: - <<: *releasable_branches - requires: - - unit_test - - integ_react_predictions - - integ_react_datastore - - integ_react_storage - - integ_react_storage_ui - - integ_amazon_cognito_identity_js - - integ_react_auth - - integ_angular_auth - - integ_vue_auth - - integ_react_auth_ui - - integ_angular_auth_ui - - integ_vue_auth_ui - - integ_rn_ios_storage - - integ_rn_ios_push_notifications - - integ_rn_android_storage - - post_release: - filters: - branches: - only: - - release - requires: - - deploy + # - deploy: + # filters: + # <<: *releasable_branches + # requires: + # - unit_test + # - integ_react_predictions + # - integ_react_datastore + # - integ_react_storage + # - integ_react_storage_ui + # - integ_amazon_cognito_identity_js + # - integ_react_auth + # - integ_angular_auth + # - integ_vue_auth + # - integ_react_auth_ui + # - integ_angular_auth_ui + # - integ_vue_auth_ui + # - integ_rn_ios_storage + # - integ_rn_ios_push_notifications + # - integ_rn_android_storage + # - post_release: + # filters: + # branches: + # only: + # - release + # requires: + # - deploy From 9124164bfcbf56d2d86d11473a7f75e2639c93bb Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Tue, 11 Aug 2020 15:44:27 -0700 Subject: [PATCH 3/3] revert testing --- .circleci/config.yml | 53 ++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bdf9f1c9ec2..25a09407e11 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -620,7 +620,6 @@ releasable_branches: &releasable_branches - main - ui-components/master - 1.0-stable - - identity-js-cci workflows: build_test_deploy: @@ -719,29 +718,29 @@ workflows: - build filters: <<: *releasable_branches - # - deploy: - # filters: - # <<: *releasable_branches - # requires: - # - unit_test - # - integ_react_predictions - # - integ_react_datastore - # - integ_react_storage - # - integ_react_storage_ui - # - integ_amazon_cognito_identity_js - # - integ_react_auth - # - integ_angular_auth - # - integ_vue_auth - # - integ_react_auth_ui - # - integ_angular_auth_ui - # - integ_vue_auth_ui - # - integ_rn_ios_storage - # - integ_rn_ios_push_notifications - # - integ_rn_android_storage - # - post_release: - # filters: - # branches: - # only: - # - release - # requires: - # - deploy + - deploy: + filters: + <<: *releasable_branches + requires: + - unit_test + - integ_react_predictions + - integ_react_datastore + - integ_react_storage + - integ_react_storage_ui + - integ_amazon_cognito_identity_js + - integ_react_auth + - integ_angular_auth + - integ_vue_auth + - integ_react_auth_ui + - integ_angular_auth_ui + - integ_vue_auth_ui + - integ_rn_ios_storage + - integ_rn_ios_push_notifications + - integ_rn_android_storage + - post_release: + filters: + branches: + only: + - release + requires: + - deploy