Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Port infrastructure improvements from master to dev/release/2.0.0 #7721

Merged
merged 39 commits into from
Sep 29, 2017

Conversation

nguerrera
Copy link
Contributor

@nguerrera nguerrera commented Sep 28, 2017

Porting the following to the new 2.0.x infrastructure branch from master:

#7352 Update solution to reflect current state
#7530 Eliminate warnings (just that subset, not the part of the PR that updated core-setup)
#7460 Use REST API to upload to feed
#7571 Logging for feed upload
#7522 Rearrange output folders to fix incremental build
#7594 Fix signing after output folders moved

davkean and others added 30 commits September 27, 2017 13:19
(cherry picked from commit 3c81474)
Move tool_fsc to src
Move dotnet-help.Tests to test

(cherry picked from commit f00adb1)
Use Rest Api to upload to the feed

Add pulling logic to make sure it is uploaded to the feed.

Add retry logic for the whole upload process

Remove the old upload script

(cherry picked from commit 7f54ccb)
Add log to UploadToLinuxPackageRepository

(cherry picked from commit 8b8aef7)
This is necessary for setting the intermediate output path to work correctly

(cherry picked from commit ae0aa8e)
…tead of checking it in

(cherry picked from commit 884a483)
For example, "out/2" instead of "artifacts/stage2"

(cherry picked from commit dcb3a7a)
…roject.json based CLI

(cherry picked from commit 4c3b13e)
Previously, dotnet-deb-tool-consumer.csproj was copied to the out/artifacts folder before being restored.  This no longer works as it depends on repo properties, and there is a Directory.Build.props in teh out directory to stop projects inside it from getting the repo properties.  So this change restores it in-place instead.

(cherry picked from commit ac67434)
(cherry picked from commit 546eff2)
Avoid importing incompatible .props files for signing build
@nguerrera
Copy link
Contributor Author

@mmitche is there a delay before newly added branches trigger ci?

@mmitche
Copy link
Member

mmitche commented Sep 28, 2017

@dotnet-bot test this please

@mmitche
Copy link
Member

mmitche commented Sep 28, 2017

@nguerrera Good question...checking.

@mmitche
Copy link
Member

mmitche commented Sep 28, 2017

@dotnet-bot test this please

@mmitche
Copy link
Member

mmitche commented Sep 28, 2017

@nguerrera Looks like just a configuration error post-upgrade. Should trigger in a couple

@mmitche
Copy link
Member

mmitche commented Sep 28, 2017

@dotnet-bot test this please

@mmitche
Copy link
Member

mmitche commented Sep 29, 2017

@dotnet-bot test this please

@livarcocc
Copy link

@dotnet-bot Test Windows_NT x86 Debug Build

<!-- This dependency was added due to an issue in restore where a lower version of this package coming from nuget.commandline.xplat
led to an error. This is tracked as NuGet issue : https://github.com/NuGet/Home/issues/4213 -->
<PackageReference Include="Microsoft.Build.Framework" Version="$(CLI_MSBuild_Version)" />
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="$(PlatformAbstractionsVersion)" />
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="2.0.0" />

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@livarcocc
Copy link

@mmitche

Time Elapsed 00:21:47.54
11:47:19 [xUnit] [INFO] - Starting to record.
11:47:19 [xUnit] [INFO] - Processing MSTest-Version N/A (default)
11:47:24 [xUnit] [INFO] - [MSTest-Version N/A (default)] - 32 test report file(s) were found with the pattern '**/*.trx' relative to 'D:\j\workspace\debug_windows---bb0a5091' for the testing framework 'MSTest-Version N/A (default)'.
11:47:50 [xUnit] [INFO] - Check 'Failed Tests' threshold.
11:47:50 [xUnit] [INFO] - Check 'Skipped Tests' threshold.
11:47:50 [xUnit] [INFO] - Setting the build status to SUCCESS
11:47:50 [xUnit] [INFO] - Stopping recording.
11:47:50 Notifying endpoint with url 'helix-int-notification-url'
11:47:50 ERROR: Failed to notify endpoint with url 'helix-int-notification-url'
11:47:50 java.net.MalformedURLException: no protocol: helix-int-notification-url
11:47:50 	at java.net.URL.<init>(URL.java:593)
11:47:50 	at java.net.URL.<init>(URL.java:490)
11:47:50 	at java.net.URL.<init>(URL.java:439)
11:47:50 	at com.tikal.hudson.plugins.notification.Protocol$3.send(Protocol.java:53)
11:47:50 	at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:66)
11:47:50 	at com.tikal.hudson.plugins.notification.JobListener.onCompleted(JobListener.java:39)
11:47:50 	at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)
11:47:50 	at hudson.model.Run.execute(Run.java:1782)
11:47:50 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
11:47:50 	at hudson.model.ResourceController.execute(ResourceController.java:97)
11:47:50 	at hudson.model.Executor.run(Executor.java:419)
11:47:50 Failed to notify endpoint with url 'helix-int-notification-url' - java.net.MalformedURLException: no protocol: helix-int-notification-url
11:47:50 Notifying endpoint with url 'helix-prod-notification-url'
11:47:50 ERROR: Failed to notify endpoint with url 'helix-prod-notification-url'
11:47:50 java.net.MalformedURLException: no protocol: helix-prod-notification-url
11:47:50 	at java.net.URL.<init>(URL.java:593)
11:47:50 	at java.net.URL.<init>(URL.java:490)
11:47:50 	at java.net.URL.<init>(URL.java:439)
11:47:50 	at com.tikal.hudson.plugins.notification.Protocol$3.send(Protocol.java:53)
11:47:50 	at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:66)
11:47:50 	at com.tikal.hudson.plugins.notification.JobListener.onCompleted(JobListener.java:39)
11:47:50 	at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)
11:47:50 	at hudson.model.Run.execute(Run.java:1782)
11:47:50 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
11:47:50 	at hudson.model.ResourceController.execute(ResourceController.java:97)
11:47:50 	at hudson.model.Executor.run(Executor.java:419)
11:47:50 Failed to notify endpoint with url 'helix-prod-notification-url' - java.net.MalformedURLException: no protocol: helix-prod-notification-url
11:47:50 Notifying endpoint with url 'legacy-notification-url'
11:47:50 ERROR: Failed to notify endpoint with url 'legacy-notification-url'
11:47:50 java.net.MalformedURLException: no protocol: legacy-notification-url
11:47:50 	at java.net.URL.<init>(URL.java:593)
11:47:50 	at java.net.URL.<init>(URL.java:490)
11:47:50 	at java.net.URL.<init>(URL.java:439)
11:47:50 	at com.tikal.hudson.plugins.notification.Protocol$3.send(Protocol.java:53)
11:47:50 	at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:66)
11:47:50 	at com.tikal.hudson.plugins.notification.JobListener.onCompleted(JobListener.java:39)
11:47:50 	at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)
11:47:50 	at hudson.model.Run.execute(Run.java:1782)
11:47:50 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
11:47:50 	at hudson.model.ResourceController.execute(ResourceController.java:97)
11:47:50 	at hudson.model.Executor.run(Executor.java:419)
11:47:50 Failed to notify endpoint with url 'legacy-notification-url' - java.net.MalformedURLException: no protocol: legacy-notification-url
11:47:50 Setting status of a652e6a4fd6733a69b0bd8c99e55372ff1be0974 to SUCCESS with url 

@mmitche
Copy link
Member

mmitche commented Sep 29, 2017

@livarcocc Please ignore those errors for now.

@nguerrera nguerrera merged commit d2cda77 into dotnet:dev/release/2.0.0 Sep 29, 2017
@nguerrera nguerrera deleted the infra-port branch September 29, 2017 20:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants