-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
31 lines (22 loc) · 1.22 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
help:
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
./experiment/experiment.py info
image-prepare: ## Create customized OS image
cd images/preparation/ && ./prepare.py --release xenial --diskimage image.tgz --kernel 4.14.5 --kernel 3.18.87 build
image-deployment: ## Deploy customized OS image on nodes
cd images/deployment && ansible-playbook deploy.yml
image-boot: ## Just boot deployed image (don't start from scratch)
cd images/deployment && ansible-playbook deploy.yml --tags bootos
software-deployment: ## Configure nodes
cd deployment/ && ansible-playbook main.yml
select-kernel: ## Select kernel
cd experiment && ./experiment.py select-kernel --reboot
sleep 20
cd images/deployment && ansible-playbook deploy.yml --tags bootos
experiment: ## Execute experiment
./experiment/experiment.py run
analysis: ## Data analysis, i.e. start jupyter notebook
jupyter notebook analysis/Connectivity\ Analysis.ipynb
clean: ## Clean empty data directories
cd data && find . -type d -empty -delete
.PHONY: help image_prepare image_deployment software_deployment experiment experiment_1 experiment_2 analysis