From 53ee77de0cb496a43b70a973cf1e558238a30bcb Mon Sep 17 00:00:00 2001 From: Philipp Fehre Date: Fri, 16 Aug 2024 17:42:58 +0200 Subject: [PATCH] Create docker-compose.yml do match CONTRIBUTING.md Signed-off-by: Philipp Fehre --- providers/flagd/CONTRIBUTING.md | 4 ++-- providers/flagd/docker-compose.yml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 providers/flagd/docker-compose.yml diff --git a/providers/flagd/CONTRIBUTING.md b/providers/flagd/CONTRIBUTING.md index 0b742756f..583b4be54 100644 --- a/providers/flagd/CONTRIBUTING.md +++ b/providers/flagd/CONTRIBUTING.md @@ -23,7 +23,7 @@ In vscode for instance, the following settings are recommended: The continuous integration runs a set of [gherkin e2e tests](https://github.com/open-feature/test-harness/blob/main/features/evaluation.feature) using [`flagd`](https://github.com/open-feature/flagd). These tests do not run with the default maven profile. If you'd like to run them locally, you can start the flagd testbed with ``` -docker-compose up +docker compose up ``` and then run ``` @@ -36,4 +36,4 @@ FLAGD_HOST=192.168.100.1 mvn test -P e2e ``` If test-harness is being updated, commit the changes before running `mvn`. -Otherwise, uncommitted changes will be overridden by maven test plugins. \ No newline at end of file +Otherwise, uncommitted changes will be overridden by maven test plugins. diff --git a/providers/flagd/docker-compose.yml b/providers/flagd/docker-compose.yml new file mode 100644 index 000000000..454edb7d1 --- /dev/null +++ b/providers/flagd/docker-compose.yml @@ -0,0 +1,5 @@ +services: + flagd: + build: + context: ./test-harness + dockerfile: flagd/Dockerfile