Add debian config 67/129767/1
authorhyokeun <hyokeun.jeon@samsung.com>
Wed, 17 May 2017 07:59:30 +0000 (16:59 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Thu, 18 May 2017 05:19:21 +0000 (14:19 +0900)
Change-Id: Id231f09277a429eb8c8aaadf601568c8ebf66ed1

debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/tools-testing-mgmt.install [new file with mode: 0644]
debian/tools-testing-settings-tizenorg.install [new file with mode: 0644]
debian/tools-testing.install [new file with mode: 0644]
sudoers.jenkins

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..ca0993b
--- /dev/null
@@ -0,0 +1,3 @@
+tools-testing (1.36.2) unstable; urgency=low
+  * add debian
+ -- Tizen Build Team <tizen.build@samsung.com>  Wed, 17 May 2017 10:09:30 +0800
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..52206d6
--- /dev/null
@@ -0,0 +1,38 @@
+Source: tools-testing
+Section: devel
+Priority: extra
+Maintainer: Tizen Build Team <tizen.build@samsung.com>
+Build-Depends: debhelper (>= 7.0.15), cdbs, coreutils, python-dev, python-support, python-docutils, python-setuptools
+Standards-Version: 1.36.2
+Homepage: http://www.tizen.org
+
+Package: tools-testing
+Architecture: all
+Depends:  ${python:Depends},
+ coreutils,
+ sudo,
+ git-core,
+ make,
+ osc,
+ kvm,
+ util-linux,
+ sysvinit-utils,
+ tar,
+ python-jinja2,
+ python-setuptools,
+ socat,
+ buffer
+Description: Utilities to be run on Tools Tester Jenkins worker host, to prepare and start VM tester sessions
+
+Package: tools-testing-mgmt
+Architecture: all
+Depends:  ${python:Depends},
+ tools-testing
+Description: Management scripts for jenkins-worker images
+
+Package: tools-testing-settings-tizenorg
+Architecture: all
+Depends:  ${python:Depends},
+ tools-testing
+Description: Tools tester jenkins-worker settings in tizen.org env
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..5e5680c
--- /dev/null
@@ -0,0 +1,48 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Installing package
+       mkdir -p $(CURDIR)/debian/tmp/
+       install -d $(CURDIR)/debian/tmp/
+       cp -r *.sh *.py *.conf *.env build-package install_package run_tests runtester safeosc sudoers.jenkins pre_deployment_test $(CURDIR)/debian/tmp/
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_install
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_python2
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/tools-testing-mgmt.install b/debian/tools-testing-mgmt.install
new file mode 100644 (file)
index 0000000..bde7fc8
--- /dev/null
@@ -0,0 +1,7 @@
+debian/tmp/tools-testing-update-seed-images.sh /usr/bin/
+debian/tmp/deploy-all-new-hda-to-all-workers.sh /usr/bin/
+debian/tmp/deploy-images-to-one-worker.sh /usr/bin/
+debian/tmp/deploy-one-file-to-all-workers.sh /usr/bin/
+debian/tmp/deploy-one-hda-to-all-workers.sh /usr/bin/
+debian/tmp/deploy-one-new-hda-to-all-workers.sh /usr/bin/
+debian/tmp/workers.env /etc/jenkins-worker/
diff --git a/debian/tools-testing-settings-tizenorg.install b/debian/tools-testing-settings-tizenorg.install
new file mode 100644 (file)
index 0000000..df6cc91
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/base-repos-tizenorg.conf /etc/tools-tester.d/
+debian/tmp/servers-tizenorg.conf /etc/tools-tester.d/
diff --git a/debian/tools-testing.install b/debian/tools-testing.install
new file mode 100644 (file)
index 0000000..c0b95ea
--- /dev/null
@@ -0,0 +1,14 @@
+debian/tmp/build-package /usr/bin/
+debian/tmp/install_package /usr/bin/
+debian/tmp/kvm-worker.sh /usr/bin/
+debian/tmp/tools-testing-delete-merged-jobs.sh /usr/bin/
+debian/tmp/tools-testing-run-test.sh /usr/bin/
+debian/tmp/tools-testing-what-release.sh /usr/bin/
+debian/tmp/pre-deployment-test-worker.sh /usr/bin/
+debian/tmp/run_tests /usr/bin/
+debian/tmp/run-itest-kvm.sh /usr/bin/
+debian/tmp/run-install-upgrade-test.sh /usr/bin/
+debian/tmp/safeosc /usr/bin/
+debian/tmp/trigger_itest_verify.py /usr/bin/
+debian/tmp/pre_deployment_test/ /usr/lib/python2.7/dist-packages/
+debian/tmp/sudoers.jenkins /etc/sudoers.d/
index e39cbbf..9036763 100644 (file)
@@ -1 +1 @@
-jenkins ALL=NOPASSWD: /usr/bin/mount -o loop*, /usr/bin/mount -t tmpfs*, /usr/bin/umount -l ../kvm-*
+build.jenkins ALL=NOPASSWD: /usr/bin/mount -o loop*, /usr/bin/mount -t tmpfs*, /usr/bin/umount -l ../kvm-*