Repository: kubernetes-sigs/security-profiles-operator
Pull request #2242 (2024-05-06 07:36:30)

Update crun to 1.15


#### What type of PR is this?


/kind cleanup


#### What this PR does / why we need it:
Update crun to fix the failing CI.
#### Which issue(s) this PR fixes:

<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.

Fixes #

or

None
-->
None
#### Does this PR have test?
None
<!--
If tests aren't applicable just write N/A.
-->

#### Special notes for your reviewer:
None
#### Does this PR introduce a user-facing change?

<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".

For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
-->

```release-note
None
```


k8s-ci-robot: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/2242#" title="Author self-approved">saschagrunert</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fsecurity-profiles-operator).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/OWNERS)~~ [saschagrunert]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
codecov-commenter: ## [Codecov](https://app.codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/2242?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubernetes-sigs) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 41.14%. Comparing base [(`11d77f4`)](https://app.codecov.io/gh/kubernetes-sigs/security-profiles-operator/commit/11d77f49d652b2b077eaeb9a0ef9eff5f24b6a8d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubernetes-sigs) to head [(`1c0797a`)](https://app.codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/2242?dropdown=coverage&src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubernetes-sigs).
> Report is 174 commits behind head on main.

<details><summary>Additional details and impacted files</summary>


```diff
@@            Coverage Diff             @@
##             main    #2242      +/-   ##
==========================================
- Coverage   45.50%   41.14%   -4.37%     
==========================================
  Files          79      107      +28     
  Lines        7782    15529    +7747     
==========================================
+ Hits         3541     6389    +2848     
- Misses       4099     8670    +4571     
- Partials      142      470     +328     
```

</details>
saschagrunert: @kubernetes-sigs/security-profiles-operator-maintainers PTAL 

Patch:
diff --git a/dependencies.yaml b/dependencies.yaml
index 583954398..7a4ecdbe3 100644
--- a/dependencies.yaml
+++ b/dependencies.yaml
@@ -154,7 +154,7 @@ dependencies:
       match: VERSION
 
   - name: crun
-    version: 1.14.4
+    version: 1.15
     refPaths:
     - path: examples/baseprofile-crun.yaml
       match: name
diff --git a/examples/baseprofile-crun.yaml b/examples/baseprofile-crun.yaml
index 62bc70c5a..67b3c2ad1 100644
--- a/examples/baseprofile-crun.yaml
+++ b/examples/baseprofile-crun.yaml
@@ -2,7 +2,7 @@
 apiVersion: security-profiles-operator.x-k8s.io/v1beta1
 kind: SeccompProfile
 metadata:
-  name: crun-v1.14.4
+  name: crun-v1.15
 spec:
   defaultAction: SCMP_ACT_ERRNO
   architectures:
diff --git a/hack/install-crun b/hack/install-crun
index ea1c2dd96..6eeb80390 100755
--- a/hack/install-crun
+++ b/hack/install-crun
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 set -euox pipefail
 
-CRUN_VERSION=1.14.4
+CRUN_VERSION=1.15
 CRUN_BIN=/tmp/crun
 
 # Current crun version


Test patch:
diff --git a/test/tc_base_profiles_test.go b/test/tc_base_profiles_test.go
index fe47228e3..f93b8adf1 100644
--- a/test/tc_base_profiles_test.go
+++ b/test/tc_base_profiles_test.go
@@ -25,7 +25,7 @@ import (
 
 const (
 	baseProfileNameRunc = "runc-v1.1.12"
-	baseProfileNameCrun = "crun-v1.14.4"
+	baseProfileNameCrun = "crun-v1.15"
 )
 
 func (e *e2e) testCaseBaseProfile([]string) {