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

fix: Replace default GitLab version and fix for docker-machine download url. #458

Merged
merged 3 commits into from
Mar 7, 2022

Conversation

JulianCBC
Copy link
Contributor

@JulianCBC JulianCBC commented Mar 3, 2022

Description

Both the default GitLab Runner and docker-machine download steps are broken:

Fix these by:

  1. Updating the docker-machine download URL generation to explicitly use GitLab's version as the official Docker version is dead and buried
  2. Switch from an explicit docker-machine download URL to specifying the GitLab fork's latest version
  3. Upgrade to GitLab Runner version 14.8.2

Migrations required

  • If users are explicitly setting the download URL or GitLab runner version, this won't change anything
  • If users are using the defaults, this will upgrade these components which shouldn't cause issues
  • However if users are expecting to use the official version of docker-machine by specifying a version and blanking the download URL, this will migrate them to the GitLab fork and probably break as the version number scheme has changed.

Verification

This has been verified on my production environment, which is a slightly tweaked version of the "runner-docker" example.

Documentation

Documentation has been updated using terraform-docs.

Update the version-generated URL to use the GitLab fork of
docker-machine as the official one is dead and buried.
GitLab has made the "generic" URLs which end in `/docker-machine`
inaccessible, so instead specify a version for docker-machine and use
the URL generation as that both produces URLs that work and should do
the right thing in most cases.

Fixes cattle-ops#457.
Version 14.8.0 had a major regression and was removed from all release
distribution channels. Update to 14.8.2 as that's the latest 14.8.x
version.

Fixes cattle-ops#456
Copy link
Collaborator

@npalm npalm left a comment

Choose a reason for hiding this comment

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

@JulianCBC All good! thanks a lot!

@npalm npalm changed the title Update / fix dependency versions fix: Replace default GitLab version and fix for docker-machine download url. Mar 7, 2022
@npalm npalm merged commit c8113bb into cattle-ops:develop Mar 7, 2022
semantic-releaser bot pushed a commit that referenced this pull request Mar 7, 2022
### [4.41.1](4.41.0...4.41.1) (2022-03-07)

### Bug Fixes

* remove the null resource ([#441](#441)) ([3037c54](3037c54))
* Replace default GitLab version and fix for docker-machine download url. ([#458](#458)) ([c8113bb](c8113bb)), closes [#457](#457) [#456](#456)
@semantic-releaser
Copy link
Contributor

🎉 This PR is included in version 4.41.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

npalm pushed a commit that referenced this pull request Mar 7, 2022
…ad url. (#458)

* feat: Switch to GitLab's forked docker-machine version

Update the version-generated URL to use the GitLab fork of
docker-machine as the official one is dead and buried.

* fix: Default to a version instead of an explicit URL

GitLab has made the "generic" URLs which end in `/docker-machine`
inaccessible, so instead specify a version for docker-machine and use
the URL generation as that both produces URLs that work and should do
the right thing in most cases.

Fixes #457.

* fix: Update runner version to 14.8.2

Version 14.8.0 had a major regression and was removed from all release
distribution channels. Update to 14.8.2 as that's the latest 14.8.x
version.

Fixes #456
@JulianCBC JulianCBC deleted the fix-dependency-versions branch March 7, 2022 22:08
npalm added a commit that referenced this pull request May 17, 2022
…ad url. (#458)

* feat: Switch to GitLab's forked docker-machine version

Update the version-generated URL to use the GitLab fork of
docker-machine as the official one is dead and buried.

* fix: Default to a version instead of an explicit URL

GitLab has made the "generic" URLs which end in `/docker-machine`
inaccessible, so instead specify a version for docker-machine and use
the URL generation as that both produces URLs that work and should do
the right thing in most cases.

Fixes #457.

* fix: Update runner version to 14.8.2

Version 14.8.0 had a major regression and was removed from all release
distribution channels. Update to 14.8.2 as that's the latest 14.8.x
version.

Fixes #456
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants