Merge 24fc5d1bfb
into db0bd66fca
This commit is contained in:
commit
8c78d7ac35
1 changed files with 15 additions and 4 deletions
|
@ -31,14 +31,25 @@
|
||||||
retries: 100
|
retries: 100
|
||||||
delay: 30
|
delay: 30
|
||||||
|
|
||||||
|
- name: Buffer location for e2e output and reports
|
||||||
|
set_fact:
|
||||||
|
# N/B: This need manual coordination with results.yml
|
||||||
|
artifacts: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes/artifacts"
|
||||||
|
|
||||||
- name: ensure directory exists for e2e reports
|
- name: ensure directory exists for e2e reports
|
||||||
file:
|
file:
|
||||||
path: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes/artifacts"
|
path: "{{ artifacts }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: run e2e tests
|
- name: run e2e tests
|
||||||
shell: |
|
shell: >
|
||||||
go run hack/e2e.go -v --test -test_args="-host=https://{{ ansible_default_ipv4.address }}:6443 --ginkgo.focus=\[Conformance\]" >e2e.log 2>&1
|
go run hack/e2e.go \
|
||||||
|
--test \
|
||||||
|
-test_args="-host=https://{{ ansible_default_ipv4.address }}:6443 \
|
||||||
|
--ginkgo.focus=\[Conformance\] \
|
||||||
|
--report-dir={{ artifacts }}" \
|
||||||
|
&> {{ artifacts }}/e2e.log
|
||||||
|
# Fix " syntax hilighting
|
||||||
args:
|
args:
|
||||||
chdir: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes"
|
chdir: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes"
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue