-
Notifications
You must be signed in to change notification settings - Fork 5
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
Using the CLI in automated builds design #23
Comments
@mairadanielaferrari added some our Slack conversation here for posterity. Maira I ask because there are three ways to create actions.
Docker will be easier but I think would be better to go with 2 or 3 so we allow people to run our actions on any operating system. Thoughts? Chris For example, JournalBooks. How would we use Freshli CLI during the build process. What information would we like to see? Could we use Freshli CLI to fail the build if our dependencies where not "fresh" enough? Once we have figured some examples of how Freshli CLI will be used in a build process we can look at wrapping it in GitHub actions. My guess is that the CLI will need new options and/or return different data then it currently does to make is useful in a CI process. For example, you try the CLI in the JournalBooks CI. Currently the CLI does not return a single "freshness" value we can use in during the build. You create a new GitHub issue to that describes the value you want the CLI to return and why. Then you, or someone else, adds that feature to the Freshli CLI. You use the new Freshli CLI in the JournalBooks build and this part works but you find new features you think would be useful and the process repeats it's self. Maira
I think there is also a way to trigger an Github action from a Jenkins Build. Chris Chris I'm sure there is a way to set dotnet tools to read from a package manager that is not NuGet. That or you have to use a "curl", or similar command, to download the CLI from the GitHub Release. Maira
Maira Chris C |
@mairadanielaferrari some notes from our meeting today. Let me know if I missed anything. Our meeting also involved the corgibytes/freshli#32 design issue.
Two concert issues came out of our meeting:
I'll create these issues and assign them to you. |
Try to use the CLI in automated builds and find out what features would be useful. Trying to use the CLI in automated builds will hopefully create some discussion in this case and also issue/PRs for both the CLI and Lib.
On example of using Freshli CLI in an automated build is to get a Freshness score and fail the build the score is too high (i.e. dependencies our too out of date). How high is too high? Can we compare it with the previous builds Freshness score?
Another example is can the CLI produce data that can be used by the Continuous Integration platform in a graph? Can it upload the data somewhere useful to the user? Perhaps upload it to Freshli Web?
Any other ideas?
Note: Currently this issue is assigned to @mfcorgi but I'm hoping that others will try the CLI in their automated build and give us feedback.
The text was updated successfully, but these errors were encountered: