Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: Adjust lab deployment speed and number of labs to fix unobvious …
…but severe instability
  • Loading branch information
sbyrnes committed Apr 3, 2024
1 parent 233133c commit a9b0cfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal-lab-setup-assets/Makefile
@@ -1,6 +1,7 @@
# .phony: gen

FILES=$(wildcard workshop[0-9]*.clab.yml)
SLEEP=40

clab-install:
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Expand All @@ -16,6 +17,7 @@ gen: clean
deploy: gen
for name in workshop[0-9]*.clab.yml; do\
containerlab deploy --reconfigure -t $${name};\
sleep $(SLEEP);\
done

destroy:
Expand Down
2 changes: 1 addition & 1 deletion internal-lab-setup-assets/gen-topo.py
Expand Up @@ -2,7 +2,7 @@
import jinja2

TEMPLATE_FILE = "workshop.clab.yml.j2"
NUM_LABS = 30
NUM_LABS = 10

templateLoader = jinja2.FileSystemLoader(searchpath="./")
templateEnv = jinja2.Environment(loader=templateLoader)
Expand Down

0 comments on commit a9b0cfd

Please sign in to comment.