Skip to content

Commit

Permalink
Pin isolate to 1.10.1 (#266)
Browse files Browse the repository at this point in the history
This is the last version that supports cgroups v1; isolate 2.0
supports only cgroups v2.
  • Loading branch information
Holmes98 authored May 15, 2024
1 parent 8333127 commit 9600bdc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
SCHEDULE_BACKUPS: 0
ISOLATE_ROOT: /
ISOLATE_CGROUPS: false
ISOLATE_BRANCH: master
ISOLATE_BRANCH: v1.10.1

- name: Back up db/schema.rb # it will be overwritten when install.bash runs migrate.bash; back up the original so we can check if it's up to date
run: cp db/schema.rb db/schema.rb.git
Expand Down
2 changes: 1 addition & 1 deletion script/install/config.bash
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ declare -p ISOLATE_CGROUPS &> /dev/null || while [ -z "$ISOLATE_CGROUPS" ] ; do
else ISOLATE_CGROUPS=false; fi
done

declare -p ISOLATE_BRANCH &> /dev/null || ISOLATE_BRANCH=master # no prompt
declare -p ISOLATE_BRANCH &> /dev/null || ISOLATE_BRANCH=v1.10.1 # no prompt


shopt -u nocasematch;
Expand Down
2 changes: 1 addition & 1 deletion script/install/isolate.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cd $srclocation
if [ -d "isolate" ]; then
cd isolate
done=true
git pull --force | grep -q -v 'Already up-to-date.' && done=false
# git pull --force | grep -q -v 'Already up-to-date.' && done=false
if $done; then
exit
fi
Expand Down

0 comments on commit 9600bdc

Please sign in to comment.