Update docker engine and remove manual buildx installation
See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/642
Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Lin Jen-Shin <jen-shin@gitlab.com>
Reviewed-by: Lin Jen-Shin <jen-shin@gitlab.com>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
Add golangci-lint version to image tag
See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/643
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Clemens Beck <cbeck@gitlab.com>
gitaly: Build UBI images with Go 1.19
See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/606
Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Reviewed-by: Patrick Steinhardt <psteinhardt@gitlab.com>
Co-authored-by: DJ Mountney <dj@gitlab.com>
Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
We only build Gitaly's UBI images with Go 1.18, but Gitaly is about to
start supporting Go 1.19. Build images for both versions so that Gitaly
can upgrade their CI jobs to test with both versions.
This reduces the image size from around 2.2GB down to 100MB. This is to,
hopefully, reduce issues we're seeing where our pipelines are running
out of disk space.
We choose a SHA here as this repo does not contain any useable tags and
it does not seem that they keep tagged versions. Tracking master would
probably be too risky as backwards incompatible changes could come up
and break our CI environment which would be quite time consuming to
debug.
Add ginkgo v2 to operator build base
See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/634
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Clemens Beck <cbeck@gitlab.com>
Per
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/108937#note_1257390002
This renames `zoekt-ci-image` so that we can have a versioned
`zoekt-ci-image-1.0`. This will allow us to make changes and bump the
version if we end up with breaking changes.
This still targets a fork of Zoekt because we're waiting on
[1 more PR](https://github.com/sourcegraph/zoekt/pull/496)
to be merged before we can target the main repository. At this point
we'll change the cloning command and check out a stable SHA or tag from
the main repo rather than tracking a branch like this is doing now.
ci: Only build custom images that need to be rebuilt
Closes#36
See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/633
Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Reviewed-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Rémy Coutable <remy@rymai.me>
Upgrade gitlab-operator-build-base image to Go 1.18.10
See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/627
Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Mitchell Nielsen <mnielsen@gitlab.com>
Reviewed-by: Mitchell Nielsen <mnielsen@gitlab.com>
There were a number of issues:
1. `rustc` wasn't actually installed since the `INSTALL_RUST_VERSION`
argument wasn't set.
2. `rustup` wasn't running properly since the `CARGO_HOME` and
`RUSTUP_HOME`weren't being exported and set by default. We now use the
technique described in https://github.com/rust-lang/rustup/issues/1085
to create a wrapper and link all the binaries in /opt/rust/bin and
link them to /usr/local/bin.
3. `rustc version` is not a valid command. `rustc --version` is valid.