Skip to content

Commit

Permalink
feat: bump ci to 3.0.0 (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 authored Mar 25, 2024
1 parent 428fdc9 commit 7f08eb1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion catalyst-gateway/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions catalyst-gateway/event-db/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -24,23 +24,23 @@ 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.
# CI target : false
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
Expand Down
6 changes: 3 additions & 3 deletions docs/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7f08eb1

Please sign in to comment.