-
Notifications
You must be signed in to change notification settings - Fork 903
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
(#2400) Replace UppercuT with Chocolatey.Cake.Recipe #2706
Commits on Jun 23, 2022
-
(chocolatey#2400) Remove all UppercuT related files
These are no longer required, as all the functionality is now being provided by Chocolatey.Cake.Recipe.
Configuration menu - View commit details
-
Copy full SHA for ef22332 - Browse repository at this point
Copy the full SHA ef22332View commit details -
(chocolatey#2400) Remove all tools from lib folder
Previously, the UppercuT build required that all tools were either already installed on the machine, or present in the lib folder of the repository. This strategy is no longer required, as the Chocolatey.Cake.Recipe already has the ability to download the tools when required as part of the build process.
Configuration menu - View commit details
-
Copy full SHA for fae6765 - Browse repository at this point
Copy the full SHA fae6765View commit details -
(chocolatey#2400) Remove NuGet.exe from repository
Storing the NuGet.exe is in the repository is no longer required. This tool will be resolved, as required, when the build runs.
Configuration menu - View commit details
-
Copy full SHA for 9955d57 - Browse repository at this point
Copy the full SHA 9955d57View commit details -
(chocolatey#2400) Change nuspec folder structure
Chocolatey.Cake.Recipe is quite opinionated about the folder structure that is used when creating Chocolatey and NuGet packages. It expects all nuspec files to be stored in a folder structure like the following: - nuspec - chocolatey - nuget With the UppercuT build, this structure existed, just in a slightly different way. This commit updates the folder structure to be what is required.
Configuration menu - View commit details
-
Copy full SHA for fd805ce - Browse repository at this point
Copy the full SHA fd805ceView commit details -
(chocolatey#2400) Add files to run Chocolatey.Cake.Recipe
This includes pinning to the currently supported version of Cake, 0.38.5, and also to include a cake.config file to allow overridding of the checks that Cake does of out of support addins (these are knowingly being overridden at the minute). The Cake bootstrappers that are being used in the Chocolatey GUI build have been copied over into this repository. Within the recipe.cake file, the project specific changes have been made, including which files should be signed, ILMerge'd, etc.
Configuration menu - View commit details
-
Copy full SHA for 983361f - Browse repository at this point
Copy the full SHA 983361fView commit details -
(chocolatey#2400) Build entry files updated to use Cake
Rather than calling into UppercuT the build entry files, i.e. build.bat, etc, have been updated to call into Cake.
Configuration menu - View commit details
-
Copy full SHA for 0ae5b92 - Browse repository at this point
Copy the full SHA 0ae5b92View commit details -
(chocolatey#2400) Update tests to work with Cake output
Cake outputs to a new file (and a lot to the terminal). This updates the script used for running the tests to default to the new location. We also update the Vagrantfile to silently absorb the output from the build script as it seems to output too fast for vagrant to handle consistently.
Configuration menu - View commit details
-
Copy full SHA for cdf96d5 - Browse repository at this point
Copy the full SHA cdf96d5View commit details -
(chocolatey#2400) Update GitHub Action Workflows
The folder structure has changed, as a result, changes to the build, as well as what parameters are passed into the build, need to be made to match the new way of doing things.
Configuration menu - View commit details
-
Copy full SHA for e7b4bbc - Browse repository at this point
Copy the full SHA e7b4bbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85269db - Browse repository at this point
Copy the full SHA 85269dbView commit details -
(chocolatey#2400) Add templates for GitReleaseManager
This will mean that the generated release notes are using the standard look and feel that we want for all release notes.
Configuration menu - View commit details
-
Copy full SHA for 319d0b5 - Browse repository at this point
Copy the full SHA 319d0b5View commit details -
(chocolatey#2400) Update paths for Docker build
The strucutre of the code_drop folder has changed, and the docker portion of the build needs to be updated to reflect this new structure.
Configuration menu - View commit details
-
Copy full SHA for 2da8cac - Browse repository at this point
Copy the full SHA 2da8cacView commit details -
(chocolatey#2400) Removed usage of PublishedApplications
This NuGet package is no longer required, as the work that it was doing is now being handled within the Chocolatey.Cake.Recipe. i.e. the output from the different project types is now copied to the correct locations as part of the build process.
Configuration menu - View commit details
-
Copy full SHA for 2c96238 - Browse repository at this point
Copy the full SHA 2c96238View commit details -
(chocolatey#2400) Remove usage of bdddoc
This is not currently being used, and can be removed as it will reduce maintenance overhead going forward.
Configuration menu - View commit details
-
Copy full SHA for 8c11621 - Browse repository at this point
Copy the full SHA 8c11621View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a20a2e - Browse repository at this point
Copy the full SHA 1a20a2eView commit details -
(chocolatey#2400) Remove unnecessary TeamCity configuration
A lot of the work that was previously being done in the TeamCity settings file is now done by the Recipe, and therefore can be removed.
Configuration menu - View commit details
-
Copy full SHA for 55b96cc - Browse repository at this point
Copy the full SHA 55b96ccView commit details -
(chocolatey#2400) Add additional requirements to build
In order to get the build to work correctly, we need to install a newer version of git on the build machine (this means using the backports registry) and also to install the .NET CLI.
Configuration menu - View commit details
-
Copy full SHA for c33dd9b - Browse repository at this point
Copy the full SHA c33dd9bView commit details -
(chocolatey#2400) Fix Docker build
In order for the Cake Build to correctly identify that it is running on GitHub Actions, in order to assert teh correct branch name to use the environment variables from the GitHub Actions build image have to be passed through to the execution of Docker. We don't need all the variables, just the ones used by Cake to make some assertions.
Configuration menu - View commit details
-
Copy full SHA for 5c69bf2 - Browse repository at this point
Copy the full SHA 5c69bf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c8ad0b - Browse repository at this point
Copy the full SHA 0c8ad0bView commit details -
(chocolatey#2400) Update docs in testing.md
To account for the new way that things are executed under Chocolatey.Cake.Recipe.
Configuration menu - View commit details
-
Copy full SHA for f3b32e2 - Browse repository at this point
Copy the full SHA f3b32e2View commit details -
(chocolatey#2400) Ensure all files are signed
The ordering of the tasks was thrown out a bit due to the introduction of the Prepare-NuGet-Packages and Prepare-Chocolatey-Packages tasks. This corrects that issue, and also maps all the required files
Configuration menu - View commit details
-
Copy full SHA for 3ac35bc - Browse repository at this point
Copy the full SHA 3ac35bcView commit details -
(chocolatey#2400) Add caching of files to GitHub Action
This will mean that Cake and the other tools/dependencies won't need to be resolved/downloaded each time.
Configuration menu - View commit details
-
Copy full SHA for f3bb553 - Browse repository at this point
Copy the full SHA f3bb553View commit details