Skip to content

Commit

Permalink
pipeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Depreys Alexander committed Dec 11, 2024
1 parent 3d393f9 commit aa0eb6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion influx_seed.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ CMD sleep 5 && \
./influx write -b ${DOCKER_INFLUXDB_INIT_BUCKET} -f ./Irms.csv --host http://influxdb2:8086 --org ${DOCKER_INFLUXDB_INIT_ORG} --token ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN} && \
./influx write -b ${DOCKER_INFLUXDB_INIT_BUCKET} -f ./totalP.csv --host http://influxdb2:8086 --org ${DOCKER_INFLUXDB_INIT_ORG} --token ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN} && \
./influx write -b ${DOCKER_INFLUXDB_INIT_BUCKET} -f ./Urms.csv --host http://influxdb2:8086 --org ${DOCKER_INFLUXDB_INIT_ORG} --token ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN} && \
./influx write -b ${DOCKER_INFLUXDB_INIT_BUCKET} -f ./work.csv --host http://influxdb2:8086 --org ${DOCKER_INFLUXDB_INIT_ORG} --token ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN}
./influx write -b ${DOCKER_INFLUXDB_INIT_BUCKET} -f ./work.csv --host http://influxdb2:8086 --org ${DOCKER_INFLUXDB_INIT_ORG} --token ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN} && \
tail -f /dev/null
3 changes: 2 additions & 1 deletion mongo_seed.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CMD mongoimport --host db --username ${MONGO_INITDB_ROOT_USERNAME} --password ${
mongoimport --host db --username ${MONGO_INITDB_ROOT_USERNAME} --password ${MONGO_INITDB_ROOT_PASSWORD} --authenticationDatabase=admin -d ${DATABASE_NAME} -c ${EQUIPMENT_COLLECTION} --type json --file ./EquipmentList.json --jsonArray && \
mongoimport --host db --username ${MONGO_INITDB_ROOT_USERNAME} --password ${MONGO_INITDB_ROOT_PASSWORD} --authenticationDatabase=admin -d ${DATABASE_NAME} -c ${STAFF_COLLECTION} --type json --file ./Staff.json --jsonArray && \
mongoimport --host db --username ${MONGO_INITDB_ROOT_USERNAME} --password ${MONGO_INITDB_ROOT_PASSWORD} --authenticationDatabase=admin -d ${DATABASE_NAME} -c ${USER_COLLECTION} --type json --file ./Users.json --jsonArray && \
mongoimport --host db --username ${MONGO_INITDB_ROOT_USERNAME} --password ${MONGO_INITDB_ROOT_PASSWORD} --authenticationDatabase=admin -d ${DATABASE_NAME} -c ${WARNING_COLLECTION} --type json --file ./Warnings.json --jsonArray
mongoimport --host db --username ${MONGO_INITDB_ROOT_USERNAME} --password ${MONGO_INITDB_ROOT_PASSWORD} --authenticationDatabase=admin -d ${DATABASE_NAME} -c ${WARNING_COLLECTION} --type json --file ./Warnings.json --jsonArray && \
tail -f /dev/null


0 comments on commit aa0eb6c

Please sign in to comment.