From 6dc0ccea5838b56026157c20282099d4b56f34e2 Mon Sep 17 00:00:00 2001 From: hemz10 Date: Mon, 20 Nov 2023 12:55:04 +0530 Subject: [PATCH 1/2] test: add workflow to run smoke test --- .github/workflows/smoke.yaml | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/smoke.yaml diff --git a/.github/workflows/smoke.yaml b/.github/workflows/smoke.yaml new file mode 100644 index 0000000..7d6082e --- /dev/null +++ b/.github/workflows/smoke.yaml @@ -0,0 +1,37 @@ +name: smoke-test +on: + workflow_dispatch: + +jobs: + smoke-test: + name: smoke test on all parachains + runs-on: "ubuntu-latest" + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Installing Kurtosis CLI if not found in cache + run: | + if [ ! -f "/usr/bin/kurtosis" ]; then + echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list + sudo apt update + sudo apt install kurtosis-cli + which kurtosis + fi + + - name: Cache Kurtosis CLI + uses: actions/cache@v2 + with: + path: | + /usr/bin/kurtosis + key: kurtosis-${{ runner.os }} + restore-keys: | + kurtosis- + + - name: Starting the Kurtosis engine + run: kurtosis engine start + + - name: Run parachain + run: | + kurtosis run . --args-file ./local.json --enclave polkadot \ No newline at end of file From 3b6df3395c5a3cf4954e1dbb5413363a371c4a1a Mon Sep 17 00:00:00 2001 From: hemz10 Date: Mon, 20 Nov 2023 12:55:43 +0530 Subject: [PATCH 2/2] test: comment parachain run command to test cache kurtosis --- .github/workflows/smoke.yaml | 6 +++--- local.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/smoke.yaml b/.github/workflows/smoke.yaml index 7d6082e..387d273 100644 --- a/.github/workflows/smoke.yaml +++ b/.github/workflows/smoke.yaml @@ -32,6 +32,6 @@ jobs: - name: Starting the Kurtosis engine run: kurtosis engine start - - name: Run parachain - run: | - kurtosis run . --args-file ./local.json --enclave polkadot \ No newline at end of file + # - name: Run parachain + # run: | + # kurtosis run . --args-file ./local.json --enclave polkadot \ No newline at end of file diff --git a/local.json b/local.json index c2020a6..0a55f73 100644 --- a/local.json +++ b/local.json @@ -1,7 +1,7 @@ { - "chain-type": "local", + "chain-type": "mainnet", "relaychain": { - "name": "polkadot", + "name": "kusama", "nodes": [ { "name": "alice", @@ -17,7 +17,7 @@ }, "para": { - "bifrost": { + "acala": { "nodes": [ { "name": "alice",