Skip to content
Snippets Groups Projects
Commit 1e1f6766 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Disabled integration test in CI.

parent 21ec63e0
No related branches found
No related tags found
1 merge request!22Repointegration
Pipeline #40088 passed
......@@ -88,43 +88,44 @@ tests:
except:
- /^dev-.*$/
integration-tests:
stage: integration
services:
- postgres:latest
- mongo:latest
# this will cause a warning, as the gitlab ci runner health check will test the wrong
# port on rabbitmq container:
# https://gitlab.com/gitlab-org/gitlab-runner/issues/3163
- rabbitmq
- name: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
alias: elastic
# fix issue with running elastic in gitlab ci runner:
# https://gitlab.com/gitlab-org/gitlab-ce/issues/42214
command: [ "bin/elasticsearch", "-Ediscovery.type=single-node" ]
- name: $TEST_IMAGE
alias: api
command: ["python", "-m", "nomad.client", "run", "api"]
- name: $TEST_IMAGE
alias: worker
command: ["python", "-m", "nomad.client", "run", "worker"]
variables:
POSTGRES_DB: nomad
POSTGRES_USER: postgres
POSTGRES_PASSWORD: nomad
RABBITMQ_ERLANG_COOKIE: SWQOKODSQALRPCLNMEQG
RABBITMQ_DEFAULT_USER: rabbitmq
RABBITMQ_DEFAULT_PASS: rabbitmq
RABBITMQ_DEFAULT_VHOST: /
NOMAD_COE_REPO_DB_HOST: postgres
NOMAD_RABBITMQ_HOST: rabbitmq
NOMAD_ELASTIC_HOST: elastic
NOMAD_MONGO_HOST: mongo
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
- integration/test_integration.sh
except:
- /^dev-.*$/
# does currently not work, current GitLab CI runner does not network services with each other
# integration-tests:
# stage: integration
# services:
# - postgres:latest
# - mongo:latest
# # this will cause a warning, as the gitlab ci runner health check will test the wrong
# # port on rabbitmq container:
# # https://gitlab.com/gitlab-org/gitlab-runner/issues/3163
# - rabbitmq
# - name: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
# alias: elastic
# # fix issue with running elastic in gitlab ci runner:
# # https://gitlab.com/gitlab-org/gitlab-ce/issues/42214
# command: [ "bin/elasticsearch", "-Ediscovery.type=single-node" ]
# - name: $TEST_IMAGE
# alias: api
# command: ["python", "-m", "nomad.client", "run", "api"]
# - name: $TEST_IMAGE
# alias: worker
# command: ["python", "-m", "nomad.client", "run", "worker"]
# variables:
# POSTGRES_DB: nomad
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: nomad
# RABBITMQ_ERLANG_COOKIE: SWQOKODSQALRPCLNMEQG
# RABBITMQ_DEFAULT_USER: rabbitmq
# RABBITMQ_DEFAULT_PASS: rabbitmq
# RABBITMQ_DEFAULT_VHOST: /
# NOMAD_COE_REPO_DB_HOST: postgres
# NOMAD_RABBITMQ_HOST: rabbitmq
# NOMAD_ELASTIC_HOST: elastic
# NOMAD_MONGO_HOST: mongo
# script:
# - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
# - integration/test_integration.sh
# except:
# - /^dev-.*$/
release:
stage: release
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment