summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/prerec/templates/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/prerec/templates/Makefile b/roles/prerec/templates/Makefile
index 205fd42..8579965 100644
--- a/roles/prerec/templates/Makefile
+++ b/roles/prerec/templates/Makefile
@@ -87,10 +87,10 @@ show-files:
bbb-testing:
@echo "Resizing BBB node to 8GB 4 core for testing"
- linode-cli linodes resize 67329098 --type g6-standard-4 --allow_auto_disk_resize false
+ linode-cli linodes resize $(LINODE_BBB_ID) --type g6-standard-4 --allow_auto_disk_resize false
sleep 2m
@echo "Booting up"
- linode-cli linodes boot 67329098
+ linode-cli linodes boot $(LINODE_BBB_ID)
ssh root@bbb.emacsverse.org "cd ~/greenlight-v3; docker compose restart"
bbb-dormant:
@@ -98,17 +98,17 @@ bbb-dormant:
ssh root@bbb.emacsverse.org "/usr/sbin/shutdown -h now &" || true
sleep 30
@echo "Powering off BBB node"
- linode-cli linodes shutdown 67329098
+ linode-cli linodes shutdown $(LINODE_BBB_ID)
sleep 30
@echo "Resizing BBB node to nanode, dormant"
- linode-cli linodes resize 67329098 --type g6-nanode-1 --allow_auto_disk_resize false
+ linode-cli linodes resize $(LINODE_BBB_ID) --type g6-nanode-1 --allow_auto_disk_resize false
bbb-prod:
@echo "Resizing BBB node to production size"
- linode-cli linodes resize 67329098 --type g6-dedicated-8 --allow_auto_disk_resize true
+ linode-cli linodes resize $(LINODE_BBB_ID) --type g6-dedicated-8 --allow_auto_disk_resize true
sleep 2m
@echo "Booting up"
- linode-cli linodes boot 67329098
+ linode-cli linodes boot $(LINODE_BBB_ID)
live-dormant:
@echo "Resizing live0 node to nanode, dormant"