Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sohankunkerkar
Copy link
Member

@sohankunkerkar sohankunkerkar commented Jul 28, 2023

This helps to track the runtime paths for different platforms.

What type of PR is this?

/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

add platform_runtime_paths option to the runtime handler structure, which allows admins to define specific runtime paths based on different platforms.

@openshift-ci openshift-ci bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Jul 28, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 28, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/feature Categorizes issue or PR as related to a new feature. labels Jul 28, 2023
@sohankunkerkar sohankunkerkar force-pushed the crun-wasm branch 6 times, most recently from 46be555 to b6ac497 Compare July 28, 2023 15:14
@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Merging #7180 (5022d95) into main (cd9b050) will decrease coverage by 0.01%.
Report is 20 commits behind head on main.
The diff coverage is 47.22%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7180      +/-   ##
==========================================
- Coverage   49.22%   49.22%   -0.01%     
==========================================
  Files         136      136              
  Lines       15487    15517      +30     
==========================================
+ Hits         7624     7638      +14     
- Misses       6961     6974      +13     
- Partials      902      905       +3     

@sohankunkerkar sohankunkerkar force-pushed the crun-wasm branch 8 times, most recently from 1f16e4f to 56ecbfa Compare August 1, 2023 01:21
}

// SetArch sets the architecture of the image for a container.
func (c *Container) SetArch(arch string) {
Copy link
Member

Choose a reason for hiding this comment

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

TODO: we'll need to make sure this is called in server restore code

@sohankunkerkar sohankunkerkar force-pushed the crun-wasm branch 3 times, most recently from 6f01263 to 4ac4727 Compare August 1, 2023 23:42
@sohankunkerkar sohankunkerkar marked this pull request as ready for review August 1, 2023 23:45
@sohankunkerkar sohankunkerkar force-pushed the crun-wasm branch 2 times, most recently from 61b7eaf to 1503f6b Compare August 4, 2023 15:13
@sohankunkerkar
Copy link
Member Author

/retest

1 similar comment
@sohankunkerkar
Copy link
Member Author

/retest

@sohankunkerkar
Copy link
Member Author

/test ci-rhel-critest

@haircommander haircommander added this to the 1.28 milestone Aug 8, 2023
@haircommander
Copy link
Member

/approve

LGTM, well done here @sohankunkerkar

@cri-o/cri-o-maintainers PTAL

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 8, 2023
@sohankunkerkar sohankunkerkar linked an issue Aug 8, 2023 that may be closed by this pull request
This helps to track the runtime paths for different platforms.

Signed-off-by: Sohan Kunkerkar <[email protected]>
Copy link
Member

@mrunalp mrunalp left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 8, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 8, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haircommander, mrunalp, sohankunkerkar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [haircommander,mrunalp]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sohankunkerkar
Copy link
Member Author

/cherry-pick release-1.27

@openshift-cherrypick-robot

@sohankunkerkar: once the present PR merges, I will cherry-pick it on top of release-1.27 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-1.27

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-merge-robot openshift-merge-robot merged commit 0f3769d into cri-o:main Aug 9, 2023
@openshift-cherrypick-robot

@sohankunkerkar: #7180 failed to apply on top of branch "release-1.27":

Applying: *: add platform_runtime_paths to RuntimeHandler
Using index info to reconstruct a base tree...
M	docs/crio.conf.5.md
M	internal/factory/container/container.go
M	internal/factory/container/container_test.go
M	internal/lib/container_server.go
M	internal/oci/oci.go
M	internal/oci/runtime_oci.go
M	pkg/annotations/annotations.go
M	pkg/config/config.go
M	pkg/config/template.go
M	server/container_create_linux.go
Falling back to patching base and 3-way merge...
Auto-merging server/container_create_linux.go
CONFLICT (content): Merge conflict in server/container_create_linux.go
Auto-merging pkg/config/template.go
Auto-merging pkg/config/config.go
Auto-merging pkg/annotations/annotations.go
Auto-merging internal/oci/runtime_oci.go
CONFLICT (content): Merge conflict in internal/oci/runtime_oci.go
Auto-merging internal/oci/oci.go
Auto-merging internal/lib/container_server.go
Auto-merging internal/factory/container/container_test.go
CONFLICT (content): Merge conflict in internal/factory/container/container_test.go
Auto-merging internal/factory/container/container.go
CONFLICT (content): Merge conflict in internal/factory/container/container.go
Auto-merging docs/crio.conf.5.md
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 *: add platform_runtime_paths to RuntimeHandler
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Details

In response to this:

/cherry-pick release-1.27

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OCI image annotations are not propagated to OCI runtime (crun)

7 participants