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(releases): updating Alpine to 3.11 #672

Merged
merged 10 commits into from
May 13, 2020
Merged

Conversation

subnetmarco
Copy link
Contributor

@subnetmarco subnetmarco commented Apr 10, 2020

Updating alpine to version 3.11.

We also need to update the resolve_ip function when installing the example in docker-composer. Drop nslookup and replace it with a simpler getnent approach. This makes it more portable and stable across upgrades.
Use the occasion to bump the Ubuntu image in the CI, so we ensure we run on the latest docker/docker-composer available in CirlceCI's VMs.

@subnetmarco subnetmarco requested a review from a team April 10, 2020 02:29
subnetmarco and others added 7 commits April 17, 2020 18:04
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Use a more portable ip address resolving to work with the new Alpine.

Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
@nickolaev nickolaev force-pushed the chore/update-alpine branch from c45a096 to 1fec421 Compare May 13, 2020 07:59
@nickolaev nickolaev force-pushed the chore/update-alpine branch 7 times, most recently from fa8e6a5 to 9a02e83 Compare May 13, 2020 13:35
Nikolay Nikolaev added 2 commits May 13, 2020 17:11
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
@nickolaev nickolaev force-pushed the chore/update-alpine branch from 9a02e83 to 7050efb Compare May 13, 2020 14:16
@nickolaev nickolaev requested a review from lobkovilya May 13, 2020 16:16
@@ -7,7 +7,7 @@ set -e
#

function resolve_ip {
nslookup "${1}" 2>/dev/null | tail -1 | awk '{print $3}'
getent hosts ${DATAPLANE_HOSTNAME} 2>/dev/null | awk -e '{ print $1 }'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what you mean, but if you refer to resolving localhost that might be a thing. You should try it.
BTW all the credit for this specific solution should go to @jakubdyszkiewicz for finding it. I tried other tricks.

@nickolaev nickolaev merged commit 3e2df84 into master May 13, 2020
@nickolaev nickolaev deleted the chore/update-alpine branch May 14, 2020 10:17
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