Skip to content

Commit

Permalink
Run node e2e for both cron and branch update
Browse files Browse the repository at this point in the history
Signed-off-by: Lantao Liu <lantaol@google.com>
  • Loading branch information
Random-Liu committed Sep 7, 2017
1 parent 7a75a91 commit 062abad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ jobs:
go: 1.8.x
- stage: E2E Test
script:
- test "${TRAVIS_EVENT_TYPE}" != "cron" && exit 0 || true
# Skip node e2e test for pull request.
- test "${TRAVIS_PULL_REQUEST}" != "false" && exit 0 || true
- make install.deps
- UPLOAD_LOG=true make test-e2e-node
go: 1.8.x
3 changes: 3 additions & 0 deletions hack/test-e2e-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ make test-e2e-node \
CONTAINER_RUNTIME_ENDPOINT=unix:///var/run/cri-containerd.sock \
ARTIFACTS=${REPORT_DIR} \
TEST_ARGS='--kubelet-flags=--cgroups-per-qos=true --kubelet-flags=--cgroup-root=/' # Enable the QOS tree.
test_exit_code=$?

kill_cri_containerd

Expand All @@ -89,3 +90,5 @@ if ${UPLOAD_LOG}; then
fi
upload_logs_to_gcs "${UPLOAD_LOG_PATH}" "${VERSION}-$(date +%Y%m%d-%H%M%S)" "${REPORT_DIR}"
fi

exit ${test_exit_code}

0 comments on commit 062abad

Please sign in to comment.