feat(nasp): enable registry
This commit is contained in:
12
hosts/modules/scripts/registry.sh
Normal file
12
hosts/modules/scripts/registry.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
if [[ ! -e /opt/registry/scripts/testbed_cron.sh ]]; then
|
||||
mkdir -p /opt
|
||||
cd /opt
|
||||
git clone https://git.nasp.fit/NASP/registry.git
|
||||
fi
|
||||
|
||||
cd /opt/registry
|
||||
git pull
|
||||
bash /opt/registry/scripts/testbed_cron.sh
|
||||
Reference in New Issue
Block a user