Skip to content

Commit

Permalink
fix: add shell to composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov committed Dec 2, 2024
1 parent bea8756 commit 94c836c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/setup-kurtosis/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "Setup Kurtosis"
description: "Setup Kurtosis CDK for tests"
runs:
using: 'composite'
using: "composite"
steps:
- name: Checkout cdk-erigon
uses: actions/checkout@v4
Expand All @@ -23,6 +23,7 @@ runs:
uses: foundry-rs/foundry-toolchain@v1

- name: Install polycli
shell: bash
run: |
tmp_dir=$(mktemp -d) && curl -L https://github.com/0xPolygon/polygon-cli/releases/download/v0.1.48/polycli_v0.1.48_linux_amd64.tar.gz | tar -xz -C "$tmp_dir" && mv "$tmp_dir"/* /usr/local/bin/polycli && rm -rf "$tmp_dir"
sudo chmod +x /usr/local/bin/polycli
Expand All @@ -33,6 +34,7 @@ runs:

- name: Remove unused flags
working-directory: ./kurtosis-cdk
shell: bash
run: |
sed -i '/zkevm.sequencer-batch-seal-time:/d' templates/cdk-erigon/config.yml
sed -i '/zkevm.sequencer-non-empty-batch-seal-time:/d' templates/cdk-erigon/config.yml
Expand All @@ -42,11 +44,13 @@ runs:
- name: Create params.yml overrides
working-directory: ./kurtosis-cdk
shell: bash
run: |
echo 'args:' > params.yml
echo ' cdk_erigon_node_image: cdk-erigon:local' >> params.yml
echo ' el-1-geth-lighthouse: ethpandaops/lighthouse@sha256:4902d9e4a6b6b8d4c136ea54f0e51582a32f356f3dec7194a1adee13ed2d662e' >> params.yml
- name: Deploy Kurtosis CDK package
working-directory: ./kurtosis-cdk
shell: bash
run: kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .

0 comments on commit 94c836c

Please sign in to comment.