summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml23
1 files changed, 21 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c05494fb..cc7520f0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,8 @@
stages:
- test
+ - e2e
- bundle
- build_ui
- - e2e
variables:
DOCKER_DRIVER: overlay
@@ -28,7 +28,7 @@ bitmask_latest_bundle:
stage: bundle
script:
- pkg/build_bundle_with_venv.sh
- - mv "dist/bitmask-`cat pkg/next-version`" .
+ - mv "dist/bitmask-`cat pkg/next-version`" .
artifacts:
paths:
- "bitmask-`cat pkg/next-version`"
@@ -59,6 +59,25 @@ e2e_tests:
tags:
- linux
+functional_tests:
+ image: 0xacab.org:4567/leap/bitmask-dev:latest
+ stage: e2e
+ before_script:
+ - virtualenv venv
+ - source venv/bin/activate
+ - make dev-latest-all
+ - make test_functional_setup
+ script:
+ - make test_functional
+ artifacts:
+ when: on_failure
+ paths:
+ - "/tmp/*.png"
+ name: "Bitmask_linux64_${CI_BUILD_REF}_e2e_screenshots"
+ expire_in: 1 month
+ tags:
+ - linux
+
build_docker_image:
image: 0xacab.org:4567/leap/bitmask-dev:latest
stage: test