-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
102 lines (87 loc) · 2.52 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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
all:
${MAKE} test
install_centos6:
bundle exec rake 'litmus:provision_list[travis_el6]'
install_centos7:
bundle exec rake 'litmus:provision_list[travis_el7]'
install_debian:
bundle exec rake 'litmus:provision_list[travis_deb]'
install_ubuntu:
bundle exec rake 'litmus:provision_list[travis_ubuntu]'
install_vagrant:
bundle exec rake 'litmus:provision_list[vagrant]'
install_module:
bundle exec rake litmus:install_module
test:
${MAKE} validate
${MAKE} unit
${MAKE} acceptance
${MAKE} documentation
validate:
bundle exec rake metadata_lint
bundle exec rake syntax
bundle exec rake validate
bundle exec rake rubocop
bundle exec rake check:git_ignore
unit:
bundle exec rake spec
acceptance:
${MAKE} test_puppet5
${MAKE} test_puppet6
test_puppet6:
${MAKE} install_centos6
bundle exec rake litmus:install_agent[puppet6]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_centos7
bundle exec rake litmus:install_agent[puppet6]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_ubuntu
bundle exec rake litmus:install_agent[puppet6]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} install_debian
bundle exec rake litmus:install_agent[puppet6]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_vagrant
bundle exec rake litmus:install_agent[puppet6]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
test_puppet5:
${MAKE} install_centos6
bundle exec rake litmus:install_agent[puppet5]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_centos7
bundle exec rake litmus:install_agent[puppet5]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_ubuntu
bundle exec rake litmus:install_agent[puppet5]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_debian
bundle exec rake litmus:install_agent[puppet5]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_vagrant
bundle exec rake litmus:install_agent[puppet5]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
documentation:
bundle exec puppet strings generate --format=markdown
teardown:
bundle exec rake litmus:tear_down
shell:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@localhost -p 2222