Commit bbd0cf1e authored by Sebastian Miller's avatar Sebastian Miller
Browse files

fill_db.sh interpreter changed to sh, CI should now work

parent c7f1436c
......@@ -22,7 +22,6 @@ unit-tests:ensembler:
only:
- integration
script:
- echo $CI_PROJECT_DIR
- cd $ENSEMBLER_DIR
- pip install --no-cache-dir --upgrade pip
- pip install --no-cache-dir poetry
......@@ -51,6 +50,7 @@ build:ensembler:
paths:
- image
# Test requests sent to endembler
integration-tests:ensembler:
stage: integration-tests
image: $DOCKER_DIND_IMAGE
......@@ -80,11 +80,8 @@ integration-tests:ensembler:
-v $ENSEMBLER_DIR/tests/config/properties.yml:/ensembler/config/properties.yml
ensembler
- apk add --no-cache python3 py3-pip
- cd $SYSTEM_SETUP_DIR
- cd influxdb
- ls -l
- cd $SYSTEM_SETUP_DIR/influxdb
- chmod +x ./fill_db.sh
- ls -l
# Upload test data to InfluxDB
- ./fill_db.sh 'influxdb' 'sample_data_separate_runs'
- cd $ENSEMBLER_DIR
......
#!/bin/bash
#!/bin/sh
if [ "$#" -ne 2 ]; then
echo "Usage: ./fill_db.sh <influx_host:influx_port> <sample_data_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