This repository was archived by the owner on Dec 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMakefile
More file actions
66 lines (51 loc) · 1.6 KB
/
Makefile
File metadata and controls
66 lines (51 loc) · 1.6 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
########################################################################
# DOCUMENTATION
.PHONY: help
help:
@echo -e "Manage AzureDSR package\n\
=======================\n\
Package\n\
\tinstall \tBuild and install to local machine\n\
\n\
Vignettes\n\
\tvignettes \tCreate .R from each vignette .Rmd.\n\
\tvdeploy \tRun 10Deploy vignette (single Linux DSVM, cleanup).\n\
\tvmulti \tRun 20Multi vignette (multipl Linux DSVMs, cleanup).\n\
\tvcompute \tRun 30Compute vignette.\n\
\n\
Testing (RG my_)\n\
\tlist \tList all resources in each resource group.\n\
\tdeploy \tDeploy single Linux DSVM with new resource group.\n\
\tdelete \tDelete resource groups beginning with my_.\n\
\n\
Version Control\n\
\tstatus \t.\n\
\tpull \t.\n\
\tpush \t.\n\
\tdiff \t.\n\
"
########################################################################
# R Specific
include r.mk
########################################################################
# GIT Specific
include git.mk
########################################################################
# Utilities for Testing
.PHONY: vdeploy vmulti vcompute
vdeploy: vignettes
(cd vignettes; Rscript 10Deploy.R)
vmulti: vignettes
(cd vignettes; Rscript 20Multi.R)
vcompute: vignettes
(cd vignettes; Rscript 30Compute.R)
.PHONY: resources deploy delete ping
list:
(cd test; Rscript listRG.R)
deploy:
(cd test; Rscript deployDSVM.R)
delete:
(cd test; Rscript deleteRG.R)
ping:
ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
testdsvm.southeastasia.cloudapp.azure.com uptime