new ui sanity docker
[sdc.git] / test-apis-ci / sdc-api-tests / chef-repo / cookbooks / sdc-api-tests / recipes / sanityApiTests_1_setup_env.rb
1 tests_base="/var/lib/tests"
2
3  remote_directory '/var/lib/tests/testSuites' do
4    source 'testSuites'
5    owner 'root'
6    group 'root'
7    mode '0755'
8    action :create
9  end
10
11  remote_directory '/var/lib/tests/Files' do
12     source 'Files'
13     owner 'root'
14     group 'root'
15     mode '0755'
16     action :create
17  end
18
19  remote_directory '/var/lib/tests/conf' do
20     source 'conf'
21     owner 'root'
22     group 'root'
23     mode '0755'
24     action :create
25  end
26
27  directory "create_target_dir" do
28    path "/var/lib/tests/target"
29    owner 'root'
30    group 'root'
31    mode '0755'
32    action :create
33  end
34
35  directory "create_ExtentReport_dir" do
36    path "/var/lib/tests/ExtentReport"
37    owner 'root'
38    group 'root'
39    mode '0755'
40    action :create
41  end
42
43  cookbook_file '/var/lib/tests/startTest.sh' do
44     source 'startTest.sh'
45     owner 'root'
46     group 'root'
47     mode '0755'
48     action :create
49  end