Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ if [[ "${CLUSTER_TYPE}" == gcp ]]; then
popd
fi

test_suite=openshift/conformance/parallel
if [[ -e "${SHARED_DIR}/test-suite.txt" ]]; then
test_suite=$(<"${SHARED_DIR}/test-suite.txt")
fi

openshift-tests run "${test_suite}" \
openshift-tests "${TEST_COMMAND}" "${TEST_SUITE}" \
--provider "${TEST_PROVIDER}" \
-o /tmp/artifacts/e2e.log \
--junit-dir /tmp/artifacts/junit
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ ref:
as: openshift-e2e-test
from: tests
commands: openshift-e2e-test-commands.sh
env:
- name: TEST_COMMAND
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This unfortunately doesn’t solve the common “run a type of suite like upgrade and then run the normal suite”.

I would recommend not abstracting the test command into multiple steps, just accept a test command like we do in CI chunks today. I don’t think this is going to address our needs well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, we can still iterate ;)

default: run
documentation: The test command to run. Use 'openshift-test --help' to list available commands.
- name: TEST_SUITE
default: openshift/conformance/parallel
documentation: The test suite to run. Use 'openshift-test TEST_COMMAND --help' to list available suites.
resources:
requests:
cpu: "3"
Expand Down