1e2e:
2 working_directory: ~/build
3 machine: true
4 environment:
5 TZ: 'Europe/Berlin'
6 steps:
7 - restore_cache:
8 key: repo-{{ .Environment.CIRCLE_SHA1 }}
9 - restore_cache:
10 key: build-{{ .Environment.CIRCLE_SHA1 }}
11 - restore_cache:
12 key: packages-{{ checksum "yarn.lock" }}-{{ .Environment.CIRCLE_SHA1 }}
13 - run: docker info
14 - run: docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"
15 - run: sudo chmod -R 777 /home/circleci/build/logs .
16 - run:
17 name: run ci-runner
18 # This file contains the commands to launch Smart Alarm and the E2E image
19 command: |
20 ./docker/e2e/ci-runner.sh ${CIRCLE_BRANCH}
21 - store_artifacts:
22 path: cypress_output/videos
23 - store_artifacts:
24 # If you configure Cypress nicely, it will create screenshots automatically, which you can store in circleci
25 path: cypress_output/screenshots
26 - store_test_results:
27 path: cypress_output/results
28 - store_test_results:
29 path: test-results
Lekealem Asong, 08. Dec 2022