Skip to content

Commit

Permalink
Run Kraken from /tmp dir instead of root
Browse files Browse the repository at this point in the history
This is needed to avoid permission issues in prow env.
  • Loading branch information
chaitanyaenr committed Jul 22, 2023
1 parent dd90a45 commit a8fbdd0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion prow/cpu-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ ls
source env.sh

export KUBECONFIG=$KRKN_KUBE_CONFIG
krkn_loc=/root/kraken
# Move kraken from root dir to tmp to avoid permissions issues in prow until fixed in base image
cp -r /root/kraken /tmp/kraken
krkn_loc=/tmp/kraken
SCENARIO_FOLDER="$krkn_loc/scenarios/arcaflow/cpu-hog"

# cluster details
Expand Down
4 changes: 3 additions & 1 deletion prow/memory-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ ls
source env.sh

export KUBECONFIG=$KRKN_KUBE_CONFIG
krkn_loc=/root/kraken
# Move kraken from root dir to tmp to avoid permissions issues in prow until fixed in base image
cp -r /root/kraken /tmp/kraken
krkn_loc=/tmp/kraken
SCENARIO_FOLDER="$krkn_loc/scenarios/arcaflow/memory-hog"

# cluster details
Expand Down

0 comments on commit a8fbdd0

Please sign in to comment.