From 96ba36e80916760a1cd73fda16e8a51f0954d167 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 18 Oct 2024 14:41:17 +0530 Subject: [PATCH] Add setup repos step in Nitro contracts playbook --- nitro-contracts-setup/deploy-contracts.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nitro-contracts-setup/deploy-contracts.yml b/nitro-contracts-setup/deploy-contracts.yml index 4a8c9bc..0ff53ed 100644 --- a/nitro-contracts-setup/deploy-contracts.yml +++ b/nitro-contracts-setup/deploy-contracts.yml @@ -30,8 +30,16 @@ timeout: 300 ignore_errors: yes + - name: Clone repositories required for nitro-stack + expect: + command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-contracts setup-repositories --git-ssh --pull + responses: + "Are you sure you want to continue connecting \\(yes/no/\\[fingerprint\\]\\)\\?": "yes" + timeout: 300 + ignore_errors: yes + - name: Build containers - command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge build-containers --force-rebuild + command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-contracts build-containers --force-rebuild when: not skip_container_build - name: Generate spec file for nitro contracts deployment