Commit graph

51 commits

Author SHA1 Message Date
Matt Mitchell
336b2cdcf7
Reenable and fix post build signing (#9176)
Fixes post build signing so that the manifests are conformant with the requirement that items to sign should also appear in the artifacts section of a manifest.
2020-12-01 06:56:48 -08:00
Matt Mitchell
e8dddcc611
[release/5.0.1xx] Enable post build signing (#8764)
* Enable post build signing
Enables post build signing of installer by including the items that need to be signed
post build in an ItemsToSignPostBuild item group and moving the file signing information
into the Signing.props files.

Changes to in-build signing have been verified by taking a drop with the current in-build
structure and comparing the the signatures and strong name keys between files
in equivalent builds.

* Enable post build signing
Enables post build signing of installer by including the items that need to be signed
post build in an ItemsToSignPostBuild item group and moving the file signing information
into the Signing.props files.

Changes to in-build signing have been verified by taking a drop with the current in-build
structure and comparing the the signatures and strong name keys between files
in equivalent builds.

Co-authored-by: dotnet-bot <dotnet-bot@dotnetfoundation.org>
Co-authored-by: Christopher Costa <chcosta@microsoft.com>
2020-10-14 14:55:38 -07:00
Matt Mitchell
03b7ec459d
Remove double publish in stable builds (#8553)
https://github.com/dotnet/arcade/pull/6051 fixed the issue where the install
scripts require matching names of files to directories. Remove the double
publish change introduced in 3.0

Co-authored-by: dotnet-bot <dotnet-bot@dotnetfoundation.org>
2020-09-18 13:38:18 -07:00
Epsitha Ananth
45d9204c7a
V3 publishing (#8598)
* v3
2020-09-17 10:05:22 -07:00
Matt Mitchell
fe7bc6ddef Fix asset manifest file names.
Set the asset manifest OS and change the name of the installers manifests.
Currently arcade defaults to using OS-Platform as the asset manifest file name.
Installer does a ton of building in docker containers, which ends up generating
many overlapping names. This is a symptom and also likely hiding some non-determinsm.

To fix, change the name of the blob asset manifest name to include a "-installers" suffix.
Then alter the property names around a bit so that AssetManifestOS is set
prior to publish.proj's publish target being run.
2020-08-03 13:02:10 -07:00
Matt Mitchell
37448c5edb Revert "Publish the SDK sentinel package as a package (#8012)"
This reverts commit a7cf77dd66.
2020-08-03 12:02:52 -07:00
Matt Mitchell
26ae36f79d Revert "Only publish Microsoft.DotNet.Sdk.Internal once (#8016)"
This reverts commit 7e76b75c65.
2020-08-03 12:02:45 -07:00
Matt Mitchell
0dd3ff77c7
Only publish Microsoft.DotNet.Sdk.Internal once (#8016)
Otherwise we run into a publishing check that ensures that there are no duplicates.
Also don't push if the packages itemgroup is empty
2020-07-17 08:44:45 -07:00
Matt Mitchell
c68bf8e60a
Publish the SDK sentinel package as a package (#8012) 2020-07-16 13:38:34 -07:00
Matt Mitchell
8f68acd8bb
Use more consistent manifest attributes (#7991)
Create manifest attributes that are consistent with arcade's usage.
This also means they will be consistent between manifests, which is important.
2020-07-15 13:32:28 -07:00
Sarah Oslund
7ff1c83b68 Only publishing nonshipping binaries when PublishBinariesAndBadge is not false 2020-06-30 09:13:04 -07:00
Matt Mitchell
1f2fb0525f
Make some artifacts non-shipping (#7857)
Makes the following artifacts non-shipping:
- template msis
- sdkplaceholders
- sdk-internal archives

For now these have been preserved as non-shipping rather than not published at all.
They all get packaged up in the VS insertion nupkgs, so I think in reality we don't need them at all.
2020-06-25 11:36:38 -07:00
Matt Mitchell
3c6fe698ef [release/5.0.1xx-preview4] Generate versions sparsely (#7290)
* Publish productVersion sparsely
Do not publish the productVersion file in every leg. Publish only in win-x64,
so that we don't end up uploading it for every manifest. Publishing breaks in this scenario today.
This is a real bug in publishing, but we will probably tighten the restrictions in the
Publish to BAR step so that multi-publishign the same asset is an error.

Also remove the productCommit-* in cases where we have overlapping rids, which would cause the same problem
2020-04-27 08:06:24 -07:00
Bekir Ozturk
e48b81f37e Generating a productCommit for each rid 2020-03-27 13:49:29 +01:00
Bekir Ozturk
996babd3f6 productVersion filename and content change 2020-03-26 21:32:21 +01:00
Bekir Ozturk
9aac2bd589 Created a productVersion.version to be published 2020-03-26 16:39:00 +01:00
Divino César
4c6dfd1188
Simplify eng\publishing.props (#6501)
With newer versions of Microsoft.DotNet.Build.Tasks.Feed you don't need to pass a temporary path to the manifest. I.e., we can remove AssetsTemporaryDirectory and associated code.
2020-02-28 14:01:01 -08:00
Nick Guerrera
3056ef90cd
Revert "Simplify eng\publishing.props (#6491)" (#6495)
This reverts commit 2b2cae502b.

The arcade change it needs isn't in
2020-02-20 14:54:19 -08:00
Divino César
2b2cae502b
Simplify eng\publishing.props (#6491)
* Simplify eng\publishing.props

With newer versions of Tasks.Feed and Arcade.SDK you don't need these lines.

* Let Arcade.SDK dictate the version of Tasks.Feed
2020-02-20 14:12:24 -08:00
Livar Cunha
688644d44e Did a hack where we are writing the version to a file during build to be read during publish, as these are two separate builds by arcade and also passed the BuildNumberId so that the id is calculated properly during copy to latest. 2020-01-09 21:13:46 -08:00
Livar Cunha
ca6e86d472 Move GenerateFullNuGetVersion to a different target to be shared by build, publish and publish to latest. 2020-01-09 11:31:14 -08:00
Livar Cunha
72f288ab58 Switching from using commit height for versioning to using Arcade's scheme. 2019-12-20 13:19:56 -08:00
Matt Mitchell
902ae5f8e3
[release/3.0.1xx] Publish SDK bits to a suffixed location (#5078)
* Publish SDK bits to a suffixed location
Also, when DropSuffix==true, copy all files that contain the stable sdk version to a file containing the non-stable file name
2019-10-07 13:11:06 -07:00
riarenas
c84ef86d91 Changes for core-sdk to move to yaml stages 2019-09-12 13:19:14 -07:00
Livar Cunha
d7013a6c5c Adding the swr as a file to be published. 2019-07-24 13:17:25 -07:00
Livar
f465a0873c
Merge pull request #2656 from riarenas/riarenas/testing
Publish the internal dummy package used by dependency flow using Arcade.
2019-07-11 10:32:48 -07:00
riarenas
666ba6a256 revert deletion of blank line 2019-07-01 10:31:42 -07:00
Christopher Costa
e0a6ccca89 Provide NonShipping metadata 2019-06-26 13:55:25 -07:00
riarenas
b9d748378e remove blank line 2019-06-26 13:21:40 -07:00
riarenas
4600b1f284 Publish the internal dummy package used by dependency flow using Arcade. 2019-06-26 10:28:18 -07:00
John Beisner
d987a525c8
Resolve named CAB collision and drop the CABs (#1976)
* Resolve named CAB collision; drop the CABs.

* Resolving naming convention warning: 8 chars plus {0} are allowed.

* Update src/redist/targets/packaging/windows/clisdk/dotnet.wxs

Co-Authored-By: Peter Huene <pehuene@microsoft.com>
2019-05-16 16:33:29 -07:00
Nick Guerrera
34e3ada495
Merge pull request #343 from nguerrera/publish-non-shipping
Publish non-shipping VS.* packages to blob storage
2019-01-31 16:29:21 -08:00
Nick Guerrera
4677d4d6f4 Remove obsolete ShipInstaller metadata 2019-01-31 15:34:59 -08:00
Nick Guerrera
fb32fb4417 Publish non-shipping VS.* packages to blob storage 2019-01-30 16:24:21 -08:00
Christopher Costa
a0a6844e0b Differentiate manifests 2019-01-28 10:32:29 -08:00
Christopher Costa
9d4acc274c use agent_os 2019-01-24 16:43:28 -08:00
Christopher Costa
230f7ea7cb Update manifest name based on osname existence 2019-01-24 16:40:12 -08:00
Christopher Costa
df6f0d65e6 Change asset manifest filename to use osname 2019-01-24 15:48:08 -08:00
Christopher Costa
72241ceddf disambiguate by architecture 2019-01-24 14:39:41 -08:00
Christopher Costa
70b5e0eaaa Fix naming reassignment 2019-01-24 14:28:52 -08:00
Christopher Costa
421506e7d2 fix typo 2019-01-24 14:10:57 -08:00
Christopher Costa
443f6e0a94 Fix manifest publishing 2019-01-24 14:00:22 -08:00
Matt Mitchell
f6691cff13 Move property group after import 2019-01-24 13:12:57 -08:00
Matt Mitchell
4048a2ca3d Disambiguate asset manifest path 2019-01-24 12:43:39 -08:00
Christopher Costa
0837010fd6 Publish to bar (#328)
* Enable publishing to BAR

* Update feed package version

* var group not available in public

* move asset manifest parameter to variable

* Fix matrix
2019-01-24 11:21:51 -08:00
Livar Cunha
f89c855d80 Actually only include the badge when publishing badge and binaries. 2018-12-26 11:55:10 -08:00
Livar Cunha
a0b8eeb8c9 Prevent attempting to publish duplicate badge and checksum files. 2018-12-26 11:42:24 -08:00
Parallels
d3e2ea2488 Fixing debs generation. The issue was that we were losing the exec permission on the apphost in the sdk folder. This caused it to not be picked up by dh_shlibsdeps. This happened because the order of the apphost acquisition was changed to be after crossgen, where we change permissions of all files under the SDK folder to 644. The fix here was to make the apphost acquisition to happen after crossgen. 2018-12-25 11:52:51 -08:00
Livar Cunha
e0e642a543 Fixing the publishing of deb and rpm files. Also added a property to turn off publishing binaries, as we need to prevent the linux-x64 binaries from being published multiple times. 2018-12-21 21:43:17 -08:00
Livar Cunha
23b7b332e6 Producing and publishing checksums. Also, publishing sdk assets ourselves, so that we can add metadata regarding where to push nupkgs. 2018-12-21 19:42:48 -08:00