Make debugging easier when running on Jenkins
This commit is contained in:
1
test.sh
1
test.sh
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
# test suite...
|
# test suite...
|
||||||
echo running test.sh
|
echo running test.sh
|
||||||
echo "ENV:"
|
echo "ENV:"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# check for any bash files that aren't properly formatted
|
# check for any bash files that aren't properly formatted
|
||||||
# TODO: this is hardly exhaustive
|
# TODO: this is hardly exhaustive
|
||||||
|
echo running test-bashfmt.sh
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# original version of this script from kubernetes project, under ALv2 license
|
# original version of this script from kubernetes project, under ALv2 license
|
||||||
|
echo running test-gofmt.sh
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash -ie
|
#!/bin/bash -i
|
||||||
# simple test harness for testing mgmt via omv
|
# simple test harness for testing mgmt via omv
|
||||||
|
echo running test-omv.sh
|
||||||
CWD=`pwd`
|
CWD=`pwd`
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir!
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir!
|
||||||
cd "$DIR" >/dev/null # work from test directory
|
cd "$DIR" >/dev/null # work from test directory
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# simple test for reproducibility, probably needs major improvements
|
# simple test for reproducibility, probably needs major improvements
|
||||||
|
echo running test-reproducible.sh
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# simple test harness for testing mgmt
|
# simple test harness for testing mgmt
|
||||||
# NOTE: this will rm -rf /tmp/mgmt/
|
# NOTE: this will rm -rf /tmp/mgmt/
|
||||||
|
echo running test-shell.sh
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# check for any yaml files that aren't properly formatted
|
# check for any yaml files that aren't properly formatted
|
||||||
|
echo running test-yamlfmt.sh
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|||||||
Reference in New Issue
Block a user