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

don't set the API_VERSION anymore, ensure minimum version through code #384

Merged
merged 6 commits into from
Oct 17, 2022

Conversation

jonapich
Copy link
Contributor

@jonapich jonapich commented Oct 12, 2022

Setting the DOCKER_API_VERSION prevents using updated APIs; this was not the goal. The current PR will query the client version and compare against a range of allowed versions:

  • If there's an error, we skip validation. Uncharted territories.
  • If it's not valid, we exit.

@jonapich jonapich changed the base branch from master to DT-5015/fix-ci October 13, 2022 10:18
Base automatically changed from DT-5015/fix-ci to master October 13, 2022 10:30
@jonapich jonapich marked this pull request as ready for review October 13, 2022 11:11
docker_version_test.go Outdated Show resolved Hide resolved
docker.go Outdated Show resolved Hide resolved
Co-authored-by: William Trépanier <39393794+wtrep@users.noreply.github.com>
@jonapich jonapich merged commit 6a5aa3d into master Oct 17, 2022
@jonapich jonapich deleted the fix/DT-5198-DT-5199-min-docker-version branch October 17, 2022 12:45
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.

4 participants