Skip to content

Commit

Permalink
Merge pull request #3322 from Yelp/u/krall/what_if_we_built_images_in…
Browse files Browse the repository at this point in the history
…_parallel

Add --parallel option to docker-compose build command to save 5 minutes
  • Loading branch information
mattmb authored Feb 21, 2024
2 parents 4e79788 + 833f3a5 commit ffb3336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ commands =
{toxinidir}/k8s_itests/scripts/setup.sh
# Run paasta-tools k8s_itests in docker
docker-compose down
docker-compose --verbose build --build-arg DOCKER_REGISTRY={env:DOCKER_REGISTRY:docker-dev.yelpcorp.com/} --build-arg {env:INDEX_URL_BUILD_ARG:UNUSED}=https://pypi.org/simple
docker-compose --verbose build --parallel --build-arg DOCKER_REGISTRY={env:DOCKER_REGISTRY:docker-dev.yelpcorp.com/} --build-arg {env:INDEX_URL_BUILD_ARG:UNUSED}=https://pypi.org/simple
docker-compose up \
--abort-on-container-exit

Expand Down

0 comments on commit ffb3336

Please sign in to comment.