Commit 95a3c4c2 authored by Nikos Psaromanolakis's avatar Nikos Psaromanolakis
Browse files

back to old version with minor fixes v2

parent 2571fa83
Loading
Loading
Loading
Loading
Loading
+16 −7
Changes for .gitlab-ci.yml: 16 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -69,20 +69,29 @@ nightly_regression:

# 4) Full regression on this branch
regression_portal:
  variables:
    KARATE_OPTIONS: "--tags @portal-login-test" 
  image: selenium/standalone-chrome:latest
  extends: .karate_test_template
  variables:
    KARATE_OPTIONS: "--tags @portal-login-test"
  image: cimg/openjdk:17-browsers
  stage: test
  timeout: 30 minutes
  tags:
    - hypo
  before_script:
    - apt-get update -qq && apt-get install -y -qq maven openjdk-17-jdk
    - mvn -version
    - mvn -q validate
    - mvn -q test-compile
    - mvn -q test "-Dkarate.options=--dryrun"
  script:
    - mvn test -Dkarate.env="$KARATE_ENV" "-Dkarate.options=$KARATE_OPTIONS"
  variables:
    KARATE_OPTIONS: "--tags @portal-login-test"
  artifacts:
    when: always
    expire_in: 14 days
    paths:
      - target/karate-reports/
      - target/surefire-reports/
    reports:
      junit:
        - target/surefire-reports/TEST-*.xml
  rules:
    - if: '$CI_COMMIT_BRANCH == "portal-and-stress-test" && $CI_PIPELINE_SOURCE == "push"'
      when: on_success