Skip to content

Commit

Permalink
ci: try to fix paths from zkstack
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Dec 19, 2024
1 parent 2a3b548 commit f22d8ab
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/contract-verifier/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ENV RUSTC_WRAPPER=${RUSTC_WRAPPER}

WORKDIR /usr/src/zksync
COPY . .

WORKDIR /usr/src/zksync/core
RUN cargo build --release --bin zksync_contract_verifier

FROM ghcr.io/matter-labs/zksync-runtime-base:latest
Expand Down
1 change: 1 addition & 0 deletions docker/external-node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ENV RUSTC_WRAPPER=${RUSTC_WRAPPER}

WORKDIR /usr/src/zksync
COPY . .
WORKDIR /usr/src/zksync/core
RUN cargo build --release --bin zksync_external_node --bin block_reverter

FROM ghcr.io/matter-labs/zksync-runtime-base:latest
Expand Down
2 changes: 1 addition & 1 deletion docker/snapshots-creator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV RUSTC_WRAPPER=${RUSTC_WRAPPER}

WORKDIR /usr/src/zksync
COPY . .

WORKDIR /usr/src/zksync/core
RUN cargo build --release --bin snapshots_creator

FROM ghcr.io/matter-labs/zksync-runtime-base:latest
Expand Down
2 changes: 1 addition & 1 deletion docker/verified-sources-fetcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV RUSTC_WRAPPER=${RUSTC_WRAPPER}

WORKDIR /usr/src/zksync
COPY . .

WORKDIR /usr/src/zksync/core
RUN cargo build --release --bin verified_sources_fetcher

FROM ghcr.io/matter-labs/zksync-runtime-base:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async fn prettier_contracts(shell: Shell, check: bool) -> anyhow::Result<()> {
}

async fn rustfmt(shell: Shell, check: bool, link_to_code: PathBuf) -> anyhow::Result<()> {
for dir in [".", "prover", "zkstack_cli"] {
for dir in ["core", "prover", "zkstack_cli"] {
let spinner = Spinner::new(&msg_running_rustfmt_for_dir_spinner(dir));
let _dir = shell.push_dir(link_to_code.join(dir));
let mut cmd = cmd!(shell, "cargo fmt -- --config imports_granularity=Crate --config group_imports=StdExternalCrate");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub async fn run(shell: &Shell) -> anyhow::Result<()> {
}];
reset_test_databases(shell, &ecosystem.link_to_code, dals).await?;

let _dir_guard = shell.push_dir(ecosystem.link_to_code.join("prover"));
let _dir_guard = shell.push_dir(ecosystem.join("prover"));
Cmd::new(cmd!(shell, "cargo test --release --workspace --locked"))
.with_force_run()
.env("TEST_DATABASE_PROVER_URL", TEST_DATABASE_PROVER_URL)
Expand Down

0 comments on commit f22d8ab

Please sign in to comment.