From 7f08eb1fbdad39f15a6eae3a55b3997d39bbe6c0 Mon Sep 17 00:00:00 2001 From: Stefano Cunego <93382903+kukkok3@users.noreply.github.com> Date: Mon, 25 Mar 2024 11:01:08 +0100 Subject: [PATCH] feat: bump ci to 3.0.0 (#340) --- catalyst-gateway/Earthfile | 2 +- catalyst-gateway/event-db/Earthfile | 10 +++++----- docs/Earthfile | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/catalyst-gateway/Earthfile b/catalyst-gateway/Earthfile index 4a139060918..a6173998142 100644 --- a/catalyst-gateway/Earthfile +++ b/catalyst-gateway/Earthfile @@ -4,7 +4,7 @@ VERSION --try --global-cache 0.7 # Set up our target toolchains, and copy our files. builder: - DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.9.9+SETUP + DO github.com/input-output-hk/catalyst-ci/earthly/rust:v3.0.0+SETUP COPY --dir .cargo .config Cargo.* clippy.toml deny.toml rustfmt.toml bin crates tests . COPY --dir ./event-db/queries ./event-db/queries diff --git a/catalyst-gateway/event-db/Earthfile b/catalyst-gateway/event-db/Earthfile index 70937402537..fda6ba288e2 100644 --- a/catalyst-gateway/event-db/Earthfile +++ b/catalyst-gateway/event-db/Earthfile @@ -9,7 +9,7 @@ VERSION 0.7 # Internal: builder is our Event db builder target. Prepares all necessary artifacts. # CI target : dependency builder: - DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.9.9+BUILDER \ + DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v3.0.0+BUILDER \ --sqlfluff_cfg=./../../+repo-config/repo/.sqlfluff COPY ./../../+repo-config/repo/.sqlfluff . @@ -24,7 +24,7 @@ builder: check: FROM +builder - DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.9.9+CHECK + DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v3.0.0+CHECK # format all SQL files in the current project. Local developers tool. @@ -32,15 +32,15 @@ check: format: LOCALLY - DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.9.9+FORMAT --src=$(echo ${PWD}/../../) + DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v3.0.0+FORMAT --src=$(echo ${PWD}/../../) # build - an event db docker image. # CI target : true build: FROM +builder - DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.9.9+BUILD --image_name=event-db - DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.9.9+DOCS --image_name=event-db + DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v3.0.0+BUILD --image_name=event-db + DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v3.0.0+DOCS --image_name=event-db # test the event db database schema # CI target : true diff --git a/docs/Earthfile b/docs/Earthfile index 746da7448a2..135fcbfb72c 100644 --- a/docs/Earthfile +++ b/docs/Earthfile @@ -6,7 +6,7 @@ VERSION 0.7 # Copy all the source we need to build the docs src: # Common src setup - DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.9.9+SRC + DO github.com/input-output-hk/catalyst-ci/earthly/docs:v3.0.0+SRC # Now copy into that any artifacts we pull from the builds. COPY --dir ../+repo-docs/repo /docs/includes @@ -21,12 +21,12 @@ src: docs: FROM +src - DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.9.9+BUILD + DO github.com/input-output-hk/catalyst-ci/earthly/docs:v3.0.0+BUILD # Make a locally runable container that can serve the docs. local: # Build a self contained service to show built docs locally. - DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.9.9+PACKAGE + DO github.com/input-output-hk/catalyst-ci/earthly/docs:v3.0.0+PACKAGE # Copy the static pages into the container COPY +docs/ /usr/share/nginx/html