Commit 0aed515c authored by Nikos Psaromanolakis's avatar Nikos Psaromanolakis
Browse files

Update.gitlab-ci.yml

parent 9db7e6cf
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -189,9 +189,9 @@ dev_workflows_job:
  before_script:
    # clone the integration tests repo
    - git clone --depth 1 "https://oauth2:$GROUP_ACCESS_TOKEN@$INTEGRATION_REPO"
    - cd org.etsi.osl.hypo.ops.cicd.integration.tests
    - cd integration.tests
  script:
    - mvn -B -q test "-Dkarate.env=staging" "-Dkarate.options=--tags @smoke-e2e-workflow"
    - mvn -B -q test "-Dkarate.env=$KARATE_ENV" "-Dkarate.options=--tags @smoke-e2e-workflow-private"
  dependencies:
    - dev_deploy_job
  rules:
@@ -244,7 +244,7 @@ prod_package_job:
    - git config --global user.name $GITLAB_USER_NAME
    - |
      if git commit -m "Release $DEV_RELEASE_VERSION: Update project version [skip ci]"; then
        git remote set-url origin "https://${GITLAB_USER_NAME}:${GROUP_ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git"
        git remote set-url origin "https://${GITLAB_USER_NAME}:${GROUP_ACCESS_TOKEN}@${CI_SERVER_URL}/${CI_PROJECT_PATH}.git"
        git push -f origin HEAD:main

      else