aboutsummaryrefslogtreecommitdiffstats
path: root/library/recipes/docker_compose/example_test_container/ya.make
diff options
context:
space:
mode:
authorvitalyisaev <vitalyisaev@ydb.tech>2023-11-30 13:26:22 +0300
committervitalyisaev <vitalyisaev@ydb.tech>2023-11-30 15:44:45 +0300
commit0a98fece5a9b54f16afeb3a94b3eb3105e9c3962 (patch)
tree291d72dbd7e9865399f668c84d11ed86fb190bbf /library/recipes/docker_compose/example_test_container/ya.make
parentcb2c8d75065e5b3c47094067cb4aa407d4813298 (diff)
downloadydb-0a98fece5a9b54f16afeb3a94b3eb3105e9c3962.tar.gz
YQ Connector:Use docker-compose in integrational tests
Diffstat (limited to 'library/recipes/docker_compose/example_test_container/ya.make')
-rw-r--r--library/recipes/docker_compose/example_test_container/ya.make19
1 files changed, 19 insertions, 0 deletions
diff --git a/library/recipes/docker_compose/example_test_container/ya.make b/library/recipes/docker_compose/example_test_container/ya.make
new file mode 100644
index 0000000000..89f6b21a97
--- /dev/null
+++ b/library/recipes/docker_compose/example_test_container/ya.make
@@ -0,0 +1,19 @@
+PY3TEST()
+
+TEST_SRCS(test.py)
+
+# To use docker-compose.yml from another directory, set DOCKER_COMPOSE_FILE variable with Arcadia relative path to the file
+# and do not forget to add the directory to the DATA macro, e.g.:
+# SET(DOCKER_COMPOSE_FILE library/recipes/docker_compose/test/docker-compose-1.yml)
+# DATA(arcadia/library/recipes/docker_compose/test)
+
+SET(DOCKER_TEST_HOST test)
+INCLUDE(${ARCADIA_ROOT}/library/recipes/docker_compose/recipe.inc)
+
+TAG(
+ ya:external
+ ya:force_sandbox
+ ya:dirty
+)
+
+END()