@@ -105,12 +105,6 @@ workflows:
105105 ignore : master
106106 requires :
107107 - test
108- - e2e-test :
109- requires :
110- - integration-test
111- filters :
112- branches :
113- ignore : master
114108 - deploy :
115109 filters :
116110 branches :
@@ -148,8 +142,6 @@ jobs:
148142 - save_cache :
149143 key : IT-{{ .Branch }}-{{ checksum "../commits" }}
150144 paths :
151- - ../integration-tests/src/e2e-test/cypress.env.json
152- - ../integration-tests/src/e2e-test/cypress/cf-stack.json
153145 - ../integration-tests/.env
154146 - ../integration-tests/.env2
155147 - ../integration-tests/.env3
@@ -159,37 +151,12 @@ jobs:
159151 - run : cd ../integration-tests && export testPython=true && npm run test-parallel
160152 - store_test_results :
161153 path : ../integration-tests/src/test/test-results
162- - run : mkdir -p ../envs && cd ../integration-tests && cp src/e2e-test/cypress.env.json ../envs
163- - run : mkdir -p ../stack && cd ../integration-tests && cp src/e2e-test/cypress/cf-stack.json ../stack
164154 - persist_to_workspace :
165155 root : ../
166156 paths :
167157 - envs/
168158 - stack/
169159 - .aws/
170- e2e-test :
171- << : *defaults
172- steps :
173- - attach_workspace :
174- at : ../
175- - checkout_utils
176- - checkout_code
177- - checkout_integration_tests
178- - checkout_dashboard
179- - run : mv ~/.aws/credentials tmp && { echo '[default]' ; echo 'region=us-west-2' ; cat tmp; } > ~/.aws/credentials
180- - run : cat ../envs/cypress.env.json
181- - run : cd ../integration-tests && cp ../envs/cypress.env.json ./src/e2e-test/
182- - run : cd ../integration-tests && cp ../stack/cf-stack.json ./src/e2e-test/cypress/
183- - run : cd ../dashboard && npm i
184- - run : cd ../dashboard && ./scripts/prepare_env.sh --profile $(cat ~/envs/cypress.env.json | jq -r '.PROFILE_NAME') --env $(cat ~/envs/cypress.env.json | jq -r '.ENV')
185- - run : cd ../integration-tests/src/e2e-test && npm i
186- - run : (cd ../dashboard && npm run start:ci) & (cd ../integration-tests && ./src/e2e-test/node_modules/.bin/wait-on http://127.0.0.1:3000 && npm run cypress:run)
187- - store_artifacts :
188- path : ~/integration-tests/src/e2e-test/cypress/videos
189- - store_artifacts :
190- path : ~/integration-tests/src/e2e-test/cypress/cf-stack.json
191- - store_artifacts :
192- path : ~/integration-tests/src/e2e-test/mochawesome-report
193160
194161 deploy :
195162 << : *defaults
0 commit comments