Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
phvalguima committed Jan 30, 2024
1 parent 127e315 commit 5a34e1a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/integration_test_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ jobs:
run: |
juju exec --parallel=true --all -- sudo snap install sosreport --channel=latest/stable --classic
sudo snap install jq
export NODES=$(juju status --format=json | jq -r '.machines[]|."ip-addresses"[0]' | paste -s -d, -)
export NODES
NODES="$(juju status --format=json | jq -r '.machines[]|."ip-addresses"[0]' | paste -s -d, -)"
echo "Found nodes: $NODES"
echo "Total space before running command:"
Expand All @@ -365,8 +366,8 @@ jobs:
- name: Prepare upload - local reports
if: ${{ failure() && steps.tests.outcome == 'failure' }}
run: |
I=$(whoami)
sudo chown -R $I /tmp/sos/
I="$(whoami)"
sudo chown -R "$I" /tmp/sos/
mv /tmp/sos/*.tar.gz ~/logs/
- name: Print kernel messages
Expand Down

0 comments on commit 5a34e1a

Please sign in to comment.