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

(#2400) Replace UppercuT with Chocolatey.Cake.Recipe #2706

Merged
merged 21 commits into from
Jun 23, 2022

Commits on Jun 23, 2022

  1. (chocolatey#2400) Remove all UppercuT related files

    These are no longer required, as all the functionality is now being
    provided by Chocolatey.Cake.Recipe.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    ef22332 View commit details
    Browse the repository at this point in the history
  2. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    fae6765 View commit details
    Browse the repository at this point in the history
  3. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    9955d57 View commit details
    Browse the repository at this point in the history
  4. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    fd805ce View commit details
    Browse the repository at this point in the history
  5. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    983361f View commit details
    Browse the repository at this point in the history
  6. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    0ae5b92 View commit details
    Browse the repository at this point in the history
  7. (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.
    corbob authored and gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    cdf96d5 View commit details
    Browse the repository at this point in the history
  8. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    e7b4bbc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    85269db View commit details
    Browse the repository at this point in the history
  10. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    319d0b5 View commit details
    Browse the repository at this point in the history
  11. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    2da8cac View commit details
    Browse the repository at this point in the history
  12. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    2c96238 View commit details
    Browse the repository at this point in the history
  13. (chocolatey#2400) Remove usage of bdddoc

    This is not currently being used, and can be removed as it will reduce
    maintenance overhead going forward.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    8c11621 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1a20a2e View commit details
    Browse the repository at this point in the history
  15. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    55b96cc View commit details
    Browse the repository at this point in the history
  16. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    c33dd9b View commit details
    Browse the repository at this point in the history
  17. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    5c69bf2 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0c8ad0b View commit details
    Browse the repository at this point in the history
  19. (chocolatey#2400) Update docs in testing.md

    To account for the new way that things are executed under
    Chocolatey.Cake.Recipe.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    f3b32e2 View commit details
    Browse the repository at this point in the history
  20. (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
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    3ac35bc View commit details
    Browse the repository at this point in the history
  21. (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.
    gep13 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    f3bb553 View commit details
    Browse the repository at this point in the history