Creating an application installer library #357
aaronparker
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Are you thinking of using this as part of a private Winget repository? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m adding some functionality to Evergreen that it would be good to get some feedback on - is this useful, what else would you like to see this functionality provide?
With Evergreen you could build a library of app installers for image builds, so that you can install the latest version or rollback to a previous version. So far it looks like this:
Export-EvergreenApp
- exports the application version information fromGet-EvergreenApp
to a JSON file. This function automatically updates an existing file while removing duplicatesNew-EvergreenLibrary
- creates a directory and manifest file where you can build a library of installers. The manifest file stores information about the applications to query via EvergreenInvoke-EvergreenLibraryUpdate
- queries the library manifest, finds the application version info, downloads the installers and then saves the application version info to the JSON file for future reference. This function could be run via a scheduled task to automatically update the libraryHere’s what a library might look like:
The library manifest file lists the applications in the library. For each application we have the name, which is the application name supported by Evergreen and the top-level directory for that app, as well as the filter used to define the application installers to include in the library:
You might create multiple libraries - one library would store production installers, while another library might host preview installers for testing.
Beta Was this translation helpful? Give feedback.
All reactions