Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(qa): Docker version update, example app naming fix #838

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qa/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ RUN --mount=type=bind,from=code,target=/mnt cargo build --release --target-dir /

FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y iproute2
COPY --from=builder /tmp/release/malachite-cli /usr/local/bin/malachite-cli
COPY --from=builder /tmp/release/informalsystems-malachitebft-starknet-app /usr/local/bin/malachite-cli
COPY --chmod=755 entrypoint.sh /usr/bin/entrypoint.sh
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
4 changes: 2 additions & 2 deletions qa/terraform/templates/commands.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ ok_cc() {
deploy_cc() {
test -d "$MALACHITE_DIR/code" || (echo "Source code repository not found. Clone or copy manually." && return 1)
if _is_cc; then
docker build --push -t cc.testnet/node --build-context "code=$MALACHITE_DIR/code" "$MALACHITE_DIR/qa/docker"
docker build --output=type=registry -t cc.testnet/node --build-context "code=$MALACHITE_DIR/code" "$MALACHITE_DIR/qa/docker"
else
_keyscan_cc 2> /dev/null # Needed for docker -H
docker -H ssh://root@$CANDC build --push -t cc.testnet/node --build-context "code=$MALACHITE_DIR/code" "$MALACHITE_DIR/qa/docker"
docker -H ssh://root@$CANDC build --output=type=registry -t cc.testnet/node --build-context "code=$MALACHITE_DIR/code" "$MALACHITE_DIR/qa/docker"
fi
}

Expand Down