Change the Docker image for multiple CI jobs from alpine:latest
to amd64/alpine:3.22.0 to ensure compatibility and improve
stability of the build environment. This upgrade addresses
potential vulnerabilities and ensures the use of a more
secure and reliable base image.
Adds a default retry configuration for CI jobs to handle
various failure scenarios. This improves the robustness of
the pipeline by allowing automatic retries for jobs that
fail due to temporary issues.
Update the git-cliff Docker image version to 2.7.0 for enhanced
features and fixes. This change applies to both the release
preparation and changelog stages in the CI configuration.
Modify the command to describe the latest tag to gracefully handle
the scenario where no tags are available. This avoids potential
errors in the script execution when the git repository is
tagless, ensuring the CI pipeline runs smoothly under all
circumstances.
Update the version checking logic in the CI pipeline to ensure that
the script correctly identifies the latest tag. The change checks
if the latest tag is available before comparing it with the
VERSION file, improving reliability in determining if a version
bump is necessary.
This commit updates the Docker images for the pre-commit hooks in both the
Node and Go configuration files to their latest versions. This change ensures
that we are using the most recent fixes and improvements provided by the
pre-commit maintainers, enhancing performance and reliability.
Add GOPRIVATE environment variable for private repos and
create a .netrc file in the before_script to enable
authentication with GitLab. These changes ensure that
private repositories can be accessed during the CI
pipeline, improving the build process.
This change introduces GitLab CI configurations for running
pre-commit hooks on both Node and Go projects. It sets up the
pre-commit environment, ensures necessary dependencies are
installed, and runs pre-commit checks on all files to maintain
code quality and consistency. This automation helps to catch
issues early in the development process.