Kong / kong-build-tools

Build tools to package and release Kong
Apache License 2.0
83 stars 72 forks source link

fix(test): Enable Alpine Smoke Tests #631

Closed curiositycasualty closed 1 year ago

curiositycasualty commented 1 year ago

To match the rest of the platforms.

This seems like it was work that was meant to have been come back to, but never was. The origins for this work date back to: https://github.com/Kong/kong-build-tools/pull/339

curiositycasualty commented 1 year ago

I expect this to fail for alpine because the alpine images at present are non-conformant with the rest of the OSs re: permissions on (at least) the /etc/kong directory:

docker run -e KONG_DATABASE=off  --rm -it kong/kong-gateway-internal:master-alpine sh -xc "find /etc/kong/ -exec stat -c '%U:%G' '{}' ';'"
+ find /etc/kong/ -exec stat -c '%U:%G' '{}' ';'
UNKNOWN:UNKNOWN
UNKNOWN:UNKNOWN
root:root
docker run -e KONG_DATABASE=off  --rm -it kong/kong-gateway-internal:master-ubuntu sh -xc "find /etc/kong/ -exec stat -c '%U:%G' '{}' ';'"
+ find /etc/kong/ -exec stat -c %U:%G {} ;
kong:kong
kong:kong
kong:kong
curiositycasualty commented 1 year ago

Closing own stale PRs.