Skip to content

Commit

Permalink
Fixing shell check error by changing exports to separate lines from t…
Browse files Browse the repository at this point in the history
…he assignment of variables in the run test suites bash action.
  • Loading branch information
nathangeology committed Jun 26, 2024
1 parent 02740f6 commit 06ee521
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@ jobs:
- name: run test suites
shell: bash
run: |
export e2e_test_output=$(make e2etests | tail -n 50)
e2e_test_output=$(make e2etests | tail -n 50)
export e2e_test_output
line=$(echo "$e2e_test_output" | grep "Printed CSV TO")
directory=$(echo "$line" | sed -E 's|.*Printed CSV TO (/tmp/[0-9]+).*|\1|')
export TEMP_DIR="$directory"
TEMP_DIR="$directory"
export TEMP_DIR
echo "The KPI milestones data is in $TEMP_DIR"
echo "run KPIs here"
python ./karpenter_eval/main.py
Expand Down

0 comments on commit 06ee521

Please sign in to comment.