From 9d1360c9fd5e3cb4d34ff6efac98bea92bf85c92 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 15 Aug 2017 22:27:41 -0400 Subject: [tests] add step to run functional tests on bundle --- .gitlab-ci.yml | 39 ++++++++++++++++++++++++++++----------- 1 file 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 -- cgit v1.2.3