Skip to content
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

Remove system-probe images entrypoint #292

Merged
merged 13 commits into from
Feb 2, 2023

Conversation

paulcacheux
Copy link
Contributor

@paulcacheux paulcacheux commented Oct 1, 2022

system-probe images use the entrypoint to setup the gimme go version. With a potential future move to k8s runners, we will need to not use entrypoints since those are not supported. This PR removes the system probe entrypoints by installing golang manually, and setting up the *PATH manually as well.

Agent pipeline: https://gitlab.ddbuild.io/DataDog/datadog-agent/-/pipelines/12800264
--> the jobs to look for are build_system_probe*, build_clang*, tests_ebpf*, security_go_generate_check and dependents

@paulcacheux paulcacheux force-pushed the paulcacheux/system-probe-entrypoints branch 2 times, most recently from 797cd07 to d0641d1 Compare November 30, 2022 10:28
@paulcacheux paulcacheux force-pushed the paulcacheux/system-probe-entrypoints branch from 1505300 to f36eff1 Compare January 26, 2023 14:01
@paulcacheux paulcacheux marked this pull request as ready for review January 26, 2023 15:16
@paulcacheux paulcacheux requested review from a team as code owners January 26, 2023 15:16
@paulcacheux
Copy link
Contributor Author

Thanks, I will merge this once the freeze on the agent side is lifted

@paulcacheux paulcacheux merged commit b404755 into main Feb 2, 2023
@paulcacheux paulcacheux deleted the paulcacheux/system-probe-entrypoints branch February 2, 2023 12:33
KSerrania added a commit that referenced this pull request Jun 13, 2023
Updates the deb-x64, deb-arm64, deb-armhf, rpm-x64, rpm-arm64, rpm-armhf, suse-x64 images and removes their entrypoint.

This PR:
- removes the use of `gimme` to install go (same as what was done to remove entrypoints in the system-probe images in #292). Installing go from source is easier (since we only need one go version), and has the benefit of not having to run `gimme <go version>` to enable the use of a go version (which we used to do in the entrypoint script)
- removes the entrypoint scripts in images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants