mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-21 03:32:50 +08:00

* Added Dockerfile run configuration and fixed manual test project to run appropriately * Finished updates for Docker build and management of project through docker commands. Any of the dotnet CLI commands accessible through 'builder' container and default run is manual test project * Added a docker-compose.yaml files to support commands: docker-compose run tests, docker-compose run benchmarks, docker-compose run manual-test
25 lines
467 B
YAML
25 lines
467 B
YAML
version: "3.4"
|
|
services:
|
|
|
|
tests:
|
|
build:
|
|
context: .
|
|
target: builder
|
|
volumes:
|
|
- type: bind
|
|
source: .
|
|
target: /results
|
|
command: test --logger:trx -r /results
|
|
|
|
benchmarks:
|
|
build:
|
|
context: .
|
|
target: builder
|
|
args:
|
|
build_configuration: Release
|
|
command: run -c Release --project test/Ocelot.Benchmarks/Ocelot.Benchmarks.csproj 0 1 2 3 4
|
|
|
|
manual-test:
|
|
build: .
|
|
ports: [ "5000:80" ]
|