Граф коммитов

447 Коммитов

Автор SHA1 Сообщение Дата
Justin Kotalik fae47325b0
Finalizing dapr fixes (#756) 2020-11-05 11:24:57 -08:00
Justin Kotalik 77ebc0d055
Fix nginx ingress path for capture group (#752) 2020-11-04 10:02:47 -08:00
dotnet-maestro[bot] 907d735c31
Update dependencies from https://github.com/dotnet/arcade build 20201102.5 (#751)
[master] Update dependencies from dotnet/arcade
2020-11-04 13:32:14 +00:00
Justin Kotalik df18a1d31b
Adds preservePath for ingress (#747) 2020-11-03 14:25:28 -08:00
dotnet-maestro[bot] 6edd184091
Update dependencies from https://github.com/dotnet/arcade build 20201030.2 (#745)
[master] Update dependencies from dotnet/arcade
2020-11-03 13:34:57 +00:00
TeBeCo 5331046d7d
Map "binding.ContainerPort" instead of "binding.Port" to "manifest containerPort" (#740) 2020-11-02 16:00:04 -08:00
dotnet-maestro[bot] b068e39f1a
[master] Update dependencies from dotnet/arcade (#735)
[master] Update dependencies from dotnet/arcade
2020-10-31 12:38:06 +00:00
John Luo 2009bbeb58
Fix resolution of TFM overrides for multi-tfm projects (#734)
* Fix generated project when multiple project groupds are present

* Fix resolution of TFM overrides for multi-tfm projects
2020-10-29 14:15:10 -07:00
dotnet-maestro[bot] 3e3ddad24d
[master] Update dependencies from dotnet/arcade (#722)
[master] Update dependencies from dotnet/arcade
2020-10-28 14:41:43 +00:00
TeBeCo 1708767426
Handling Multiple TargetFrameworks through BuildProperties (#567)
* adding a sample project with plural form of TargetFrameworks for debugging purpose

* add --framework argument to RunCommand

* Pass down "framework" as a BuildProperty if not already defined in the YAML

* Do no throw anymore when multiple TargetFrameworks are found, if one was specified as a BuildProperty

* replicating Signature change on code base (that does not look like a good idea)

* adding comment to be explicit on what this does

* Check that the specified BuildProperties["TargetFramework"] is on of the TargetFrameworks

* add launchSettings for debug

* Create a BuildCommandArguments for the BuildCommand / add a "framework" options to it and move some logic to the CommandHandler (just like the RunCommand)

* add "-f {framework}" to dotnet publish if a TargetFramework BuildProperties exists

* Create a GenerateCommandArguments for the GenerateCommand / add a "framework" options to it and move some logic to the CommandHandler

* Create a PushCommandArguments for the PushCommand / add a "framework" options to it and move some logic to the CommandHandler

* Create a UndeployCommandArguments for the UndeployCommand / add a "framework" options to it and move some logic to the CommandHandler

* Create a DeployCommandArguments for the DeployCommand / add a "framework" options to it and move some logic to the CommandHandler

* framework is now an optional parameter defaulted to null

Co-authored-by: Justin Kotalik <jukotali@microsoft.com>

* Change sample to use LTS only

* Make "framework" argument nullable / optional / defaulted to null

* remove "Force" from "PushCommand" and "PushCommandArguments" if it's not used

* re-use the equivalent message than "dotnet run" on a project with multiple TargetFrameworks

* Create a StandardOptions for Framework

* Remove unused StandardOption.Force and add StandardOption.CreateForce with customizable "description"

* Use StandardOptions.Framework in various commands

* use StandardOptions.Force ni various commands

* Create a new InitCommandArguments and re-use the same OutputContext like the other Commands

* prefer type alias (String.IsNullOrEmpty => string.IsNullOrEmpty), not sure if it was intended

* Adding assets for E2E about multi-targetframeworks that returns the current TargetFramework on every HttpRequest

* Adding test for "tye run" with either buildProperties in the yaml or framework passed directly to ApplicationFactory.CreateAsync

* Add test and testasset project for both TargetFrameworks and TargetFramework

* Always overwrite the TargetFramework if one is specified from the CLI (like dotnet CLi) even if it means it wont build / run etc ....

* Test the ability to override TargetFramework from CLI even if define in csproj or in yaml

* Consistency over ApplicationFactory.CreateAsync in all E2E tests

* rename testasset project to multi-targetframeworks to match generated Dockerfile

* Add E2E for tye build when project uses multi-targetframeworks

* Adding test directly for ApplicationFactory to check that it overrides YAML existing buildProperties

* Adding test to make sure it still throw if there's no explicit TargetFramework or that it is one of the predefined one

* Adding test for ApplicationFactory.CreateAsync with a framework if nothing is set in yaml

* make cli arguments class private

* review: remove extra line

* review: remove 'framework' notion from Undeploy

* Fix project evaluation of multi-targetd projects

* Fixup a few more tests

* Comment updates

* Ensure TFM is only applied for multi-targeting projects

Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
Co-authored-by: John Luo <johluo@microsoft.com>
2020-10-24 11:46:10 -07:00
dotnet-maestro[bot] 76c4ff26e2
Update dependencies from https://github.com/dotnet/arcade build 20201020.8 (#712)
[master] Update dependencies from dotnet/arcade
2020-10-23 15:16:35 +00:00
dotnet-maestro[bot] 739de2eeb9
[master] Update dependencies from dotnet/arcade (#706)
[master] Update dependencies from dotnet/arcade
2020-10-20 16:06:38 +00:00
dotnet-maestro[bot] 683afc4544
Update dependencies from https://github.com/dotnet/arcade build 20201014.1 (#705)
[master] Update dependencies from dotnet/arcade
2020-10-16 17:34:30 +00:00
dotnet-maestro[bot] 869433786b
Update dependencies from https://github.com/dotnet/arcade build 20201009.12 (#703)
[master] Update dependencies from dotnet/arcade
2020-10-15 18:21:23 +00:00
John Luo b923d360f7
Resolve base docker images correctly for .NET 5.0+ projects (#702)
* Resolve base docker images correctly for .NET 5.0+ projects
2020-10-14 10:57:50 -07:00
Justin Kotalik f1b145fbee
Fix dapr paths (#701)
* Fix Dapr paths

* oops
2020-10-13 14:46:48 -07:00
David Henley 394cdd4c7d
Add line break for better debug experience (#700)
Without this you get `Registered .NET SDK.Loading project` with no space between commands or break.
2020-10-13 14:13:21 -07:00
Ryan Nowak 5c014b6a90 Set DAPR_HTTP_PORT when launching project
Fixes: #575

Tye was missing code to set DAPR_HTTP_PORT when launching a project.
This variable is normally set by dapr when using `dapr run ...` to
launch a project. However Tye doesn't use `dapr run ...` so we need to
emulate this behavior.

We already had code to set up DAPR_GRPC_PORT which is used by the
`DaprClient` class. DAPR_HTTP_PORT is used by the actor runtime in
addition to behing available for arbitrary use (as reported in the
issue).
2020-10-12 13:22:19 -07:00
dotnet-maestro[bot] 45ffa3c159
Update dependencies from https://github.com/dotnet/arcade build 20201006.7 (#693)
[master] Update dependencies from dotnet/arcade
2020-10-08 12:59:34 +00:00
areller 7a0b24c9c7
Docker compose environment variable syntax (#669)
* docker-compose like environment variable syntax

* documentation
2020-10-02 11:06:03 -07:00
dotnet-maestro[bot] d3f4a5422b
Update dependencies from https://github.com/dotnet/arcade build 20200928.3 (#685)
[master] Update dependencies from dotnet/arcade
2020-09-30 12:47:49 +00:00
dotnet-maestro[bot] c2b7f66aae
[master] Update dependencies from dotnet/arcade (#668)
* Update dependencies from https://github.com/dotnet/arcade build 20200917.6

Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild
 From Version 5.0.0-beta.20465.7 -> To Version 5.0.0-beta.20467.6

* Update dependencies from https://github.com/dotnet/arcade build 20200921.1

Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild
 From Version 5.0.0-beta.20465.7 -> To Version 5.0.0-beta.20471.1

* Update dependencies from https://github.com/dotnet/arcade build 20200922.36

Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild
 From Version 5.0.0-beta.20465.7 -> To Version 5.0.0-beta.20472.36

* Update dependencies from https://github.com/dotnet/arcade build 20200924.4

Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild
 From Version 5.0.0-beta.20465.7 -> To Version 5.0.0-beta.20474.4

* Fix nullability issues

* Add more debug log

* Parse tfm name

* Mark testing packages as non-shipping

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: John Luo <johluo@microsoft.com>
2020-09-29 16:29:56 -07:00
Justin Kotalik b31204486c
Add more locations to find func (#682) 2020-09-29 14:20:11 -07:00
John Luo 8e95c061d2
Update CODEOWNERS 2020-09-28 16:48:43 -07:00
John Luo bbef222754
Use out-of-proc MSBuild evaluation (#674)
* Use out-of-proc MSBuild evaluation

This allows for support for new SDKs/TFMs without needing tye to target those TFMs

* Combine restore and metadata evaluation

* Batch process projects
2020-09-28 14:07:56 -07:00
Amiee Lo f0c4f2f54d
Updating survey link
Updating survey link
2020-09-23 10:46:56 -07:00
Amiee Lo b016cc2ef2
Adding survey link to readme
Adding survey link
2020-09-23 00:28:13 -07:00
dotnet-maestro[bot] 3402fbddee
Update dependencies from https://github.com/dotnet/arcade build 20200915.7 (#667)
[master] Update dependencies from dotnet/arcade
2020-09-18 12:46:27 +00:00
dotnet-maestro[bot] b96619d8fc
Update dependencies from https://github.com/dotnet/arcade build 20200914.13 (#662)
[master] Update dependencies from dotnet/arcade
2020-09-16 12:42:25 +00:00
dotnet-maestro[bot] dca37448a8
[master] Update dependencies from dotnet/arcade (#651)
[master] Update dependencies from dotnet/arcade
2020-09-15 19:02:23 +00:00
John Luo 785f3a2e0e
Fix quotations around working directory (#659)
* Fix quotations around working directory

This should fix the ubuntu builds

* Don't fail test on failing to cleanup test directory
2020-09-15 11:38:40 -07:00
areller 7c66037d84
graceful termination in windows (#600) 2020-09-11 11:12:26 -07:00
Christian Kadluba 8626d68bef
Quote path arguments of commands. (#650) 2020-08-31 12:43:43 -07:00
Tariq Abubaker ad959cc832
Wrap certificateFilePath with double quotation marks (#647) 2020-08-31 10:34:02 -07:00
dotnet-maestro[bot] 216431bd00
Update dependencies from https://github.com/dotnet/arcade build 20200827.5 (#646)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Build.Tasks.Feed: from 5.0.0-beta.20426.6 to 5.0.0-beta.20427.5
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20426.6 to 5.0.0-beta.20427.5
  - Microsoft.DotNet.SignTool: from 5.0.0-beta.20426.6 to 5.0.0-beta.20427.5
  - Microsoft.DotNet.SwaggerGenerator.MSBuild: from 5.0.0-beta.20426.6 to 5.0.0-beta.20427.5
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20426.6 to 5.0.0-beta.20427.5
2020-08-29 12:37:39 +00:00
dotnet-maestro[bot] 26b2301a29
Update dependencies from https://github.com/dotnet/arcade build 20200826.6 (#644)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Build.Tasks.Feed: from 5.0.0-beta.20426.1 to 5.0.0-beta.20426.6
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20426.1 to 5.0.0-beta.20426.6
  - Microsoft.DotNet.SignTool: from 5.0.0-beta.20426.1 to 5.0.0-beta.20426.6
  - Microsoft.DotNet.SwaggerGenerator.MSBuild: from 5.0.0-beta.20426.1 to 5.0.0-beta.20426.6
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20426.1 to 5.0.0-beta.20426.6
2020-08-28 12:42:15 +00:00
dotnet-maestro[bot] 83bfc6ddb3
Update dependencies from https://github.com/dotnet/arcade build 20200826.1 (#640)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Build.Tasks.Feed: from 5.0.0-beta.20424.23 to 5.0.0-beta.20426.1
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20424.23 to 5.0.0-beta.20426.1
  - Microsoft.DotNet.SignTool: from 5.0.0-beta.20424.23 to 5.0.0-beta.20426.1
  - Microsoft.DotNet.SwaggerGenerator.MSBuild: from 5.0.0-beta.20424.23 to 5.0.0-beta.20426.1
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20424.23 to 5.0.0-beta.20426.1
2020-08-27 12:48:57 +00:00
dotnet-maestro[bot] 910f38dab4
Update dependencies from https://github.com/dotnet/arcade build 20200824.23 (#639)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Build.Tasks.Feed: from 5.0.0-beta.20419.21 to 5.0.0-beta.20424.23
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20419.21 to 5.0.0-beta.20424.23
  - Microsoft.DotNet.SignTool: from 5.0.0-beta.20419.21 to 5.0.0-beta.20424.23
  - Microsoft.DotNet.SwaggerGenerator.MSBuild: from 5.0.0-beta.20419.21 to 5.0.0-beta.20424.23
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20419.21 to 5.0.0-beta.20424.23
2020-08-26 15:16:54 +00:00
dotnet-maestro[bot] ad882b7cb3
[master] Update dependencies from dotnet/arcade (#632)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Build.Tasks.Feed: from 5.0.0-beta.20411.8 to 5.0.0-beta.20419.21
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20411.8 to 5.0.0-beta.20419.21
  - Microsoft.DotNet.SignTool: from 5.0.0-beta.20411.8 to 5.0.0-beta.20419.21
  - Microsoft.DotNet.SwaggerGenerator.MSBuild: from 5.0.0-beta.20411.8 to 5.0.0-beta.20419.21
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20411.8 to 5.0.0-beta.20419.21
2020-08-21 12:51:36 +00:00
Christian Kadluba a4cf135c08
Fixed issue #620 (#621)
* Fixed issue #620

* Produce a useful error message if the path of a project file is incorrect in tye.yaml.
* Added a test.

* Fixed test on Linux and OSX.

* Check full exception message in test and fixed test name.

* More deterministic behavior considering directory check and test execution.

Moved directory check one level higher from EnsureMSBuildRegistered() to the caller ReadProjectDetailsAsync(). This means that this code is always executed. In EnsureMSBuildRegistered() it was only executed once per proces because of the static field "registered". The placement of the check after evaluation of the the field "registered" was the reason why the test WrongProjectPathProducesCorrectErrorMessage worked when executed alone but not when any other test that called EnsureMSBuildRegistered() was executed before.

With this change the directory check is always executed now, even if the EnsureMSBuildRegistered() was already executed successfully. But the performance impact should not be significant while the type of generated error message is more deterministic and not dependent on execution order.
2020-08-19 11:10:11 -07:00
Glenn Condron 105bb011d5
quote project path to handle spaces. (#631) 2020-08-13 16:10:10 -07:00
Beat 6166b2792c
fixed wording in doc (#628) 2020-08-13 15:25:08 -07:00
dotnet-maestro[bot] fb231da990
Update dependencies from https://github.com/dotnet/arcade build 20200811.8 (#629)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Build.Tasks.Feed: from 5.0.0-beta.20407.3 to 5.0.0-beta.20411.8
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20407.3 to 5.0.0-beta.20411.8
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20407.3 to 5.0.0-beta.20411.8
  - Microsoft.DotNet.SignTool: from 5.0.0-beta.20407.3 to 5.0.0-beta.20411.8
  - Microsoft.DotNet.SwaggerGenerator.MSBuild: from 5.0.0-beta.20407.3 to 5.0.0-beta.20411.8
2020-08-13 14:40:13 +00:00
Sahan Serasinghe 9b51b4bc0e
Fix typos in service discovery document (#617)
Fix a couple of typos and add commas where needed in the service_discovery.md file
2020-08-11 19:51:52 -07:00
dotnet-maestro[bot] 6c177c7195
[master] Update dependencies from dotnet/arcade (#619)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Build.Tasks.Feed: from 5.0.0-beta.20374.1 to 5.0.0-beta.20407.3
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20374.1 to 5.0.0-beta.20407.3
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20374.1 to 5.0.0-beta.20407.3
  - Microsoft.DotNet.SignTool: from 5.0.0-beta.20374.1 to 5.0.0-beta.20407.3
  - Microsoft.DotNet.SwaggerGenerator.MSBuild: from 5.0.0-beta.20374.1 to 5.0.0-beta.20407.3
2020-08-11 12:36:42 +00:00
Yuta Matsumura 964507a92d
fix header typo (#623) 2020-08-10 07:54:01 -07:00
Glenn Condron 9b71a45ac6
Basic clear logs button (#610)
* Basic clear button
2020-08-07 15:17:03 -07:00
Sahan Serasinghe ab30f92e26
Fix minor grammar issue (#616) 2020-08-05 10:10:15 -07:00
Alec Papierniak 1e3b3f4bf9
Update service_discovery.md (#613)
* Update service_discovery.md

Minor typo adjustment

* Update service_discovery.md

Updating update of typo
2020-08-01 16:36:56 -07:00
dotnet-maestro[bot] 78ea551cc0
Update dependencies from https://github.com/dotnet/arcade build 20200724.1 (#612)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Build.Tasks.Feed: from 5.0.0-beta.20330.3 to 5.0.0-beta.20374.1
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20330.3 to 5.0.0-beta.20374.1
  - Microsoft.DotNet.SignTool: from 5.0.0-beta.20330.3 to 5.0.0-beta.20374.1
  - Microsoft.DotNet.SwaggerGenerator.MSBuild: from 5.0.0-beta.20330.3 to 5.0.0-beta.20374.1
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20330.3 to 5.0.0-beta.20374.1
2020-07-29 16:32:41 +00:00