Skip to content

Commit

Permalink
Remove docker image after tsbs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatas committed Jun 23, 2021
1 parent 995be4d commit 2ff5561
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/full_cycle/full_cycle_timescaledb.sh
Expand Up @@ -14,8 +14,6 @@ DATABASE_NAME=${DATABASE_NAME:-"benchmark"}


CONTAINER_NAME=timescaledb_benchmark
# only because you're going to do benchmarks and don't wanto to persist it
sudo docker rm -f $(sudo docker ps -aq --filter name=$CONTAINER_NAME)
# setup pg with password and expose the default port.
sudo docker run -d --name $CONTAINER_NAME -p 5432:$PORT \
-e POSTGRES_PASSWORD=$PASSWORD \
Expand Down Expand Up @@ -86,3 +84,6 @@ do
--workers=${WORKERS} \
--file=$TARGET_DATA_FOLDER/timescaledb_query_$_type
done

# only because you're going to do benchmarks and don't wanto to persist it
sudo docker rm -f $(sudo docker ps -aq --filter name=$CONTAINER_NAME)

0 comments on commit 2ff5561

Please sign in to comment.