Skip to content

Commit

Permalink
Merge pull request #12 from omnivector-solutions/tucker/fix-jg-versio…
Browse files Browse the repository at this point in the history
…n-clause

Fixed clause for installing specific jobbergate version
  • Loading branch information
dusktreader authored Apr 12, 2024
2 parents 3ecfdb3 + 5ee7258 commit 046e132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public-scripts/deploy-democluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ runcmd:
- systemctl start jobbergate-agent
EOF

if [ -n $JG_VERSION ]; then
if ! [ -z "${JG_VERSION}" ]; then
echo " - systemctl stop jobbergate-agent" >> /tmp/cloud-init.yaml
echo " - /srv/jobbergate-agent-venv/bin/pip install -U jobbergate-agent==$JG_VERSION" >> /tmp/cloud-init.yaml
echo " - systemctl start jobbergate-agent" >> /tmp/cloud-init.yaml
Expand Down

0 comments on commit 046e132

Please sign in to comment.