mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
Enable API operation log on conformance job
To verify all conformance tests call GA APIs only without alpha, beta APIs, this enables API operation log on the conformance job. One concern is this makes e2e.log huge. So to consider it, the original size of e2e.log is 112,909[1] before applying this. [1]: https://gcsweb.k8s.io/gcs/kubernetes-jenkins/pr-logs/pull/70639/pull-kubernetes-conformance-image-test/1116565046130905089/artifacts/
This commit is contained in:
parent
acb321e614
commit
bb95ec0f68
@ -25,6 +25,7 @@ ENV E2E_FOCUS="\[Conformance\]"
|
||||
ENV E2E_SKIP=""
|
||||
ENV E2E_PROVIDER="local"
|
||||
ENV E2E_PARALLEL="1"
|
||||
ENV E2E_VERBOSITY="4"
|
||||
ENV RESULTS_DIR="/tmp/results"
|
||||
ENV KUBECONFIG=""
|
||||
|
||||
|
@ -66,6 +66,8 @@ spec:
|
||||
value: "skeleton"
|
||||
- name: E2E_PARALLEL
|
||||
value: "false"
|
||||
- name: E2E_VERBOSITY
|
||||
value: "4"
|
||||
volumeMounts:
|
||||
- name: output-volume
|
||||
mountPath: /tmp/results
|
||||
|
@ -59,7 +59,7 @@ ginkgo_args+=(
|
||||
)
|
||||
|
||||
set -x
|
||||
/usr/local/bin/ginkgo "${ginkgo_args[@]}" /usr/local/bin/e2e.test -- --disable-log-dump --repo-root=/kubernetes --provider="${E2E_PROVIDER}" --report-dir="${RESULTS_DIR}" --kubeconfig="${KUBECONFIG}" | tee "${RESULTS_DIR}"/e2e.log &
|
||||
/usr/local/bin/ginkgo "${ginkgo_args[@]}" /usr/local/bin/e2e.test -- --disable-log-dump --repo-root=/kubernetes --provider="${E2E_PROVIDER}" --report-dir="${RESULTS_DIR}" --kubeconfig="${KUBECONFIG}" -v="${E2E_VERBOSITY}" | tee "${RESULTS_DIR}"/e2e.log &
|
||||
set +x
|
||||
# $! is the pid of tee, not ginkgo
|
||||
wait "$(pgrep ginkgo)" && ret=0 || ret=$?
|
||||
|
Loading…
Reference in New Issue
Block a user