ci-automation: enable OCI testing#4143
Draft
tormath1 wants to merge 2 commits into
Draft
Conversation
In this commit, we setup oraclecloud testing using SDK and Mantle. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
There was a problem hiding this comment.
Pull request overview
Enables OracleCloud Infrastructure (OCI) vendor testing within the CI automation scripts, aiming to promote OCI as an officially supported platform by adding a new vendor test runner, OCI-related environment configuration, and OCI garbage collection.
Changes:
- Added a new OCI vendor test wrapper script (
oraclecloud.sh) that uploads an image viaore oracleand runskolatests against it. - Extended cloud garbage collection to include OCI image cleanup via
ore oracle gc. - Introduced OCI-related CI configuration defaults (image name, subnet, instance types/locations).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ci-automation/vendor-testing/oraclecloud.sh | New OCI vendor test wrapper that uploads an OCI image and runs kola on OCI. |
| ci-automation/garbage_collect_cloud.sh | Adds OCI garbage collection using ore oracle gc. |
| ci-automation/ci-config.env | Adds OCI CI configuration defaults (image name, subnet, instance type/location). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+43
to
+45
| --basename="${kola_test_basename}" \ | ||
| # TODO: Update to oraclecloud | ||
| --platform=oracle \ |
Comment on lines
+175
to
+178
| # TODO: Use actual values for ARM64 | ||
| : ${ORACLECLOUD_arm64_INSTANCE_TYPE:="g1r.4d"} | ||
| : ${ORACLECLOUD_arm64_LOCATION:="YQPA:US-ASHBURN-AD-1"} | ||
| : ${ORACLECLOUD_amd64_LOCATION:="YQPA:US-ASHBURN-AD-1"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In this PR, we enable OCI (OracleCloud Infrastructure) testing for Flatcar. Promoting OCI to "officially" supported platform.
Testing done
TBD
TODO:
oracletooraclecloudto match OEM IDChangelog entries added in the respectivechangelog/directory (user-facing change, bug fix, security fix, update)Inspected CI output for image differences:/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.Needs: