From d2eda1a8648b7e6053627e48bf500f9671f0a6c2 Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 3 Nov 2017 14:37:22 -0500 Subject: Enhancements to papr tests The PR contains several enhancements to our CI testing. - enable lint testing on Fedora - add Centos Atomic as test platform - integration tests on run on the OS natively (uncontainerized) - builds are done in containers - inclusion of Vagrant file for local testing Signed-off-by: baude Closes: #18 Approved by: mheon --- .tool/lint | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.tool') diff --git a/.tool/lint b/.tool/lint index a62044255..4ec8bf7ab 100755 --- a/.tool/lint +++ b/.tool/lint @@ -13,7 +13,9 @@ if [ ! -f ${LINTER} ]; then exit 1 fi -PKGS=$(find . -type d -not -path . -a -not -iwholename '*.git*' -a -not -iname '.tool' -a -not -iwholename '*vendor*' -a -not -iname 'hack' -a -not -iwholename '*.artifacts*' -a -not -iwholename '*contrib*' -a -not -iwholename '*test*' -a -not -iwholename '*logo*' -a -not -iwholename '*conmon*' -a -not -iwholename '*completions*' -a -not -iwholename '*docs*' -a -not -iwholename '*pause*') +PKGS=$(find . -type d -not -path . -a -not -iwholename '*.git*' -a -not -iname '.tool' -a -not -iwholename '*vendor*' -a -not -iname 'hack' -a -not -iwholename '*.artifacts*' -a -not -iwholename '*contrib*' -a -not -iwholename '*test*' -a -not -iwholename '*logo*' -a -not -iwholename '*conmon*' -a -not -iwholename '*completions*' -a -not -iwholename '*docs*' -a -not -iwholename '*pause*' -a -not -iwholename './_output*') + +echo $PKGS # Execute the linter ${LINTER} \ @@ -40,5 +42,6 @@ ${LINTER} \ --exclude='duplicate of.*_test.go.*\(dupl\)$'\ --exclude='cmd\/client\/.*\.go.*\(dupl\)$'\ --exclude='vendor\/.*'\ + --exclude='kpod\/.*'\ --exclude='server\/seccomp\/.*\.go.*$'\ ${PKGS[@]} -- cgit v1.2.3-54-g00ecf