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.
Update chrome version to 108
See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/622
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
Add amazon linux 2022 image
See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/594
Merged-by: DJ Mountney <dj@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: DJ Mountney <dj@gitlab.com>
Reviewed-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Reviewed-by: DJ Mountney <dj@gitlab.com>
Co-authored-by: Dmitry Makovey <dmakovey@gitlab.com>
We often have flaky tests around emoji rendering. Maybe we can improve
the test quality by adding a proper emoji font.
The existing install-noto-image script wasn't utilized and could be
simplified anyhow. Furthermore I think it is fine to install the font
when Chrome is installed, given that we use the Chrome images for
integration tests with the browser.
Replace `apt install` with `apt-get install` because the former should
not be used for scripting purposes.
Otherwise I wasn't able to get it running locally as well.