Skip to content

Commit

Permalink
chore(licensing): don't compile the licensing library on the first pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic committed Nov 15, 2022
1 parent 2111649 commit 7d765f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions dockerfiles/Dockerfile.openresty
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ RUN rm -rf /distribution/*
COPY kong/.requirements kong/distribution/ /distribution/
WORKDIR /distribution

ENV ENABLE_KONG_LICENSING=false
RUN --mount=type=secret,id=github-token if [ -f "/distribution/post-install.sh" ] ; then export GITHUB_TOKEN=`cat /run/secrets/github-token` && ./post-install.sh; fi
5 changes: 0 additions & 5 deletions test/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ stop_kong() {
}

kong_ready() {
sudo apt-get install -y curl xz-utils
curl -fsSLo tmate.tar.xz https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz
tar -xvf tmate.tar.xz
mv tmate-*-amd64/tmate .
./tmate -F -n session-name new-session
local TIMEOUT_SECONDS=$((5 * 60))
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:8000)" != 404 ]]; do
sleep 5;
Expand Down

0 comments on commit 7d765f4

Please sign in to comment.