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

Scripts needed to build and sign PSSA via MS VSTS so it can be published in the gallery #983

Merged

Conversation

@JamesWTruher
Copy link
Member

JamesWTruher commented May 4, 2018

PR Summary

In order to meet the release gates Microsoft has with regard to software publishing, the module must be built in a specific way and signed in a specific manner. This PR provides all the scripts needed to meet those gates and automate the release build for publishing.

This code does not affect script analyzer in any way other than to provide an alternative build mechanism.

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets. Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
    • Use the present tense and imperative mood when describing your changes
  • Summarized changes
  • User facing documentation needed
  • Change is not breaking
  • Make sure you've added a new test if existing tests do not effectively test the code changed
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready
@bergmeister
Copy link
Collaborator

bergmeister commented May 5, 2018

Some ps1 and psm1 files are missing the copyright header and some commented out lines are left in there

@bergmeister bergmeister added this to the 1.17 milestone May 5, 2018
@@ -0,0 +1,34 @@
# escape=`
#0.3.6 (no powershell 6)
# FROM microsoft/windowsservercore

This comment has been minimized.

@TravisEz13

TravisEz13 May 7, 2018 Member

nit: this line can be removed

"Windows": {
"Name": "win7-x64",
"RepoDestinationPath": "C:\\PSScriptAnalyzer",
"BuildCommand": "C:\\containerFiles\\buildPSSA.ps1",

This comment has been minimized.

@TravisEz13

TravisEz13 May 7, 2018 Member

non-blocking:
_DockerVolume_ is supposed to be passed as a parameter for where you are supposed to copy the results to.

This will become more important when we migrate to a new build system and the path is not the same

Copy link
Member

TravisEz13 left a comment

Nothing blocking, but two minor issue. One should, at least be tracked

@bergmeister
Copy link
Collaborator

bergmeister commented May 7, 2018

My comment is not blocking as well. I do not think it makes sense for me to review this PR in this special case. Whatever works fine for you guys is OK.

JamesWTruher added 3 commits Apr 7, 2018
Updated docker file and releasemaker module
…d on _DockerVolume_

Remove a comment
@JamesWTruher JamesWTruher force-pushed the JamesWTruher:jameswtruher/release01 branch from deab984 to 82ebc03 May 8, 2018
…ere based on _DockerVolume_"

This reverts commit 82ebc03.
@JamesWTruher
Copy link
Member Author

JamesWTruher commented May 8, 2018

we build now and create appropriately signed binaries - I opened issue #993 to track when we move to new build/signing infrastructure

@JamesWTruher JamesWTruher merged commit 1479ed6 into PowerShell:development May 8, 2018
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
license/cla All CLA requirements met.
Details
# escape=`
#0.3.6 (no powershell 6)
# FROM microsoft/windowsservercore
FROM microsoft/dotnet-framework:4.7.1

This comment has been minimized.

@bergmeister

bergmeister May 10, 2018 Collaborator

@TravisEz13 @JamesWTruher Could building with .net 4.7.1 cause issues for customers that do not have this relatively new runtime installed?

This comment has been minimized.

@TravisEz13

TravisEz13 May 18, 2018 Member

For Full DotNet, it is supposed to be compatible between major versions unless the product uses features that are specific to the newer version. I've worked on other products that did exactly what this is doing but were just very careful not to use newer features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.