Commit c74f8921 authored by Nikos Psaromanolakis's avatar Nikos Psaromanolakis
Browse files

add portal to gitlab-ci

parent 3ebe77b1
Loading
Loading
Loading
Loading
+13
Changes for .gitlab-ci.yml: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@ cache:
    - mvn -q validate
    - mvn -q test-compile
    - mvn -q test "-Dkarate.options=--dryrun"
    - apt-get update -qq
    - apt-get install -y -qq google-chrome-stable
  script:
    #  KARATE_OPTIONS injected by each job
    - mvn test -Dkarate.env="$KARATE_ENV" "-Dkarate.options=$KARATE_OPTIONS"
@@ -66,3 +68,14 @@ nightly_regression:
    - if: '$CI_PIPELINE_SOURCE == "schedule"'
      when: on_success
    - when: never


# 4) Full regression on this branch
regression_portal:
  extends: .karate_test_template
  variables:
    KARATE_OPTIONS: "--tags @portal-login-test" 
  rules:
    - if: '$CI_COMMIT_BRANCH == "portal-and-stress-test" && $CI_PIPELINE_SOURCE == "push"'
      when: on_success
    - when: never
 No newline at end of file