mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #78606 from oomichi/enable-api-log
Add E2E_VERBOSITY for getting API operation logs on conformance job
This commit is contained in:
commit
461a40c3c7
@ -25,6 +25,7 @@ ENV E2E_FOCUS="\[Conformance\]"
|
|||||||
ENV E2E_SKIP=""
|
ENV E2E_SKIP=""
|
||||||
ENV E2E_PROVIDER="local"
|
ENV E2E_PROVIDER="local"
|
||||||
ENV E2E_PARALLEL="1"
|
ENV E2E_PARALLEL="1"
|
||||||
|
ENV E2E_VERBOSITY="4"
|
||||||
ENV RESULTS_DIR="/tmp/results"
|
ENV RESULTS_DIR="/tmp/results"
|
||||||
ENV KUBECONFIG=""
|
ENV KUBECONFIG=""
|
||||||
|
|
||||||
|
@ -66,6 +66,8 @@ spec:
|
|||||||
value: "skeleton"
|
value: "skeleton"
|
||||||
- name: E2E_PARALLEL
|
- name: E2E_PARALLEL
|
||||||
value: "false"
|
value: "false"
|
||||||
|
- name: E2E_VERBOSITY
|
||||||
|
value: "4"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: output-volume
|
- name: output-volume
|
||||||
mountPath: /tmp/results
|
mountPath: /tmp/results
|
||||||
|
@ -59,7 +59,7 @@ ginkgo_args+=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
set -x
|
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
|
set +x
|
||||||
# $! is the pid of tee, not ginkgo
|
# $! is the pid of tee, not ginkgo
|
||||||
wait "$(pgrep ginkgo)" && ret=0 || ret=$?
|
wait "$(pgrep ginkgo)" && ret=0 || ret=$?
|
||||||
|
Loading…
Reference in New Issue
Block a user