Skip to content

Drop legacy building #371

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ikerreyes
Copy link
Contributor

Description

Now that a new build script has been implemented in the gathering conditions repo
and it is being used for all versions, we can remove the old code related to the legacy building system.

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Configuration update

Testing steps

Checklist

  • make before_commit passes
  • updated documentation wherever necessary
  • added or modified tests if necessary
  • updated schemas and validators in insights-data-schemas in case of input/output change

The conditions repo has updated its building process
and we need adapt this repo.
The changes include
- add golang to the build step for the conditions as there is a Go tool run as part of the process.
While we can have provided its binary, as we are building 2 version at the same time,
the might be differences in the tool, so to account for that we are compiling the binary at runtime.
- the new build script is in Python, so we need Python in the build image.
Also we are fixing the Python version to 3.11 and creating a venv for it following the instructions provided by the
gathering conditions repo.
- create 2 bash functions one for the new build setup and one for the legacy one
Now that a new build script has been implemented in the gathering conditions repo
and it is being used for all versions, we can remove the old code related to the legacy building system.
@ikerreyes ikerreyes self-assigned this Mar 28, 2025
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.

1 participant