Commit Graph
74 Commits
Author SHA1 Message Date
Aditya Patwardhan b939b3b759 Merged PR 8402: Port changes for release automation to 6.1.4 2019-05-15 17:03:31 +00:00
Aditya Patwardhan 5f11b65c2e Merged PR 8364: Remove update build table logic from release build
Remove update build table logic from release build
2019-05-14 17:22:12 +00:00
Aditya Patwardhan a14df39606 Add AcessToken variable to jobs that perform signing (#9351)
# Conflicts:
#	tools/releaseBuild/azureDevOps/templates/nuget.yml
2019-05-13 15:23:05 -07:00
Travis Plunk d4848d373d Support release branches based on the forward slash separator (#8903) 2019-02-19 17:36:50 -08:00
Aditya Patwardhan f9cd498d2c Merged PR 7063: Update changelog for release 6.1.3
Also fixed spellings in a README.md
2019-02-14 19:24:52 +00:00
Travis Plunk ba656d27e3 Start tracking release build information in an azure storage table (#8850)
Start tracking release build information in an azure storage table

* Also, fix some issues found when the build is started through a schedule
2019-02-12 09:48:36 -08:00
Travis Plunk d8b8560f49 Add binskim to coordinated build and increase timout (#8834)
Add binskim to coordinated build and increase timout 

## PR Context  

Total timeout for the old build was 220 minutes.
The portions before the compliance take ~30 minutes.
So, I went with 180.

I also found I missed binskim when doing this work
2019-02-07 10:45:13 -08:00
Aditya Patwardhan 9457a9b0ea Remove PDBs from fxdependent pacakge (#8006)
# Conflicts:
#	tools/packaging/packaging.psm1
2019-02-01 15:12:20 -08:00
Travis Plunk 3ea62d3bba Move Final artifacts from universal build to finalResults folder (#8806)
## PR Summary

Move Final artifacts from universal build to `finalResults` folder
2019-02-01 15:12:18 -08:00
Travis Plunk de44cf032c Refactor Unified Release Build (#8804)
Refactor Unified Release Build
  - Make injecting the nuget.config a template
  - Make setting the version variable a template
  - Add parameters to templates where needed
  - Run defender scan before uploading linux packages (and rename step to plain english)
2019-02-01 15:12:18 -08:00
Travis Plunk d3f3e9f1af Add compliance to Coordinated build (#8798)
Add compliance to Coordinated build
  - Also switch to mac internal pool for release build
  - Also turn some duplicate tasks into templates
  - Also fix issue with vscode configuration which causes yaml files not to be recogized as yaml
2019-02-01 15:12:17 -08:00
Travis Plunk 74c225f02f Update the universal build with framework dependent package for dotnet sdk (#8773)
Update the universal build to also build the framework package needed for the dotnet sdk container image.

## PR Context

We build the package in individual builds. This change brings over the steps in the universal build.

# Conflicts:
#	tools/packaging/packaging.psm1
2019-02-01 13:32:52 -08:00
Travis Plunk fd770ea8f1 Add Windows build to universal release build YAML (#8695) 2019-02-01 13:28:20 -08:00
Aditya Patwardhan b9d7006dce Build package build using ubuntu 18.04 image (#8666)
# Conflicts:
#	tools/releaseBuild/build.json
2019-02-01 13:28:20 -08:00
Aditya Patwardhan 2a0d6c8514 Change the feed URL to feed name due to changes in AzDevOps (#8664)
# Conflicts:
#	tools/releaseBuild/azureDevOps/AzArtifactFeed/PSGalleryToAzArtifacts.yml
2019-02-01 12:59:45 -08:00
Andrew 818050d3d5 Adding yml for Windows Release builds (#8374) 2019-02-01 12:59:45 -08:00
Travis Plunk 83f53d02d6 Update SignType in signing.xml (#8223) 2019-02-01 12:59:44 -08:00
Aditya Patwardhan 813a98e028 Merged PR 6438: Update version for README, alpine docker file and hosting tests
Update version for README, alpine docker file and hosting tests
2019-01-09 23:27:20 +00:00
Travis Plunk b340bfea2d Create unified release build for macOS and Linux packages (#8399)
Create unified release build for macOS and Linux packages
  - Also, updated the definition with latest definitions from the definitions in use.

I will work on these in future PRs:

- Add compliance Job
- Add macOS Signing step
- Merging Windows into the YAML
# Conflicts:
#	tools/releaseBuild/azureDevOps/templates/linux.yml
2019-01-07 20:53:05 +00:00
Aditya Patwardhan c49b059aba Merged PR 6027: Build Alpine tar.gz package in release builds
Build Alpine `tar.gz` package in release builds (#8340)

Enable building tar.gz package for Alpine in release builds.

## PR Checklist

- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
    - Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] [Change is not breaking](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---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.
- **User-facing changes**
    - [x] Not Applicable
    - **OR**
    - [ ] User-facing [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
        - [ ] Issue filed - Issue link:
- **Testing - New and feature**
    - [x] Not Applicable or can only be tested interactively
    - **OR**
    - [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting)
        - [ ] [Add `[feature]` if the change is significant or affects feature tests](https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr)
2018-11-28 00:58:03 +00:00
Travis Plunk 472a2bda15 Merged PR 5716: Port changes to allow AzDevOps NuGet feeds for Mac build 2018-11-07 22:03:05 +00:00
Travis Plunk 1ddc3da663 Merged PR 5694: port mac changes from GitHub (#8189, #8188, #8185) 2018-11-06 22:10:02 +00:00
Aditya Patwardhan 89278290d9 Build and package framework dependent package (#7729)
Add the functionality to build a framework dependent (shared framework) package for PowerShell.

The changes create two packages, one for Windows and other for Linux, due to #if code.
2018-09-10 12:55:06 -07:00
Travis Plunk 179ff6bc16 update metadata json in preparation for 6.1 release (#7741)
ReleaseTag is now StableReleaseTag
NextReleaseTag is not PreviewReleaseTag
Added ServicingReleaseTag for the N-1 Stable release
2018-09-10 11:18:50 -07:00
Aditya Patwardhan c41b19923e Fix docker image names for release build (#7726) 2018-09-06 18:00:46 -07:00
Aditya Patwardhan aa6911d2d1 Update docker files to use MCR (#7656) 2018-08-31 16:55:42 -07:00
Aditya Patwardhan f858e6d207 Add Microsoft.PowerShell.MarkdownRender to signing xml (#7472) 2018-08-07 11:47:36 -07:00
Steve Lee 7d72e38604 Updates to build for Alpine (#7139)
setdate.cpp was incorrectly assigning an int to a struct, fixed to initialize struct zero'd
update the typegen project in the bash script
added some help text at top of script for someone trying to build it
updated runtime to linux-musl-x64 instead of linux-x64 as Alpine distro uses the musl libc libraries instead of glibc which is used by most distros.
2018-06-25 14:51:30 -07:00
Travis Plunk a5ec565cae Enable NuGet Package Registration for compliance (#7053)
update the Windows release build script with the ability to capture all the project.assets.json files
add a Windows build to use the new feature in the release build script
update the Linux release build script with the ability to capture all the project.assets.json files
  -no new build is needed because signing is not currently automated
2018-06-15 11:07:27 -07:00
Travis Plunk a3a5c6b774 remove PSReadline from signing 2018-06-06 11:18:20 -07:00
Travis Plunk 4192463ce6 fix issue with setReleaseTag using variable meant for non-release branches during a release (#7011)
There was a regression in the script where a variable meant for non-release branches was used during releases
2018-06-06 10:55:28 -07:00
Aditya Patwardhan 9f25daa059 Added logic to create signing XML for NuGet packages (#6921) 2018-05-22 15:34:21 -07:00
Travis Plunk 731efc2369 Update signing xml based on new signing guidelines (#6893) 2018-05-18 11:55:51 -07:00
Klaudia Algiz 4070d51ee1 Add functions into build.psm1 to Save and Restore PSOptions between different sessions. (#6884)
Add functions into build.psm1 to Save and Restore PSOptions between different sessions.
2018-05-17 19:04:20 -07:00
Travis Plunk 472b5f7bd1 Enable full symbols for windows (#6853)
The main purpose of this was to enable full symbols for windows release build.
Also makes explicit where we are optimizing and where we are not optimizing due to https://github.com/dotnet/corefx/issues/29700
2018-05-14 15:01:44 -07:00
Travis Plunk 438b0e545f Add meta properties to mac VSTS yml (#6619)
Add meta properties to mac VSTS YAML
- Add a property to clean the build machine
- Add a property to set the format of the build name
- add a property to set which queue to run the build in
2018-04-13 15:04:22 -07:00
Steve Lee f760fde0b7 Remove support for file to opt-out of telemetry, only support env var (#6601)
Since a PR added support to opt out of telemetry via an environment variable, we can remove the,
always intended to be a temporary, solution of deleting a file to opt out of telemetry since the
environment variable can be defined at the system level and exist before even installing PowerShell Core.

Because the variable is defined as opt out, a value of true, yes, or 1 means no telemetry is sent.
2018-04-13 10:29:39 -07:00
Travis Plunk aefc0d89b0 make gem use sudo for macOS (#6610)
gem install requires sudo on official macOS build VMs.
- make bootstrap use sudo for macOS
2018-04-10 12:18:11 -07:00
Travis Plunk 8d2dd2ce30 Restore for official Linux arm builds (#6455) 2018-03-21 15:14:09 -07:00
kasper3 271dd50df2 Add Alpine Linux support (#6367)
sys/sysctl header is not available in musl-libc based systems and system calls are available without any header inclusion. I have ported the cmake test from CoreFX repo (https://github.com/dotnet/corefx/blob/431475b8/src/Native/Unix/configure.cmake#L560).

Progress towards: #4605
2018-03-20 13:34:18 -07:00
Travis Plunk 5e1bb01cb3 migrate the mac offical binary build to VSTS mac hosted preview (#6363)
create a PowerShellPackage...ps1 that works with these VMs (vs our custom VM)
create a script to create the \powershell folder with correct permissions
a YML VSTS build definition
2018-03-19 15:56:43 -07:00
Travis Plunk 88b3833ee3 Add no appimage build (#6380) 2018-03-13 13:49:25 -07:00
Travis Plunk 491ee47ee7 When doing daily/test build in a non-release branch use the branch name as the preview name (#6355) 2018-03-12 12:31:34 -07:00
Travis Plunk 5030c9a2fd change the artifact count for wixpdb (#6254) 2018-02-26 18:10:55 -08:00
Travis Plunk 49ec403899 fix MSI creation errors, and capture wixpdb for later patch creation (#6221)
- add `wixpdb` output when creating `MSI` package
- capture `wixpdb` in official build
- clean up anything left behind from previous MSI builds before starting MSI build to prevent using dirty files.
- make sure MSI creation fails if there is an error
- ignore `.wixpdb` files in git
- Add functionality to `Start-NativeExecution` to 
    - only display output if there is an error 
    - log caller information
- WXS validation error fixes
    - Remove unused `ExitDialog` to fix ICE82
    - Add KeyPath to `SetPath` to fix ICE18
    - Use `HKMU` which translates to `HKLM` to runtime to fix various validation errors about creating the shortcut
- Suppress Validation errors
    - suppress ICE61, which is about same version upgrades being allowed
    - suppress ICE57, caused by the shortcut not being installed per user
2018-02-26 15:45:15 -08:00
Travis Plunk 7b2dff8a3c use powershell windowsservercore docker image for release builds (#6226) 2018-02-23 15:26:57 -08:00
Steve Lee c1c5344a88 Update copyright and license headers (#6134)
Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files.

Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks.

Separate PR coming to update contribution document for new source files: #6140

Manually reviewed each change.

Fix #6073
2018-02-13 09:23:53 -08:00
Travis Plunk 363c964ebd add scripts to set/update the release tag in VSTS (#6107) 2018-02-07 15:24:34 -08:00
Dongbo Wang 4dc5512c83 Update packaging and release build scripts to produce zip packages for win-arm/win-arm64 (#5664) 2017-12-11 13:57:02 -08:00
Dongbo Wang 4edfebd69f Fix the Linux release build (#5660)
The Linux release build was broken because AppImage,tar,tar-arm in build.json is turned into a string of "AppImage,tar,tar-arm" by docker run. Now it's changed to use switch parameters.
2017-12-09 13:32:37 -08:00