3 # Copyright (C) The Arvados Authors. All rights reserved.
5 # SPDX-License-Identifier: Apache-2.0
9 # Get the wb2 repository
11 sudo git clone https://git.arvados.org/arvados-workbench2.git
14 if [[ "$GIT_HASH" != "" ]]; then
15 echo "GIT_HASH is set to $GIT_HASH, checking out that revision..."
16 sudo git checkout $GIT_HASH
19 # React uses a lot of filesystem watchers (via inotify). Increase the default
20 # so we have a higher limit at runtime.
21 echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
23 # Build the workbench2-build docker image
24 sudo make workbench2-build-image
27 sudo rm -rf arvados-workbench2