Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dep): alpine version bump #495

Merged
merged 1 commit into from
Sep 13, 2021
Merged

chore(dep): alpine version bump #495

merged 1 commit into from
Sep 13, 2021

Conversation

hutchic
Copy link
Contributor

@hutchic hutchic commented Aug 31, 2021

No description provided.

@hutchic hutchic requested review from gszr and Tieske August 31, 2021 14:32
@Tieske
Copy link
Member

Tieske commented Aug 31, 2021

@gszr wasn't the 3.14 release the one that caused issues? when the nightly ce images was build against latest?

@gszr
Copy link
Member

gszr commented Aug 31, 2021

Great catch @Tieske.

Could you refresh my mind on what the issue was? luarocks-related IIRC?

I remember having it on the core-team repo (core-trello tool); just ran a quick test and that one is working fine.

@gszr
Copy link
Member

gszr commented Aug 31, 2021

(Let's hold on merging for now)

@Tieske
Copy link
Member

Tieske commented Aug 31, 2021

here's some info: Kong/kong#7529

@hutchic
Copy link
Contributor Author

hutchic commented Sep 1, 2021

can we add a naive pongo test? We do need this upgrade at some point 3.13 has a vulnerability

@Tieske
Copy link
Member

Tieske commented Sep 2, 2021

from this comment; alpinelinux/docker-alpine#146 (comment) I get that using docker 20.10.0 should fix it.

@Tieske
Copy link
Member

Tieske commented Sep 2, 2021

problem with Pongo tests is that it requires Pongo to be updated to support that version. Current docker files are pinned at latest release Kong version. That would break upon makin g a new release, because Pongo only gets updated after the release.

Best bet might be to make sure our nightly images are build using these official docker files (which they currently are not) because then the nightly-ce based tests for plugins would fail elsewhere and show the problem.

@hutchic
Copy link
Contributor Author

hutchic commented Sep 7, 2021

@Tieske

make sure our nightly images are build using these official docker files (which they currently are not)

Not to be pedantic but they are the official docker files but we needed allow for the ability to manipulate the base image

kong/Jenkinsfile (release per commit)
-> kong/Makefile (release)
-> kong-build-tools/Makefile (release-kong)
-> kong-build-tools/Makefile (test)
-> kong-build-tools/Makefile (build-test-container)
-> kong-build-tools/test/build_container.sh
-> clones git://kong/docker-kong
-> Dockerfile with the base image changed via sed or arguments

https://github.com/Kong/kong-build-tools/blob/f2280a8ed94d7c844ee33d0c798a077c7db5d3b1/test/build_container.sh#L42

The reason we want to manipulate the base image is we use Docker to test our release assets. For example when we build a centos 6 asset we want to test that asset in a centos:6 container. The reason we use sed instead of docker args is the docker official image builder is obnoxious and won't support base images based on arg's.

If I've got the logic train correct .... I think we could ensure the dailies are identical to the offical by passing the OFFICIAL_RELEASE env to build_container.sh then elseif only sed if it's not an official release?

@hutchic
Copy link
Contributor Author

hutchic commented Sep 7, 2021

problem with Pongo tests is that it requires Pongo to be updated to support that version

I was advocating somewhere in our pre-release CI there should be a test that does "does this image" work with pongo. docker-kong seems like the sensible place since this is the repository where changes made here might break pongo later on?

@Tieske
Copy link
Member

Tieske commented Sep 9, 2021

Discussed with @hutchic and @mikefero

  • we consider a December 2020 docker release a fair fix to the problem, hence we'll upgrade to 3.14
  • nightlies go back to alpine:latest, to break ahead of anything official if there are any issues
  • we need to add a comment to the changelogs for future (patch) releases (also informs support)
  • we merge the Pongo CI fix
  • we add Pongo warning at top for potential issues (done)

@gszr
Copy link
Member

gszr commented Sep 10, 2021

I updated Kong/kong#7820 to implement the above -- using latest in daily and 3.14 in finals.

@Tieske
Copy link
Member

Tieske commented Sep 12, 2021

then I think we're done here. @mikefero and @HCloward will take care of the changelogs

dropping the "do not merge" label, and approving

@Tieske
Copy link
Member

Tieske commented Sep 12, 2021

@hutchic please merge when you see fit

@hutchic hutchic merged commit 52444f2 into master Sep 13, 2021
@hutchic hutchic deleted the chore/alpine-bump branch September 13, 2021 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants