Skip to content

Commit

Permalink
worker-ui is now merged
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Sep 16, 2024
1 parent 48bdccc commit f445bda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions workspace/scripts/06-install-pioreactor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ if [ "$LEADER" == "1" ]; then
sudo apt-get install sshpass
sudo -u $USERNAME cp /files/config.example.ini $PIO_DIR/config.ini

if [ "$PIO_VERSION" == "worker-ui" ]; then
sudo pip3 install "pioreactor[leader_worker] @ https://github.com/pioreactor/pioreactor/archive/worker-ui.zip" --index-url https://piwheels.org/simple --extra-index-url https://pypi.org/simple
if [ "$PIO_VERSION" == "develop" ]; then
sudo pip3 install "pioreactor[leader_worker] @ https://github.com/pioreactor/pioreactor/archive/develop.zip" --index-url https://piwheels.org/simple --extra-index-url https://pypi.org/simple
else
sudo pip3 install "pioreactor[leader] @ https://github.com/Pioreactor/pioreactor/releases/download/$PIO_VERSION/pioreactor-$PIO_VERSION-py3-none-any.whl" --index-url https://piwheels.org/simple --extra-index-url https://pypi.org/simple
fi
Expand All @@ -106,8 +106,8 @@ fi
if [ "$WORKER" == "1" ]; then
sudo apt-get install -y python3-numpy

if [ "$PIO_VERSION" == "worker-ui" ]; then
sudo pip3 install "pioreactor[leader_worker] @ https://github.com/pioreactor/pioreactor/archive/worker-ui.zip" --index-url https://piwheels.org/simple --extra-index-url https://pypi.org/simple
if [ "$PIO_VERSION" == "develop" ]; then
sudo pip3 install "pioreactor[leader_worker] @ https://github.com/pioreactor/pioreactor/archive/develop.zip" --index-url https://piwheels.org/simple --extra-index-url https://pypi.org/simple
else
sudo pip3 install "pioreactor[worker] @ https://github.com/Pioreactor/pioreactor/releases/download/$PIO_VERSION/pioreactor-$PIO_VERSION-py3-none-any.whl" --index-url https://piwheels.org/simple --extra-index-url https://pypi.org/simple
fi
Expand Down
4 changes: 2 additions & 2 deletions workspace/scripts/08-install-pioreactorui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ latest_release=$(curl -sS https://api.github.com/repos/pioreactor/pioreactorui/r
tag=$(echo "$latest_release" | sed -Ene '/^ *"tag_name": *"(.+)",$/s//\1/p')


if [ "$PIO_VERSION" == "worker-ui" ]; then
tag="worker-ui"
if [ "$PIO_VERSION" == "develop" ]; then
tag="develop"
fi

echo "Installing UI version $tag"
Expand Down

0 comments on commit f445bda

Please sign in to comment.