Commit 454b30ae authored by David Mendez's avatar David Mendez
Browse files

Enable all functional tests in all the environments for schedules

parent 408f3a00
......@@ -204,18 +204,15 @@ deploy_to_staging:
# ----------------------------------------------------------------------------------------------------------------------
# Test staging
# ----------------------------------------------------------------------------------------------------------------------
functional_tests:
functional_tests_staging:
stage: test_staging
image:
name: $SERVER_IMAGE_TAG
entrypoint: [""]
only:
- staging
except:
- schedules
environment:
name: staging
url: ${SERVER_URL_STAGING}
script:
- set -x
- sleep 30 # Give some time for the deployment to take effect.
......@@ -299,12 +296,10 @@ functional_tests_prod_hx:
entrypoint: [""]
only:
- master
except:
- schedules
script:
- set -x
- sleep 30 # Give some time for the deployment to take effect.
- functional_tests/run_functional_tests.py ${SERVER_URL_PROD_HX} ${DJ_SERVER_ADMIN_USERNAME_PROD_HX} ${DJ_SERVER_ADMIN_PASSWORD_PROD_HX}
- functional_tests/run_functional_tests.py ${DELAYED_JOBS_URL_PROD_HX} ${DJ_SERVER_ADMIN_USERNAME_PROD_HX} ${DJ_SERVER_ADMIN_PASSWORD_PROD_HX}
# ----------------------------------------------------------------------------------------------------------------------
# Deployment to prod hh
......@@ -384,12 +379,10 @@ functional_tests_prod_hh:
entrypoint: [""]
only:
- master
except:
- schedules
script:
- set -x
- sleep 30 # Give some time for the deployment to take effect.
- functional_tests/run_functional_tests.py ${SERVER_URL_PROD_HH} ${DJ_SERVER_ADMIN_USERNAME_PROD_HH} ${DJ_SERVER_ADMIN_PASSWORD_PROD_HH}
- functional_tests/run_functional_tests.py ${DELAYED_JOBS_URL_PROD_HH} ${DJ_SERVER_ADMIN_USERNAME_PROD_HH} ${DJ_SERVER_ADMIN_PASSWORD_PROD_HH}
# ----------------------------------------------------------------------------------------------------------------------
# Test prod public url
......@@ -401,10 +394,11 @@ functional_tests_prod_public:
entrypoint: [""]
only:
- master
needs: ["functional_tests_prod_hh"]
script:
- set -x
- sleep 30 # Give some time for the deployment to take effect.
- functional_tests/run_functional_tests.py ${SERVER_URL_PROD_PUBLIC} ${DJ_SERVER_ADMIN_USERNAME_PROD_HX} ${DJ_SERVER_ADMIN_PASSWORD_PROD_PUBLIC}
- functional_tests/run_functional_tests.py ${DELAYED_JOBS_URL_PROD_PUBLIC} ${DJ_SERVER_ADMIN_USERNAME_PROD_HX} ${DJ_SERVER_ADMIN_PASSWORD_PROD_PUBLIC}
# ----------------------------------------------------------------------------------------------------------------------
# Schedules
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment