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

Simplify Thoth part of the toolchain #233

Open
3 tasks
fridex opened this issue Jan 27, 2022 · 10 comments
Open
3 tasks

Simplify Thoth part of the toolchain #233

fridex opened this issue Jan 27, 2022 · 10 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/devsecops Categorizes an issue or PR as relevant to SIG DevSecOps. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@fridex
Copy link
Contributor

fridex commented Jan 27, 2022

Is your feature request related to a problem? Please describe.

As suggested by @frenzymadness, our tooling could be simplified. Instead of creating a patch, we could maintain our own assemble script and propagate it to containers.

Describe the solution you'd like

  • substitute the assemble script and replace it with Thoth specific assemble script that is copied to the container (instead of having a patch which might be harder to maintain across changes in S2I tooling)
  • verify that Thoth s2i containers work properly with the new Thoth specific assemble script
  • check what are the differences across Thoth based S2I container images and what should be maintained on our end to have a proper compatibility layer available
@fridex fridex added kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/...` label and requires one. labels Jan 27, 2022
@codificat
Copy link
Member

/triage accepted
/priority important-longterm

worth checking the impact on ODH

@sesheta sesheta added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Feb 1, 2022
@goern goern removed the needs-triage Indicates an issue or PR lacks a `triage/...` label and requires one. label Feb 15, 2022
@sesheta
Copy link
Member

sesheta commented May 16, 2022

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@sesheta sesheta added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 16, 2022
@fridex
Copy link
Contributor Author

fridex commented May 16, 2022

/remove-lifecycle stale

This might be easy to achieve and can reduce maintenance cost.

@sesheta sesheta removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 16, 2022
@harshad16 harshad16 added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Jul 13, 2022
@codificat codificat moved this to Stakeholder Backlog in [OSG][SCRUM][Project OSG] Aug 8, 2022
@goern
Copy link
Member

goern commented Sep 20, 2022

/help

@sesheta
Copy link
Member

sesheta commented Sep 20, 2022

@goern:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

/help

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@sesheta sesheta added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Sep 20, 2022
@codificat codificat moved this to 📋 Backlog in Planning Board Sep 24, 2022
@codificat
Copy link
Member

/sig devsecops

@sesheta sesheta added the sig/devsecops Categorizes an issue or PR as relevant to SIG DevSecOps. label Sep 26, 2022
@VannTen
Copy link
Member

VannTen commented Jan 17, 2023

After working on thoth-station/adviser#2411 (comment) I'm starting to wonder whether we should implicate Thoth directly as part of container build, at all ; and rather using it as a "lockfile updater" rather than a installer.

Some reasons:

  • Python lockfiles are all about environment reproducibility. If we modify that during the build based on advise from Thoth, it's not necessarily reproducible.
  • increased maintenance on our side (this repo)
  • We can always compose thoth-advise then s2i-build if we truly want, with tekton pipelines for example.

I might be missing some context though on why integrating Thoth advise inside the s2i process is more valuable. I see Thoth more in the role of a pipenv update than a python -m build, to resume this.

@goern @codificat @harshad16 @KPostOffice @Gkrumbach07 wdyt ?

@harshad16
Copy link
Member

The initial thoughts were to provide most of the possible integration points (given that a user trusts the system), and the following was derived:

  • For developers: who want to interact with thoth advise while developing tools
    • kebechet
    • API
    • cli
    • jupyter extension
    • etc
  • For DevOps: want to have a trusted image to deploy the tools in the cloud
    • s2i image.

with the s2i image, the idea was that trusting thoth advice would fix the package issue during the build time. Though it wasn't used the most.
also, it was to cover some cases, like GPU enable images
as the developer build might not have required them. However, they are required for cluster images, so thoth advice could be helpful in those scenarios, where the environment dictates the package installation.

@VannTen
Copy link
Member

VannTen commented Jan 18, 2023 via email

@harshad16
Copy link
Member

Suggestion:

  • Move all component using s2i-thoth directly use s2i-python .
  • No longer maintain s2i-thoth and add disclaimer.
  • Analyse the impact on downstream images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/devsecops Categorizes an issue or PR as relevant to SIG DevSecOps. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: 📋 Backlog
Development

No branches or pull requests

6 participants