Script to run multiple ORT steps in one call #9280
NicolasToussaint
started this conversation in
Show and tell
Replies: 4 comments
-
Hi @NicolasToussaint, thanks for sharing what you've done! To give you an overview, we currently have
My simple fear is that adding yet more scripts creates too much confusion for our users what to use. Do you see a chance for consolidating your work with any of the above? |
Beta Was this translation helpful? Give feedback.
0 replies
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We (with @woznik) wrote a script to run multiple ORT steps in one call, to make producing ORT reports super easy from CI/CD.
There are 5 hard coded profiles, that will run different steps and exit, automatically reusing previous report file to feed the next step. For example, profile
LICENSING
will runanalysis
,scan
andreport
steps.The script embeds other features that we needed.
I guess the "hard coded" part is not ideal, but it wouldn't be hard to read a Json configuration to that anyone could create their own profiles.
Before I go into this, I would love to get feedback to know if that feature would be of any interest as a contribution to the ORT project ?
Current script is here: https://github.com/Orange-OpenSource/ort/blob/main-with-profiles/scripts/run-profiles.sh (with adapted docker run script)
Beta Was this translation helpful? Give feedback.
All reactions