Commit 19d5f491 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Limpia jobs de prueba y redefine credenciales

parent b70417b4
Loading
Loading
Loading
Loading
+3 −55
Original line number Diff line number Diff line
@@ -222,58 +222,6 @@ deploy-supporting-branch:
    - schedules
  when: manual

run-basic-user-functional-tests:
  stage: pre-build
  tags:
    - client
    - functional
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  script:
    - type yarn grunt java
    - yarn install || yarn install
    - >
      grunt test-functional-local --server-url="https://appdev.${DEV_PUBLIC_HOSTNAME}" --user="${REDMIC_USER}"
      --pass="${REDMIC_PASS}" --role=administrator --suitesGroups=common --headless
  when: manual
  cache:
    key: ${CI_COMMIT_REF_NAME}
    paths:
      - node_modules/
    policy: pull
  artifacts:
    name: ${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}
    expire_in: 1 month
    when: always
    paths:
      - "test_reports/test-functional-local*"

run-basic-guest-functional-tests:
  stage: pre-build
  tags:
    - client
    - functional
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  script:
    - type yarn grunt java
    - yarn install || yarn install
    - >
      grunt test-functional-local --server-url="https://appdev.${DEV_PUBLIC_HOSTNAME}" --role=guest --headless
      --suitesGroups=catalog
  when: manual
  cache:
    key: ${CI_COMMIT_REF_NAME}
    paths:
      - node_modules/
    policy: pull
  artifacts:
    name: ${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}
    expire_in: 1 month
    when: always
    paths:
      - "test_reports/test-functional-local*"

run-functional-tests:
  stage: test-deploy
  tags:
@@ -285,8 +233,8 @@ run-functional-tests:
    - type yarn grunt java
    - yarn install || yarn install
    - >
      grunt test-functional-local-parallel --server-url="https://appdev.${DEV_PUBLIC_HOSTNAME}" --user="${REDMIC_USER}"
      --pass="${REDMIC_PASS}"
      grunt test-functional-local-parallel --server-url="https://appdev.${DEV_PUBLIC_HOSTNAME}"
      --user="${REDMIC_TEST_USER}" --pass="${REDMIC_TEST_PASS}"
  only:
    - schedules
  cache:
@@ -299,7 +247,7 @@ run-functional-tests:
    expire_in: 1 month
    when: always
    paths:
      - "test_reports/test-functional-local*/"
      - "test_reports/test-functional-local*"

deploy-pro:
  stage: deploy