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

Upgrade dev and linter containers to Ubuntu 24.04 #1885

Merged
merged 2 commits into from
May 14, 2024

Conversation

ddelnano
Copy link
Member

@ddelnano ddelnano commented Apr 27, 2024

Summary: Upgrade dev and linter containers to Ubuntu 24.04

Relevant Issues: N/A

Type of change: /kind dependencies

Test Plan: CI should pass when using the new images

  • BPF tests on all kernels pass -- #ci:bpf-build-all-kernels build (link)
  • All non BPF tests pass -- #ci:ignore-deps build (link)
  • Builds and test runs on VM provisioned with chef are successful

Changelog Message: Upgrade development environment to Ubuntu 24.04

@ddelnano ddelnano force-pushed the upgrade-chef-and-ubuntu-24-04 branch 2 times, most recently from c127a22 to db69f14 Compare April 30, 2024 14:10
ddelnano added a commit that referenced this pull request May 1, 2024
…`rules_python` (#1886)

Summary: Ensure a hermetic python install is used for `pip_parse` and
upgrade `rules_python`

This is prerequisite work for migrating our docker dev image to Ubuntu
24.04 (#1885). In that PR, I've been running builds from within the
containers built via packer to verify the upgrade is successful. This
change is required to address the following issues:
* The `pip_parse` for `ubuntu_package_deps` comes before the hermetic
python definition. This results in a `ModuleNotFoundError` error without
the `rules_python` upgrade (since python 3.12, shipped with 24.04,
[removed disutils](https://peps.python.org/pep-0632/)).
* The remaining `pip_parse` calls fail when run within a 24.04 container
since it causes python to upgrade to 3.12.

Note: `rules_python` 0.26.0 is the latest version we can easily upgrade
to. The next release has issues with our current version of
`rules_docker`. Since `rules_docker` is deprecated and we are at the
latest version, upgrading beyond 0.26.0 seemed like it would be a more
significant change.

Relevant Issues: N/A

Type of change: /kind dependencies

Test Plan: CI build should pass and running builds in containers from
#1885 succeed

---------

Signed-off-by: Dom Delnano <ddelnano@gmail.com>
@ddelnano ddelnano force-pushed the upgrade-chef-and-ubuntu-24-04 branch from b69b33c to a8a2c57 Compare May 9, 2024 03:29
Signed-off-by: Dom Delnano <ddelnano@gmail.com>
@ddelnano ddelnano force-pushed the upgrade-chef-and-ubuntu-24-04 branch from 8739401 to b71ed3c Compare May 9, 2024 06:56
Signed-off-by: James Bartlett <james@px.dev>
@ddelnano ddelnano force-pushed the upgrade-chef-and-ubuntu-24-04 branch from e7265a9 to ffea355 Compare May 11, 2024 18:49
@ddelnano ddelnano marked this pull request as ready for review May 11, 2024 18:49
@ddelnano ddelnano requested review from a team as code owners May 11, 2024 18:49
@ddelnano ddelnano merged commit a21bf7d into pixie-io:main May 14, 2024
52 checks passed
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