From c10a3d4d0cbc43f9c8cbc542fe937ae82b58fcf8 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Wed, 26 Jun 2024 22:01:07 +0800 Subject: [PATCH] [dev] fetch images --- .gitea/workflows/test-fixturenet-plugeth.yml | 2 +- tests/fixturenet-plugeth-stack/run-test.sh | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test-fixturenet-plugeth.yml b/.gitea/workflows/test-fixturenet-plugeth.yml index b4c22fc..a8da652 100644 --- a/.gitea/workflows/test-fixturenet-plugeth.yml +++ b/.gitea/workflows/test-fixturenet-plugeth.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v3 with: repository: cerc-io/stack-orchestrator - ref: roysc/fix-various + ref: roysc/fetch-from-insecure-registry path: .tools/stack-orchestrator - name: "Install stack orchestrator" run: pip3 install .tools/stack-orchestrator diff --git a/tests/fixturenet-plugeth-stack/run-test.sh b/tests/fixturenet-plugeth-stack/run-test.sh index 0a1ebc0..e908e4a 100755 --- a/tests/fixturenet-plugeth-stack/run-test.sh +++ b/tests/fixturenet-plugeth-stack/run-test.sh @@ -45,10 +45,12 @@ echo "Cloning repositories into: $CERC_REPO_BASE_DIR" rm -rf $CERC_REPO_BASE_DIR mkdir -p $CERC_REPO_BASE_DIR -$SO_COMMAND --stack ${stack_name} setup-repositories +# $SO_COMMAND --stack ${stack_name} setup-repositories -echo "Building containers" -$SO_COMMAND --stack ${stack_name} build-containers +# echo "Building containers" +# $SO_COMMAND --stack ${stack_name} build-containers + +$SO_COMMAND --stack ${stack_name} fetch-containers --image-registry "gitea.local:5555" test_deployment_dir=$CERC_REPO_BASE_DIR/test-deployment-dir test_deployment_spec=$CERC_REPO_BASE_DIR/test-deployment-spec.yml