Skip to content

Commit

Permalink
regenerated provisioning script for version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jesteria committed Nov 16, 2021
1 parent 4b5bc5f commit 1288848
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/netrics-docker-run
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fi

sudo mkdir -p /var/run/netrics-dashboard

if [ ! -f /var/run/netrics-dashboard/version ] || [ "$(</var/run/netrics-dashboard/version)" != 0.6.0 ]; then
if [ ! -f /var/run/netrics-dashboard/version ] || [ "$(</var/run/netrics-dashboard/version)" != 1.0.0 ]; then
TOPIC=$(</etc/nm-exp-active-netrics/nm-exp-active-netrics.toml \
python3 -c "import sys, toml; sys.stdout.write(toml.load(sys.stdin).get('topic', ''))")

Expand All @@ -93,7 +93,7 @@ if [ ! -f /var/run/netrics-dashboard/version ] || [ "$(</var/run/netrics-dashboa
--read-only \
--user $(id -u):$(id -g) \
--name netrics-dashboard \
chicagocdac/netrics-dashboard:0.6.0
chicagocdac/netrics-dashboard:1.0.0

sudo docker inspect \
--format="{{.Config.Labels.appversion}}" \
Expand All @@ -116,7 +116,7 @@ docker run
--read-only \
--user $(id -u):$(id -g) \
--name netrics-dashboard-command \
chicagocdac/netrics-dashboard:0.6.0 \
chicagocdac/netrics-dashboard:1.0.0 \
python -m app.cmd "$@"
SCRIPT

Expand Down

0 comments on commit 1288848

Please sign in to comment.