-
Notifications
You must be signed in to change notification settings - Fork 899
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
Integration Testing Build Enhancements #1949
Labels
5 - Released
BuildAutomation
Improvement
NO RELEASE NOTES
Should not be included in the release notes - not enhancing or fixing end product.
Milestone
Comments
@jborean93 this will remove that extra message to parse if you use |
ferventcoder
added a commit
that referenced
this issue
Oct 25, 2019
When attempting to test integrations, folks use -r as part of that (limit output). When using an unofficial build to attempt that testing, we previously have shown a message no matter what that tells folks they are on an unofficial build - that needed to be parsed and ignored where an official build would not have had that. When using limit output, log only to the file.
ferventcoder
added a commit
that referenced
this issue
Oct 25, 2019
When building the Chocolatey package without the official strong name key, it would not properly create the nuget package due to running `choco unpackself -f` without the additional `--allow-unofficial-build`. Instead it would throw an error about needing that passed. Having that additional switch is ignored on official builds. Add it to the `nugetPrepare.post.step` file as part of the arguments to ensure that the nuget package has all of same components that the officially strong named package would have.
gep13
added a commit
to gep13/choco
that referenced
this issue
Oct 29, 2019
This will be used when preparing for an official release of Chocolatey, to ensure that the correct strong name key is being used, and also that the necessary checks are being done when loading the Chocolatey Licensed assembly into the Chocolatey process. The FORCE_CHOCOLATEY_OFFICIAL_KEY compilation symbol if used in if/def statements to make this logic happen. A new build.official.bat file was also created to make the calling of this specific build easier to do as well.
gep13
added a commit
to gep13/choco
that referenced
this issue
Oct 30, 2019
This will be used when preparing for an official release of Chocolatey, to ensure that the correct strong name key is being used, and also that the necessary checks are being done when loading the Chocolatey Licensed assembly into the Chocolatey process. The FORCE_CHOCOLATEY_OFFICIAL_KEY compilation symbol if used in if/def statements to make this logic happen. A new build.official.bat file was also created to make the calling of this specific build easier to do as well.
gep13
added a commit
to gep13/choco
that referenced
this issue
Oct 30, 2019
This will be used when preparing for an official release of Chocolatey, to ensure that the correct strong name key is being used, and also that the necessary checks are being done when loading the Chocolatey Licensed assembly into the Chocolatey process. The FORCE_CHOCOLATEY_OFFICIAL_KEY compilation symbol if used in if/def statements to make this logic happen. A new build.official.bat file was also created to make the calling of this specific build easier to do as well.
ferventcoder
added a commit
that referenced
this issue
Oct 30, 2019
(GH-1949) New official release build configuration
ferventcoder
added a commit
that referenced
this issue
Oct 31, 2019
* stable: (maint) Remove whitespace (GH-1949) New official release build configuration
ferventcoder
added a commit
that referenced
this issue
Nov 18, 2019
Previously, Debug vs Release was the switch to where Chocolatey resolved its location along with where the licensed dll would be. Now use the official key setting to determine that switching. This should allow locating items next to chocolatey if local as well as when installed at the machine level. For release official mode, maintain what used to be Release to allow for that same behavior to continue.
ferventcoder
added a commit
that referenced
this issue
Nov 18, 2019
In the .uppercut file, there is a call that is lacking a variable being created. Ensure that it is set appropriately to a good default value prior to being used. Remove the call in the build.bat file as it is now unnecessary.
ferventcoder
added a commit
that referenced
this issue
Nov 19, 2019
Previously, there was an attempt to use an either or key check when attempting to find the right assemblies to resolve. Unfortunately that was a bit optimistic as there is a strong tie in for using one type of key all the way through to other assemblies. Only check against one type of key for resolution to allow things to resolve appropriately. This removes a mix and match thought process that was optimistic.
ferventcoder
added a commit
that referenced
this issue
Nov 19, 2019
Add missed `FORCE_CHOCOLATEY_OFFICIAL_KEY` compilation symbol for chocolatey and chocolatey.resources (the latter being more of a safeguard for future development).
ferventcoder
added a commit
that referenced
this issue
Nov 21, 2019
When in release mode, a chocolatey.dll could be next to something being tested. However, most of the time, for testing, it will be located at the machine level install. When that is the case, the chocolatey assembly is loaded into memory to keep from locking the files and the executing assembly path is null, so it uses the current directory. Instead prefer to look near the entry assembly, then defer to the environment variable for the machine installation.
ferventcoder
added a commit
that referenced
this issue
Nov 21, 2019
* stable: (GH-1949) Release mode - use entry assembly to check
ferventcoder
added a commit
that referenced
this issue
Nov 21, 2019
Some testing platforms will not provide an entry assembly, so it can come back null. In this case, look for the entry assembly first, then look at the executing assembly. This should work in near all test cases. This is also not part of official release code.
ferventcoder
added a commit
that referenced
this issue
Nov 21, 2019
* stable: (GH-1949) Release mode - account for null entry assembly
gep13
added
the
NO RELEASE NOTES
Should not be included in the release notes - not enhancing or fixing end product.
label
May 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
5 - Released
BuildAutomation
Improvement
NO RELEASE NOTES
Should not be included in the release notes - not enhancing or fixing end product.
When building Chocolatey for testing, we may not have an official build - we need to better allow for those scenarios for both us and for other organizations to test integrations with other tools.
The text was updated successfully, but these errors were encountered: