[go: up one dir, main page]

images: Add rpm based images + datadog-ci

What

This is a preliminary work to add datadog-ci to all base images. This MR in particular adds the rpm images + datadog-ci

Followup MR will add support also for apk .

Why

To have observability by default everywhere in the CI

How

The image itself adds datadog-ci to the image using the script images/scripts/install_datadog_static.sh . For the moment this script installs only the binary for amd64 images. After !18217 (merged) it will be possible to install the binary also on arm64 and therefore build both images at once using quemu.

For the moment I use the variable APT_PROXY ( to be renamed ) and a new script to setup the configuration files for dnf. So all images will have access to our proxy.

In a followup MR I'll add also support for kisscache and npm caches

Manually testing the MR

For the moment, these images are not used. We just need to make sure that the images are generated and stored in the registries.

For example:

$ docker pull  us-central1-docker.pkg.dev/nl-gitlab-runner/registry/tezos/tezos/rockylinux:9.3-abate-base-datadog-images-rpm
9.3: Pulling from nl-gitlab-runner/registry/tezos/tezos/rockylinux

$ docker run -it us-central1-docker.pkg.dev/nl-gitlab-runner/registry/tezos/tezos/rockylinux:9.3-abate-base-datadog-images-rpm bash
[root@decc1a8729c0 /]# datadog-ci --version
3.4.0
[root@decc1a8729c0 /]# 

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by pietro

Merge request reports

Loading