New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade(installer): Use pipeline OCI image at bootstrap #790
upgrade(installer): Use pipeline OCI image at bootstrap #790
Conversation
8ad9370
to
877ed31
Compare
877ed31
to
5604968
Compare
2534fa4
to
9596bde
Compare
9596bde
to
6c9ab23
Compare
55cee79
to
0011fe4
Compare
0011fe4
to
5475e5d
Compare
@@ -111,6 +117,8 @@ elif [ "${OS}" = "RedHat" ]; then | |||
$sudo_cmd sh -c "echo -e '[datadog]\nname = Datadog, Inc.\nbaseurl = https://${yum_url}/${yum_repo_version}/${ARCH}/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\npriority=1\ngpgkey=${gpgkeys}' > /etc/yum.repos.d/datadog.repo" | |||
$sudo_cmd yum -y clean metadata | |||
$sudo_cmd yum -y install datadog-installer | |||
$sudo_cmd DD_INSTALLER_REGISTRY="${DD_INSTALLER_REGISTRY}" DD_INSTALLER_BOOTSTRAP_VERSION="${DD_INSTALLER_BOOTSTRAP_VERSION}" DD_INSTALLER_REGISTRY_AUTH="${DD_INSTALLER_REGISTRY_AUTH}" /opt/datadog-installer/bin/installer/installer bootstrap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's discuss before merging: I'm wondering if it's not better to keep this on the agent side especially with tests on the bootstrap process itself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be here for individual VMs or the lab, but we could make it optional with a flag for the E2E.
What does this PR do?
The installer installs its latest OCI version during postinst. We should use the one we just built in the pipeline. This is what this PR does: it uses what the agent CI pushes to the QA registries.
Requires DataDog/datadog-agent#24889 & DataDog/datadog-agent#25036
Which scenarios this will impact?
new-e2e-installer
Motivation
Additional Notes