Skip to content

Commit

Permalink
Fix exa-cluster action num-nodes handling
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur committed Sep 5, 2024
1 parent d82a364 commit 29fa51e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/exa-cluster/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ runs:
docker run --rm -v $HOME/sqlx1:/exa exasol/docker-db:${{ inputs.exasol-version }} exaconf modify-volume -n DataVolume1 -s 4GiB
sudo truncate -s 6G $HOME/sqlx1/data/storage/dev.1
for (( i=1; i<3; i++ )); do
for (( i=2; i<=${{ inputs.num-nodes }}; i++ )); do
sudo cp -R $HOME/sqlx1 $HOME/sqlx$i
done
shell: bash

- name: Start Exasol cluster
run: |
for (( i=1; i<=3; i++ )); do
for (( i=1; i<=${{ inputs.num-nodes }}; i++ )); do
docker run --name sqlx$i --detach --network=sqlx --ip 10.10.10.1$i --privileged --stop-timeout 120 -v $HOME/sqlx$i:/exa exasol/docker-db:${{ inputs.exasol-version }} init-sc --node-id 1$i
done
shell: bash
Expand Down

0 comments on commit 29fa51e

Please sign in to comment.