Skip to content

Commit

Permalink
Merge pull request #10 from razorpay/resolve-progress
Browse files Browse the repository at this point in the history
Resolve progress
  • Loading branch information
akashgoyal96 committed Jan 29, 2024
2 parents 0d7c6d4 + df481dc commit 8e2c543
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,16 @@ The result should be a new PR on the Pongo repo.
---
## unreleased
* Fix: `pongo down` would not remove volumes. This
caused orphaned volumes on long running VMs as well as on personal
machines.
* Fix: drop the `--progress` flag from docker commands when building. Since
the flag isn't always available.

---

## 2.7.0 released 7-Jul-2023

* Feat: Kong Enterprise 2.8.4.2, which means that Pongo 2.x will support the
Expand Down
17 changes: 9 additions & 8 deletions pongo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function parse_args {
args_done=1
;;
--debug)
PONGO_DEBUG=true
# PONGO_DEBUG=true
set -x
;;
*)
Expand Down Expand Up @@ -713,15 +713,16 @@ function build_image {
fi

msg "starting build of image '$KONG_TEST_IMAGE'"
local progress_type
if [[ "$PONGO_DEBUG" == "true" ]] ; then
progress_type=plain
else
progress_type=auto
fi
# local progress_type
# if [[ "$PONGO_DEBUG" == "true" ]] ; then
# progress_type=plain
# else
# progress_type=auto
# fi
# The following line caused issues on newer Docker releases, so we're disabling it for now
# --progress $progress_type \
$WINPTY_PREFIX docker build \
-f "$DOCKER_FILE" \
--progress $progress_type \
--build-arg PONGO_VERSION="$PONGO_VERSION" \
--build-arg http_proxy \
--build-arg https_proxy \
Expand Down

0 comments on commit 8e2c543

Please sign in to comment.