forked from TsuyoshiUshio/KubernetesTask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.bat
59 lines (49 loc) · 1.5 KB
/
deploy.bat
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
copy apply.js tasks\apply
copy general.js tasks\general
copy downloader.js tasks\downloader
copy kubectl.js tasks\apply
copy kubectl.js tasks\general
copy kubectl.js tasks\downloader
copy istioctl.js tasks\istio
copy base.js tasks\istio
copy helm.js tasks\helm
copy base.js tasks\helm
copy kubectlexec.js tasks\kubectl
copy base.js tasks\kubectl
copy fluxctl.js tasks\flux
copy base.js tasks\flux
copy package.json tasks\apply
copy package.json tasks\general
copy package.json tasks\downloader
copy package.json tasks\istio
copy package.json tasks\helm
copy package.json tasks\kubectl
copy package.json tasks\flux
IF EXIST tasks\apply\node_modules (
RD /s /q tasks\apply\node_modules
)
IF EXIST tasks\general\node_modules (
RD /s /q tasks\general\node_modules
)
IF EXIST tasks\downloader\node_modules (
RD /s /q tasks\downloader\node_modules
)
IF EXIST tasks\istio\node_modules (
RD /s /q tasks\istio\node_modules
)
IF EXIST tasks\helm\node_modules (
RD /s /q tasks\helm\node_modules
)
IF EXIST tasks\kubectl\node_modules (
RD /s /q tasks\kubectl\node_modules
)
IF EXIST tasks\flux\node_modules (
RD /s /q tasks\flux\node_modules
)
xcopy /Y /I /S node_modules tasks\\apply\\node_modules
xcopy /Y /I /S node_modules tasks\\general\\node_modules
xcopy /Y /I /S node_modules tasks\\downloader\\node_modules
xcopy /Y /I /S node_modules tasks\\istio\\node_modules
xcopy /Y /I /S node_modules tasks\\helm\\node_modules
xcopy /Y /I /S node_modules tasks\\kubectl\\node_modules
xcopy /Y /I /S node_modules tasks\\flux\\node_modules