Skip to content

Fix pipeline failures

Tomasz Maczukin requested to merge fix-pipelines into main

NOTE THAT THIS FORK IS MAINTAINED FOR CRITICAL BUG FIXES AFFECTING RUNNING COSTS ONLY. NO OTHER CONTRIBUTIONS WILL BE ACCEPTED.

What critical bug this MR is fixing?

Recent update in golang.org/x/tools (which is a nested dependency of golang.org/x/lint that Docker Machine project is using) related to "Go 1.12 support is dropped" have caused our pipelines to start failing, because we're still on Go 1.12.x.

The good news is that golang.org/x/lint itself points an older version of golang.org/x/tools. The only thing we need to do is to enable usage of Go Modules when installing the linter.

Which is what this MR does.

How does this change help reduce cost of usage? What scale of cost reduction is it?

In what scenarios is this change usable with GitLab Runner's docker+machine executor?

Edited by Tomasz Maczukin

Merge request reports