diff options
-rw-r--r-- | .gitlab-ci.yml | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 003d6da4..4f5660ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ stages: - test - e2e - bundle + - test_bundle - build_ui variables: @@ -40,17 +41,6 @@ bitmask_latest_bundle: tags: - linux -build_ui: - image: 0xacab.org:4567/leap/bitmask-dev:latest - stage: build_ui - script: - - cd ui && make dev-build - tags: - - linux - cache: - paths: - - ui/node_modules/ - e2e_tests: image: 0xacab.org:4567/leap/bitmask-dev:latest stage: e2e @@ -84,6 +74,33 @@ functional_tests: tags: - linux +functional_test_bundle: + image: 0xacab.org:4567/leap/bitmask-dev:latest + stage: test_bundle + dependencies: + - bitmask_latest_bundle + script: + - TEST_MODE='bundle_ci' make test_functional + artifacts: + when: on_failure + paths: + - failures + name: "Bitmask_linux64_${CI_BUILD_REF}_e2e_screenshots" + expire_in: 1 month + tags: + - linux + +build_ui: + image: 0xacab.org:4567/leap/bitmask-dev:latest + stage: build_ui + script: + - cd ui && make dev-build + tags: + - linux + cache: + paths: + - ui/node_modules/ + build_docker_image: image: 0xacab.org:4567/leap/bitmask-dev:latest stage: test |