From 2d6f9a7ab1ddce9c7ca7ae61c970cb49b34452d2 Mon Sep 17 00:00:00 2001 From: kukkok3 <93382903+kukkok3@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:46:38 +0100 Subject: [PATCH] wip --- .../tests/schemathesis_tests/Earthfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/catalyst-gateway/tests/schemathesis_tests/Earthfile b/catalyst-gateway/tests/schemathesis_tests/Earthfile index 469692f4af7..291b8255e2c 100644 --- a/catalyst-gateway/tests/schemathesis_tests/Earthfile +++ b/catalyst-gateway/tests/schemathesis_tests/Earthfile @@ -74,3 +74,17 @@ fuzzer-api: # SAVE ARTIFACT junit-report.xml AS LOCAL schemathesis.junit-report.xml # SAVE ARTIFACT cassette.yaml AS LOCAL cassette.yaml # END + +test-fuzzer-api: + FROM debian:12.7-slim + + RUN apt-get update && apt install -y gnupg2 wget + RUN mkdir -p /etc/apt/keyrings + RUN gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys a43e06657bac99e3 + RUN wget -O /etc/apt/sources.list.d/scylla.list http://downloads.scylladb.com/deb/debian/scylla-6.2.list + RUN apt-get update && apt-get install -y scylla + + COPY node1-scylla.yaml /etc/scylla/scylla.yaml + #RUN scylla_setup -y + #https://github.com/scylladb/scylladb/issues/3142 + RUN scylla --options-file /etc/scylla/scylla.yaml --developer-mode 1 \ No newline at end of file