This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 195
Run e2e tests on openshift-ci #2527
Labels
feature
New functionality
needs-more-info
Blocked until user or author provides further details
team/ci
Need Continuous Integration Team input
wip
Work in Progress (PR incomplete - needs more work or rework)
Comments
@wainersm please let me know if you need help as I am familiar with the CI of kata |
This was referenced Jun 2, 2020
wainersm
added a commit
to wainersm/kc-runtime
that referenced
this issue
Aug 19, 2020
Enable openshift-ci on runtime repository. Fixes: github.com/kata-containers/tests#2527 Depends-on: github.com/kata-containers/tests#2802 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Aug 20, 2020
The install_runtime.sh can configure Docker with the kata runtime. In some circumstances Docker is not installed and so the script fail. Let's avoid it by checking if Docker is installed. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Aug 20, 2020
The OpenShift CI allows for components to be built and tested in clusters provided by the OpenShift community. This adds the minimum required on kata's side to get it onboarded in that CI system. More precisely, it introduces the buildall_install.sh script which is used to build and install kata-containers into a container image. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-runtime
that referenced
this issue
Aug 21, 2020
Enable openshift-ci on runtime repository. Fixes: github.com/kata-containers/tests#2527 Depends-on: github.com/kata-containers/tests#2802 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-runtime
that referenced
this issue
Aug 24, 2020
Enable openshift-ci on runtime repository. Fixes: github.com/kata-containers/tests#2527 Depends-on: github.com/kata-containers/tests#2802 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Aug 25, 2020
The OpenShift CI allows for components to be built and tested in clusters provided by the OpenShift community. This adds the minimum required on kata's side to get it onboarded in that CI system. More precisely, it introduces the buildall_install.sh script which is used to build and install kata-containers into a container image. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Aug 25, 2020
The OpenShift CI allows for components to be built and tested in clusters provided by the OpenShift community. This adds the minimum required on kata's side to get it onboarded in that CI system. More precisely, it introduces the buildall_install.sh script which is used to build and install kata-containers into a container image. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Aug 25, 2020
The OpenShift CI allows for components to be built and tested in clusters provided by the OpenShift community. This adds the minimum required on kata's side to get it onboarded in that CI system. More precisely, it introduces the buildall_install.sh script which is used to build and install kata-containers into a container image. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Aug 31, 2020
The OpenShift CI allows for components to be built and tested in clusters provided by the OpenShift community. This adds the minimum required on kata's side to get it onboarded in that CI system. More precisely, it introduces the buildall_install.sh script which is used to build and install kata-containers into a container image. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-runtime
that referenced
this issue
Sep 1, 2020
Enable openshift-ci on runtime repository. Fixes: github.com/kata-containers/tests#2527 Depends-on: github.com/kata-containers/tests#2802 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Sep 1, 2020
The OpenShift CI allows for components to be built and tested in clusters provided by the OpenShift community. This adds the minimum required on kata's side to get it onboarded in that CI system. More precisely, it introduces the buildall_install.sh script which is used to build and install kata-containers into a container image. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-runtime
that referenced
this issue
Sep 1, 2020
Enable openshift-ci on runtime repository. Fixes: github.com/kata-containers/tests#2527 Depends-on: github.com/kata-containers/tests#2802 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-runtime
that referenced
this issue
Sep 14, 2020
Enable openshift-ci on runtime repository. Fixes: github.com/kata-containers/tests#2527 Depends-on: github.com/kata-containers/tests#2802 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Jan 5, 2021
This introduces the buildall_install.sh script which is used to build and install kata-containers into a well-known path in a container image. Forward-port of commit a37e134. But on kata 2.x the buildall_install.sh doesn't install QEMU since at this point it isn't being cached on Jenkins. It will be built in a separated stage of the OpenShift CI pipeline. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Jan 11, 2021
This introduces the buildall_install.sh script which is used to build and install kata-containers into a well-known path in a container image. Forward-port of commit a37e134. But on kata 2.x the buildall_install.sh doesn't install QEMU since at this point it isn't being cached on Jenkins. It will be built in a separated stage of the OpenShift CI pipeline. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Jan 20, 2021
The configuration.toml should be changed so that Kata Containers use the virtio-9p backend due to an issue on virtiofsd from QEMU 5.0.0 on OpenShift. Related to kata-containers/kata-containers#1238 Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Jan 25, 2021
Configure the worker nodes on the test cluster to SELinux permissive mode so that it doesn't fail to fork the QEMU process. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Mar 9, 2021
The deploy_webhook.sh script builds and deploy the kata-webhook in the OpenShift test cluster. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Mar 9, 2021
The deploy_webhook.sh script builds and deploy the kata-webhook in the OpenShift test cluster. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Mar 10, 2021
The deploy_webhook.sh script builds and deploy the kata-webhook in the OpenShift test cluster. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm
added a commit
to wainersm/kc-tests
that referenced
this issue
Mar 11, 2021
The deploy_webhook.sh script builds and deploy the kata-webhook in the OpenShift test cluster. Fixes kata-containers#2527 Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
feature
New functionality
needs-more-info
Blocked until user or author provides further details
team/ci
Need Continuous Integration Team input
wip
Work in Progress (PR incomplete - needs more work or rework)
== The context and goal ==
The Openshift 4.x project provides an CI infra (openshift-ci) where integration tests can be executed in a fully operational cluster (api.ci.openshift.org). If a component wants to use the CI facilities it should be prepared and request to get onboard.
If kata-containers gets onboard then we could use openshift-ci for e2e integration tests.
So this issue is created to track to work required and being done to get kata-containers onboard the openshift-ci.
== The openshift-ci onboard process ==
In a nutshell, to onboard a component on openshift-ci one need to:
1.1 Deliver webhooks events to the CI System
1.2 Allow openshift-ci robot to interact in the PRs. This will make the robot to comment on PRs, do automatic merges, be triggered by commands...etc.
2.1 Create an entry for kata-containers on https://github.com/openshift/release/ci-operator that describes the CI pipeline. CI Jobs are automatically generated from the configuration. See more information at https://github.com/openshift/release/blob/master/README.md#ci-workflow-configuration
== What it need to change on kata-containers side? ==
The logic to install kata-containers in the openshift-ci test cluster is:
machine-os-content
container image with the files from DESTDIR. This image is used to build the test cluster nodes, i.e., it is how we can install kata-containers without using an operator/installer.So there are needed scripts and dockerfiles on the repositories to implement the above workflow.
To be confirmed: it needs test script(s) which should trigger the e2e and conformance tests.
== Required changes on openshift-ci ==
As pointed above, it needs to create the kata-containers configuration and jobs at openshift ci-operator. This work is being carried out on openshift/release#9009
The text was updated successfully, but these errors were encountered: