Skip to content

Commit

Permalink
feat: disable testbed CI in cardano-chain-follower crate (#7)
Browse files Browse the repository at this point in the history
* Update Earthfile

* feat: add CI job for docs

* Update index.md

* Update project.dic

* Update Earthfile

* chore: clean up
  • Loading branch information
minikin authored Aug 27, 2024
1 parent 546e77d commit 920595c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions .config/dictionaries/project.dic
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ rlib
rulelist
rulename
RULENAME
runable
rustc
rustdoc
rustdocflags
Expand Down
2 changes: 1 addition & 1 deletion rust/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build:
--args2="--libs=cardano-chain-follower" \
--args3="--libs=cbork" \
--args4="--libs=hermes-ipfs" \
--docs="true"
--docs="false"

# local-ci-run: This step simulates the full CI run for local purposes only.
local-ci-run:
Expand Down
34 changes: 17 additions & 17 deletions rust/cardano-chain-follower/testbed/overhead_benchmark/Earthfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
VERSION 0.8
# VERSION 0.8

IMPORT github.com/input-output-hk/catalyst-ci/earthly/mithril_snapshot:v3.1.24 AS mithril-snapshot-ci
IMPORT ../../../.. AS hermes
# IMPORT github.com/input-output-hk/catalyst-ci/earthly/mithril_snapshot:v3.1.24 AS mithril-snapshot-ci
# IMPORT ../../../.. AS hermes

build:
FROM hermes+builder
# build:
# FROM hermes+builder

WORKDIR crates/cardano-chain-follower/testbed
RUN cargo build -p overhead_benchmark --release
# WORKDIR crates/cardano-chain-follower/testbed
# RUN cargo build -p overhead_benchmark --release

SAVE ARTIFACT target/release/overhead_benchmark overhead_benchmark
# SAVE ARTIFACT target/release/overhead_benchmark overhead_benchmark

local-run-preprod:
ARG --required BENCH_NAME
# local-run-preprod:
# ARG --required BENCH_NAME

FROM +build
# FROM +build

COPY --dir mithril-snapshot-ci+package-preprod-snapshot/snapshot/immutable mithril_snapshot
COPY +build/overhead_benchmark overhead_benchmark_bin
RUN ./overhead_benchmark_bin --bench-name $BENCH_NAME --mithril-snapshot-path ./mithril_snapshot
# COPY --dir mithril-snapshot-ci+package-preprod-snapshot/snapshot/immutable mithril_snapshot
# COPY +build/overhead_benchmark overhead_benchmark_bin
# RUN ./overhead_benchmark_bin --bench-name $BENCH_NAME --mithril-snapshot-path ./mithril_snapshot

local-save-preprod-snapshot:
FROM mithril-snapshot-ci+package-preprod-snapshot
SAVE ARTIFACT immutable AS LOCAL local_preprod_mithril_snapshot
# local-save-preprod-snapshot:
# FROM mithril-snapshot-ci+package-preprod-snapshot
# SAVE ARTIFACT immutable AS LOCAL local_preprod_mithril_snapshot

0 comments on commit 920595c

Please sign in to comment.