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

Allows cachi2 downloads from indy.corp.redhat.com #83

Closed
wants to merge 1 commit into from

Conversation

zregvart
Copy link
Contributor

This configures EC policy to allow download from any repository on indy.corp.redhat.com, I dont know if this is too wide, perhaps it needs to be narrower, e.g. scoped to

indy.corp.redhat.com/api/content/maven/hosted/pnc-builds

This configures EC policy to allow download from any repository on
indy.corp.redhat.com, I dont know if this is too wide, perhaps it needs
to be narrower, e.g. scoped to

    indy.corp.redhat.com/api/content/maven/hosted/pnc-builds
@zregvart
Copy link
Contributor Author

@rhartman93, @ralphbean created this as an example, folk on the RHOAI team use cachi2 generic download to fetch dependencies like this.

---
rule_data:
allowed_package_sources:
- type: generic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- type: generic
- type: maven

Hey, cachi2 now supports fetching maven artifacts directly and reporting them as such in the SBOM. If users used the generic functionality to download maven artifacts, they should migrate to the maven ones, as the indy.corp.redhat.com only hosts those.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reach out to @dchourasia and @MohammadiIram to discuss this

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As for narrowing the url, cc @aloubyansky

@zregvart zregvart closed this Nov 26, 2024
@zregvart zregvart deleted the pr/allow-indy branch November 26, 2024 12:03
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.

2 participants