From f783a5b71b75a996e5fe401c85370fdc66777779 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 30 Oct 2024 19:04:44 +0530 Subject: [PATCH] Pin repo, binaries and package versions in stack --- 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: -- 2.45.2