Skip to content

Commit

Permalink
fix(debug): re-enable pongo debug-logs using buildkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Jan 29, 2024
1 parent 355c498 commit 5d05e33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@

## unreleased

* Fix: the --debug option will now output full buildlogs again using buildkit
[#513](https://github.com/Kong/kong-pongo/pull/513).

* Fix: kms alias will exit when starting Kong fails.
[#503](https://github.com/Kong/kong-pongo/pull/503).

Expand Down
9 changes: 1 addition & 8 deletions pongo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ function parse_args {
--debug)
# PONGO_DEBUG=true
set -x
export BUILDKIT_PROGRESS=plain
;;
*)
handle_dep_arg "$pongo_arg" || EXTRA_ARGS+=("$pongo_arg")
Expand Down Expand Up @@ -719,14 +720,6 @@ 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
# 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" \
--build-arg PONGO_VERSION="$PONGO_VERSION" \
Expand Down

0 comments on commit 5d05e33

Please sign in to comment.