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

11 Коммитов

Автор SHA1 Сообщение Дата
David Fowler d2be7d504f
Added container proxy for talking to the host (#292)
* Added container proxy for talking to the host
- This change introduces a container proxy which makes it possible for docker containers can talk to host services using container networking. These proxies will not show up in the dashboard as they are "infrastructure" containers.
- Added Private and NetworkAlias to DockerRunInfo but did not expose these configuration.
- All container communication is done using host names.
- Fix host shutdown again
- Bind to all interfaces on linux
2020-04-02 19:20:28 -07:00
Ryan Nowak 6671da72c0 Add a library for `AddTyeSecrets`
This removes the need to copy-paste code that reads a specific directory
in Program.cs.

Updated docs/samples and tests.

We need a workaround in tests to be able to use a P2P for the library. What
I did here is the same trick we do in Razor.

- Force everyone to use an MSBuild variable to locate the library
- Set that variable in a Directory.Build.props for the normal build
- Drop a special Directory.Build.props for testing

Updates a bunch of test code to use new helper methods for copying
stuff, so we can correctly do this.
2020-04-01 19:15:05 -07:00
Ryan Nowak 08a7384352
Add Dapr integration to Tye (#250)
* Add Dapr integration to Tye

Adds a new `extensions` integration point. Currently all extensbility has
to be inside the Tye codebase. There's no functionality for loading or distributing
plugins.

Enable dapr for an application like:

```yaml
name: test_app
extensions:
- name: dapr
```

The dapr extension currently accepts and requires no additional options, and applies
to all services defined in the application.

What it does:

- In local run: starts a dapr sidecar for each project that does http
- In local run: sidecars start in the directory of tye.yaml, so dapr will look for
  component manifests in ./components (relative to tye.yaml
- In deployment: adds required annotations to deployments

Some new features that were added to tye to enable this:

- Config: Ability to parse and conditionally run extensions
- Run: Ability to token replace env-vars into command line args
- Deploy: Ability to configure labels and annotations

* format

* Massage labesl:

* PR feedback

* Fix tests
2020-03-29 21:55:45 -07:00
Justin Kotalik e7fafa3783
Update Namespaces to Microsoft.Tye.* (#116) 2020-03-16 21:09:00 -07:00
Justin Kotalik 4b6918ca12
Add tye run test (#63) 2020-03-03 21:33:36 -08:00
Justin Kotalik 9bd368b4a1
Make micronetes projects disappear (#55) 2020-03-03 00:12:20 -08:00
Ryan Nowak 280fe7f59b
Make opulence projects disappear (#51) 2020-03-02 23:42:54 -08:00
Ryan Nowak b4b9445f17
m8s comands working in tye (#21)
* m8s comands working in tye

* fix styles
2020-02-29 17:04:21 -08:00
Ryan Nowak 113a0e5059 code dump of micronetes 2020-02-29 12:57:48 -08:00
Ryan Nowak ab5946c687 code dump of opulence 2020-02-29 12:43:57 -08:00
Ryan Nowak 8e9e350882 Initial skeleton 2020-02-29 12:10:58 -08:00