mirror of
https://github.com/openshift/community.okd.git
synced 2026-07-29 02:44:32 +00:00
cleanup, get sanity tests to ignore ci/
This commit is contained in:
@@ -35,7 +35,7 @@ spec:
|
|||||||
- make
|
- make
|
||||||
- test-integration
|
- test-integration
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
backoffLimit: 3
|
backoffLimit: 2
|
||||||
completions: 1
|
completions: 1
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
EOF
|
EOF
|
||||||
@@ -53,14 +53,12 @@ completion_pid=$!
|
|||||||
kubectl wait --for=condition=failed job/molecule-integration-test --timeout 5m && exit 1 &
|
kubectl wait --for=condition=failed job/molecule-integration-test --timeout 5m && exit 1 &
|
||||||
failure_pid=$!
|
failure_pid=$!
|
||||||
|
|
||||||
wait -n $completion_pid $failure_pid
|
|
||||||
exit_code=$?
|
|
||||||
|
|
||||||
if (( $exit_code == 0 )); then
|
if wait -n $completion_pid $failure_pid ; then
|
||||||
echo "Molecule integration tests ran successfully"
|
echo "Molecule integration tests ran successfully"
|
||||||
|
exit 0
|
||||||
else
|
else
|
||||||
echo "Molecule integration tests failed, see logs for more information..."
|
|
||||||
kubectl logs job/molecule-integration-test
|
kubectl logs job/molecule-integration-test
|
||||||
|
echo "Molecule integration tests failed, see logs for more information..."
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $exit_code
|
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
||||||
plugins/modules/k8s.py validate-modules:return-syntax-error
|
plugins/modules/k8s.py validate-modules:return-syntax-error
|
||||||
|
ci/incluster_integration.sh shebang!skip
|
||||||
|
ci/incluster_integration.sh shellcheck!skip
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
||||||
plugins/modules/k8s.py validate-modules:return-syntax-error
|
plugins/modules/k8s.py validate-modules:return-syntax-error
|
||||||
|
ci/incluster_integration.sh shebang!skip
|
||||||
|
ci/incluster_integration.sh shellcheck!skip
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
||||||
|
ci/incluster_integration.sh shebang!skip
|
||||||
|
ci/incluster_integration.sh shellcheck!skip
|
||||||
|
|||||||
Reference in New Issue
Block a user