Skip to content

Commit

Permalink
update Earthly versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Dec 11, 2023
1 parent c742f4a commit e47d603
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions catalyst-gateway/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ VERSION 0.7

# Set up our target toolchains, and copy our files.
builder:
FROM github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+rust-base
FROM github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+rust-base

DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SETUP --toolchain=rust-toolchain.toml
DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+SETUP --toolchain=rust-toolchain.toml

COPY --dir .cargo .config Cargo.* clippy.toml deny.toml rustfmt.toml bin crates .

# Test rust build container - Use best architecture host tools.
check-hosted:
FROM +builder

DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+CHECK
DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+CHECK

# Test which runs check with all supported host tooling. Needs qemu or rosetta to run.
# Only used to validate tooling is working across host toolsets.
Expand All @@ -27,9 +27,9 @@ build-hosted:
# Build the service
FROM +builder

DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD --bins="cat-gateway/cat-gateway"
DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+BUILD --bins="cat-gateway/cat-gateway"

DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SMOKE_TEST --bin="cat-gateway"
DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+SMOKE_TEST --bin="cat-gateway"

SAVE ARTIFACT target/$TARGETARCH/doc doc
SAVE ARTIFACT target/$TARGETARCH/release/cat-gateway cat-gateway
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:feat/rust-docs+SRC
DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+SRC

# Now copy into that any artifacts we pull from the builds.
COPY --dir ../+repo-docs/repo /docs/includes
Expand All @@ -17,12 +17,12 @@ src:
docs:
FROM +src

DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/rust-docs+BUILD
DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+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:feat/rust-docs+PACKAGE
DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+PACKAGE

# Copy the static pages into the container
COPY +docs/ /usr/share/nginx/html
Expand Down

0 comments on commit e47d603

Please sign in to comment.