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

On commit or on a daily schedule, create a new project and run pipeline #828

Open
Tracked by #815
pombredanne opened this issue Jul 27, 2023 · 1 comment
Open
Tracked by #815
Assignees

Comments

@pombredanne
Copy link
Member

pombredanne commented Jul 27, 2023

I manage a large codebase and I routinely scans it with the deploy_to_devel pipeline.
Furthermore I want to pre-propulate the purlDB with the packages I may be using ahead of these routine larger scans.

Therefore, I want to have a way to run frequently the pre-populate pipeline (or any other pipeline on some codebase).

This could be one of these:

  • GitHub action (on commit or tag or on schedule)
  • pre-commit or git hook that would call the SCIO API to create and run a project
  • a separate script that could be put in a crontab (possibly used in GH action)

The simplest for a start would be to write a script.

Related: #720 and nexB/purldb#87 and #815

@pombredanne pombredanne changed the title On commit or on a daily schedule, create a new project On commit or on a daily schedule, create a new project and run pipeline Jul 27, 2023
tdruez added a commit that referenced this issue Aug 1, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Aug 2, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Aug 2, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Aug 2, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Aug 3, 2023
* Add support for multiple URLs in REST API input_urls field #828
* Add support for adding multiple pipelines in REST API #828

Signed-off-by: Thomas Druez <tdruez@nexb.com>
@tdruez
Copy link
Member

tdruez commented Aug 3, 2023

@pombredanne New documentation available at https://scancodeio.readthedocs.io/en/latest/automation.html

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

No branches or pull requests

2 participants