diff --git a/catalyst-gateway/Earthfile b/catalyst-gateway/Earthfile index fba0aa87f6..767e1b4bad 100644 --- a/catalyst-gateway/Earthfile +++ b/catalyst-gateway/Earthfile @@ -34,8 +34,8 @@ build: RUN /scripts/std_build.py --cov_report="coverage-report.info" \ --bins="cat-gateway/cat-gateway" FINALLY - SAVE ARTIFACT target/nextest/ci/junit.xml AS LOCAL cat-gateway.junit-report.xml - SAVE ARTIFACT coverage-report.info AS LOCAL cat-gateway.coverage-report.info + SAVE ARTIFACT --if-exists target/nextest/ci/junit.xml AS LOCAL cat-gateway.junit-report.xml + SAVE ARTIFACT --if-exists coverage-report.info AS LOCAL cat-gateway.coverage-report.info END RUN ./target/$TARGETARCH/release/cat-gateway docs ./target/$TARGETARCH/doc/cat-gateway-api.json SAVE ARTIFACT target/$TARGETARCH/doc doc @@ -56,7 +56,7 @@ package-cat-gateway: COPY +build/cat-gateway . ENTRYPOINT ./cat-gateway run --address $address --database-url $db_url --log-level $log_level SAVE IMAGE cat-gateway:$tag - + # Publish packages if all integration tests have passed. (Failure to pass tests will prevent packages being published.) # publish: # FROM scratch