From f989e87425eac0e4130e880dbf96e7d42aa39c9c Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 30 Oct 2024 13:38:00 +0000 Subject: [PATCH] Pin repo, binaries and package versions in stack (#15) Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270) Reviewed-on: https://git.vdb.to/cerc-io/nitro-stack/pulls/15 Co-authored-by: Prathamesh Musale Co-committed-by: Prathamesh Musale --- stack-orchestrator/container-build/cerc-go-nitro/Dockerfile | 4 ++-- .../container-build/cerc-nitro-client/Dockerfile | 2 +- stack-orchestrator/stacks/nitro-contracts/stack.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stack-orchestrator/container-build/cerc-go-nitro/Dockerfile b/stack-orchestrator/container-build/cerc-go-nitro/Dockerfile index 46c8179..003c5ee 100644 --- a/stack-orchestrator/container-build/cerc-go-nitro/Dockerfile +++ b/stack-orchestrator/container-build/cerc-go-nitro/Dockerfile @@ -13,8 +13,8 @@ RUN chmod +x mkcert-v*-linux-amd64 RUN cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert # Download binaries -RUN curl -LO https://git.vdb.to/cerc-io/nitro/releases/download/latest/nitro -RUN curl -LO https://git.vdb.to/cerc-io/nitro/releases/download/latest/bridge +RUN curl -LO https://git.vdb.to/cerc-io/nitro/releases/download/v0.1.7/nitro +RUN curl -LO https://git.vdb.to/cerc-io/nitro/releases/download/v0.1.7/bridge # Make binaries executable RUN chmod +x ./nitro diff --git a/stack-orchestrator/container-build/cerc-nitro-client/Dockerfile b/stack-orchestrator/container-build/cerc-nitro-client/Dockerfile index 50bca80..382c666 100644 --- a/stack-orchestrator/container-build/cerc-nitro-client/Dockerfile +++ b/stack-orchestrator/container-build/cerc-nitro-client/Dockerfile @@ -7,4 +7,4 @@ WORKDIR /app RUN npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/ RUN echo "Installing nitro-rpc-client" && \ - npm install -g @cerc-io/nitro-rpc-client + npm install -g @cerc-io/nitro-rpc-client@0.1.6 diff --git a/stack-orchestrator/stacks/nitro-contracts/stack.yml b/stack-orchestrator/stacks/nitro-contracts/stack.yml index 4938465..d2a6026 100644 --- a/stack-orchestrator/stacks/nitro-contracts/stack.yml +++ b/stack-orchestrator/stacks/nitro-contracts/stack.yml @@ -2,7 +2,7 @@ version: "1.0" name: nitro-contracts description: "Deploy nitro contracts" repos: - - github.com/cerc-io/go-nitro + - github.com/cerc-io/go-nitro@v0.1.7 containers: - cerc/nitro-contracts pods: