Skip to content

Commit

Permalink
fix actionlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Fehrs committed Mar 26, 2024
1 parent 0f3d8d4 commit 205c3e6
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,7 @@ jobs:
run: |

Check warning on line 336 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:6:5: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: .github/workflows/ci.yml:336:9: shellcheck reported issue in this script: SC2086:info:6:5: Double quote to prevent globbing and word splitting [shellcheck]

Check warning on line 336 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:7:5: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: .github/workflows/ci.yml:336:9: shellcheck reported issue in this script: SC2086:info:7:5: Double quote to prevent globbing and word splitting [shellcheck]
ls -a
chmod +x ./babylonnode
mkdir -p $HOME/node-config
echo "HOME=$HOME"
echo "PATH=$PWD"
mkdir -p "$HOME/node-config"
export PROMPT_FEEDS="node-runner-cli/test-prompts/core-gateway-all-local.yml"
./babylonnode docker config -m DETAILED \
-d $HOME/node-config \
Expand All @@ -352,7 +350,7 @@ jobs:
chmod +x ./babylonnode
export PROMPT_FEEDS="node-runner-cli/test-prompts/corenode-01.yml"
./babylonnode docker config -m DETAILED \
-d $HOME/node-config \
-d "$HOME/node-config" \
-k $KEYSTORE_PASSWORD -nk -a
env:
KEYSTORE_PASSWORD: ${{secrets.KEYSTORE_PASSWORD}}
Expand All @@ -362,8 +360,8 @@ jobs:
ls -a
export PROMPT_FEEDS="node-runner-cli/test-prompts/corenode-02.yml"
./babylonnode docker config -m DETAILED \
-d $HOME/node-config \
-k $KEYSTORE_PASSWORD -nk -a
-d "$HOME/node-config" \
-k "$KEYSTORE_PASSWORD" -nk -a
env:
KEYSTORE_PASSWORD: ${{secrets.KEYSTORE_PASSWORD}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -372,17 +370,17 @@ jobs:
ls -a
export PROMPT_FEEDS="node-runner-cli/test-prompts/gateway-remote-core-local-postgress.yml"
./babylonnode docker config -m DETAILED \
-d $HOME/node-config \
-k $KEYSTORE_PASSWORD -nk -a
-d "$HOME/node-config" \
-k "$KEYSTORE_PASSWORD" -nk -a
env:
KEYSTORE_PASSWORD: ${{secrets.KEYSTORE_PASSWORD}}
- name: gateway-remote-core-remote-postgress
run: |
ls -a
export PROMPT_FEEDS="node-runner-cli/test-prompts/gateway-remote-core-remote-postgress.yml"
./babylonnode docker config -m DETAILED \
-d $HOME/node-config \
-k $KEYSTORE_PASSWORD -nk -a
-d "$HOME/node-config" \
-k "$KEYSTORE_PASSWORD" -nk -a
env:
KEYSTORE_PASSWORD: ${{secrets.KEYSTORE_PASSWORD}}

Expand Down Expand Up @@ -484,29 +482,28 @@ jobs:
- name: Setup config
run: |
chmod +x ./babylonnode
mkdir -p $HOME/babylon-node-config
mkdir -p "$HOME/babylon-node-config"
export DISABLE_VERSION_CHECK=true
export RADIXDLT_APP_VERSION_OVERRIDE="rcnet-v2-phase2-r4"
export DOCKER_COMPOSE_LOCATION="/usr/local/bin/docker-compose"
export PROMPT_FEEDS="node-runner-cli/test-prompts/core-gateway-all-local.yml"
./babylonnode docker config -m DETAILED \
-d $HOME/babylon-node-config \
-k $KEYSTORE_PASSWORD -nk -a
-d "$HOME/babylon-node-config" \
-k "$KEYSTORE_PASSWORD" -nk -a
env:
KEYSTORE_PASSWORD: ${{secrets.KEYSTORE_PASSWORD}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run CLI setup
run: |
export DISABLE_VERSION_CHECK=true
export DOCKER_COMPOSE_LOCATION="/usr/local/bin/docker-compose"
./babylonnode docker install -f $HOME/babylon-node-config/config.yaml -a
# ToDo: Fix Authorization error export DOCKER_COMPOSE_FOLDER_PREFIX=runner ?
./babylonnode docker install -f "$HOME/babylon-node-config/config.yaml" -a
sleep 60
./babylonnode auth set-admin-password -m DOCKER -p $NGINX_ADMIN_PASSWORD
./babylonnode auth set-metrics-password -m DOCKER -p $NGINX_METRICS_PASSWORD
./babylonnode auth set-superadmin-password -m DOCKER -p $NGINX_SUPERADMIN_PASSWORD
NGINX_ADMIN_PASSWORD=$NGINX_ADMIN_PASSWORD ./babylonnode api system health
NGINX_ADMIN_PASSWORD=$NGINX_ADMIN_PASSWORD ./babylonnode api system version
./babylonnode auth set-admin-password -m DOCKER -p "$NGINX_ADMIN_PASSWORD"
./babylonnode auth set-metrics-password -m DOCKER -p "$NGINX_METRICS_PASSWORD"
./babylonnode auth set-superadmin-password -m DOCKER -p "$NGINX_SUPERADMIN_PASSWORD"
NGINX_ADMIN_PASSWORD="$NGINX_ADMIN_PASSWORD" ./babylonnode api system health
NGINX_ADMIN_PASSWORD="$NGINX_ADMIN_PASSWORD" ./babylonnode api system version
env:
NGINX_ADMIN_PASSWORD: ${{secrets.NGINX_ADMIN_PASSWORD}}
NGINX_METRICS_PASSWORD: ${{secrets.NGINX_METRICS_PASSWORD}}
Expand Down

0 comments on commit 205c3e6

Please sign in to comment.