camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

[E2E] Split integration test suite for kubernetes and openshift CI workflows

Open tadayosi opened this issue 3 years ago • 3 comments

Now that GH Actions allows partial re-runs of workflows for only failed ones, it should be beneficial to split long-running workflows such as kubernetes and openshift into smaller jobs, so that only failed set of tests can be re-run. https://github.blog/2022-03-16-save-time-partial-re-runs-github-actions/

Currently kubernetes and openshift workflows run this set of integration tests in one job:

test-integration: build
	STAGING_RUNTIME_REPO="$(STAGING_RUNTIME_REPO)" \
	go test -timeout 60m -v ./e2e/common -tags=integration $(TEST_INTEGRATION_COMMON_RUN) && \
	go test -timeout 60m -v ./e2e/common/build -tags=integration $(TEST_INTEGRATION_COMMON_BUILD_RUN) && \
	go test -timeout 60m -v ./e2e/common/cli -tags=integration $(TEST_INTEGRATION_COMMON_CLI_RUN) && \
	go test -timeout 60m -v ./e2e/common/config -tags=integration $(TEST_INTEGRATION_COMMON_CONFIG_RUN) && \
	go test -timeout 60m -v ./e2e/common/languages -tags=integration $(TEST_INTEGRATION_COMMON_LANG_RUN) && \
	go test -timeout 60m -v ./e2e/common/traits -tags=integration $(TEST_INTEGRATION_COMMON_TRAITS_RUN)

tadayosi avatar Apr 15 '22 04:04 tadayosi

Hi @squakez,

Can I be assigned to this?

desirekaleba avatar Apr 18 '22 08:04 desirekaleba

Hi @squakez,

Can I be assigned to this?

Sure, thanks!

squakez avatar Apr 18 '22 09:04 squakez

This issue has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions!

github-actions[bot] avatar Jul 18 '22 00:07 github-actions[bot]

It's already partially done by being split into common, install, builder, and knative. Let's close it for now.

tadayosi avatar Oct 03 '22 05:10 tadayosi