From e4d423df03949ca05b0978dc2bb7ddc68b252396 Mon Sep 17 00:00:00 2001 From: Clemens Date: Fri, 20 Jan 2023 12:51:21 +0100 Subject: [PATCH] Update docker tests --- infrastructure/docker-jira/test/Dockerfile | 2 +- infrastructure/docker-jira/test/serverspec.edn | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/infrastructure/docker-jira/test/Dockerfile b/infrastructure/docker-jira/test/Dockerfile index f3269c7..ed5a1ec 100644 --- a/infrastructure/docker-jira/test/Dockerfile +++ b/infrastructure/docker-jira/test/Dockerfile @@ -5,4 +5,4 @@ RUN curl -L -o /tmp/serverspec.jar \ COPY serverspec.edn /tmp/serverspec.edn -RUN java -jar /tmp/serverspec.jar /tmp/serverspec.edn -v +RUN java -jar /tmp/serverspec.jar /tmp/serverspec.edn diff --git a/infrastructure/docker-jira/test/serverspec.edn b/infrastructure/docker-jira/test/serverspec.edn index fa0abdf..384628f 100644 --- a/infrastructure/docker-jira/test/serverspec.edn +++ b/infrastructure/docker-jira/test/serverspec.edn @@ -1,3 +1,8 @@ -{:file [{:path "/app/entrypoint.sh"} - {:path "/var/jira"} - {:path "/opt/atlassian-jira-software-standalone"}]} +{:file [{:path "/app"} + {:path "/opt/atlassian-jira-software-standalone"} + {:path "/app/entrypoint.sh" :mod "744"} + {:path "/opt/atlassian-jira-software-standalone/bin/setenv.sh" :mod "744"} + {:path "/app/dbconfig.xml" :mod "660"} + {:path "/opt/atlassian-jira-software-standalone/conf/server.xml" :mod "660"} + {:path "/opt/atlassian-jira-software-standalone/conf/logging.properties" :mod "660"} + {:path "/var/jira"}]}