Commit 15ba1f5f authored by Sebastian Miller's avatar Sebastian Miller
Browse files

requests test ci attempt 2

parent 609b40f1
......@@ -47,9 +47,12 @@ build:ensembler:
integration-tests:ensembler:
stage: integration-tests
#image: docker/compose:1.29.2
image: python:3.8-slim-buster
only:
- integration
#services:
# - $DOCKER_DIND_SERVICE
services:
- name: rmohr/activemq:5.15.9
alias: activemq
......@@ -58,8 +61,8 @@ integration-tests:ensembler:
variables:
INFLUXDB_ADMIN_USER: admin
INFLUXDB_ADMIN_PASSWORD: admin1234
entrypoint: ["/bin/bash", "-c", "cp /builds/melodic/zpp-assembler/integration/system-setup/influxdb/influx_init.iql \
/docker-entrypoint-initdb.d/influx_init.iql/"] # Volume mounting workaround
entrypoint: ["/bin/bash", "-c", "cp -R /builds/melodic/zpp-assembler/integration/system-setup/influxdb/influx_init.iql \
/docker-entrypoint-initdb.d/influx_init.iql"] # Volume mounting workaround
- name: $CONTAINER_BASE_TAG:$CI_COMMIT_SHA
alias: ensembler
variables:
......@@ -67,7 +70,14 @@ integration-tests:ensembler:
entrypoint: ["/bin/bash", "-c", "cp -R /builds/melodic/zpp-assembler/integration/ensembler_flask/tests/config/* \
/ensembler/config/"] # Volume mounting workaround
script:
#- apt-get update -y
#- apt-get install -y python3.8
- cd $SYSTEM_SETUP_DIR/influxdb
#- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
#- docker pull $CONTAINER_BASE_TAG:$CI_COMMIT_SHA
#- # Set proper image name in docker-compose.yml
#- docker-compose up --detach
#- cd influxdb
- ./fill_db.sh 'influxdb' 'sample_data_separate_runs' # Upload test data to InfluxDB
- cd $CI_PROJECT_DIR
- cd $ENSEMBLER_DIR
......
Supports Markdown
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