Commit Graph
707 Commits
Author SHA1 Message Date
TomHellier 5bd2c7b931 build: update s5cmd to resolve vulnerabilities
The docker.io/rook/ceph image contains vulnerabilities in the s5cmd binary.
A new version of s5cmd was released on 16th December which resolves these issues.

Signed-off-by: TomHellier <me@tomhellier.com>
(cherry picked from commit a87843de62)
2024-12-17 15:20:25 +00:00
Michael Adam cab7723632 build: update api go module dependencies
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c8a1bb21f6)
2024-12-16 14:47:36 -07:00
Michael Adam 3bb6380947 ci: update golangci-lint to the latest version (v1.62)
The ci was using a pretty old version og golangci-lint.
This updates to the latest version.

Additionally, it  silences some
gosec integer conversion overflow false positves
and fixes some real errors of this category
 and string format errors found by golangci-lint, while at it.

Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit df511fb58f)
2024-12-16 16:12:24 +00:00
Travis Nielsen 26689e9a5b build: add support for k8s 1.32
With the release of K8s 1.32, we update the CI and docs
to support this new release, to maintain the most recent
six releases of K8s.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7c2f41e72e)
2024-12-12 11:35:35 -07:00
Travis Nielsen 3043b6758c manifest: update default ceph version to v19
With the v19.2.0 release being out for some time now,
update the default version to be deployed with Rook
as v19.2.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 07d8012d36)
2024-12-11 15:45:25 -07:00
Travis Nielsen 89ff4e4098 ci: use correct ceph-ci repo
The repo should be quay.ceph.io, instead of quay.io

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 6db75b76b8)
2024-12-11 15:29:10 -07:00
Travis Nielsen 620eef21c4 ci: use ceph-ci instead of daemon-base images
Ceph has changed the image build process to only require a
dockerfile and stop using the ceph-container repo. The
daily images are pushed to the quay.io/ceph-ci/ceph repo,
so the Rook CI will now start using those images.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 85375bf073)
2024-12-11 14:55:20 -07:00
Michael Adam 71da814bf6 ci: simplify the codegen workflow a bit
the codegen ci workflow was previously fixed by copying the checkout dir
to the GOPATH. With the updated codegen tooling, this alignment is not a
requirement any more.

This simplifies the codegen workflow again by reverting the earlier
changes that added the copy mechanism.

This reverts commit 714f80a80a.
This reverts commit f32d3df995.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 46fae529eb)
2024-12-06 19:09:35 +00:00
subhamkrai 74e5d9ca94 ci: upgrade k8s min version to 1.27
since k8s 1.32 is coming out soon and we
want to support the latest six k8s versions so,
let's upgrade the min k8s version to 1.27 for rook 1.16.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 72885c7927)
2024-11-26 16:46:50 +00:00
Travis Nielsen 0bb194f4f5 Merge pull request #15021 from rook/dependabot/github_actions/github/codeql-action-3.27.4
build(deps): bump github/codeql-action from 3.27.1 to 3.27.4
2024-11-21 11:29:17 -07:00
subham rai 3cb2fa9b01 Merge pull request #15022 from rook/dependabot/github_actions/DavidAnson/markdownlint-cli2-action-18.0.0
build(deps): bump DavidAnson/markdownlint-cli2-action from 17.0.0 to 18.0.0
2024-11-18 21:14:54 +05:30
dependabot[bot] c061162dac build(deps): bump DavidAnson/markdownlint-cli2-action
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 17.0.0 to 18.0.0.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/db43aef879112c3119a410d69f66701e0d530809...eb5ca3ab411449c66620fe7f1b3c9e10547144b0)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:46:12 +00:00
dependabot[bot] 113175b105 build(deps): bump github/codeql-action from 3.27.1 to 3.27.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.1 to 3.27.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4f3212b61783c3c68e8309a0f18a699764811cda...ea9e4e37992a54ee68a9622e985e60c8e8f12d9f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:46:10 +00:00
dependabot[bot] d72327d3b5 build(deps): bump dcarbone/install-jq-action from 2.1.0 to 3.0.1
Bumps [dcarbone/install-jq-action](https://github.com/dcarbone/install-jq-action) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/dcarbone/install-jq-action/releases)
- [Commits](https://github.com/dcarbone/install-jq-action/compare/8867ddb4788346d7c22b72ea2e2ffe4d514c7bcb...e397bd87438d72198f81efd21f876461183d383a)

---
updated-dependencies:
- dependency-name: dcarbone/install-jq-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:46:03 +00:00
Peter Razumovsky 12613bc2fa osd: add osd auth recovery from file canary job test
Add test to canary-integration-test scenarios which removes
osd auth and then recovers it on osd activation from keyring
file.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
2024-11-15 16:41:31 +04:00
dependabot[bot] 0edd074851 build(deps): bump github/codeql-action from 3.27.0 to 3.27.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/662472033e021d55d94146f66f6058822b0b39fd...4f3212b61783c3c68e8309a0f18a699764811cda)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 12:41:55 +00:00
Satoru Takeuchi 47ca3fd245 doc: avoid always enabling tmate session
tmate session is always enabled by mistake. This bug is
introduced in the following PR.

https://github.com/rook/rook/pull/14934

We should enable this if `inputs.debug-ci` is `true`.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2024-10-31 06:00:49 +00:00
Blaine Gardner 4e8d4dee41 Merge pull request #14934 from cybozu-go/make-debug-ci-label-work-again
test: make debug-ci label work again
2024-10-30 11:25:11 -06:00
Satoru Takeuchi 448f42ab12 test: make debug-ci label work again
cmoposite workflow can't use `github` variable.

close: https://github.com/rook/rook/issues/14898

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2024-10-30 01:44:07 +00:00
subham rai e78a4832de Merge pull request #14918 from rook/dependabot/github_actions/github/codeql-action-3.27.0
build(deps): bump github/codeql-action from 3.26.13 to 3.27.0
2024-10-29 21:15:45 +05:30
subham rai 3eef446b14 Merge pull request #14917 from rook/dependabot/github_actions/actions/setup-python-5.3.0
build(deps): bump actions/setup-python from 5.2.0 to 5.3.0
2024-10-29 13:11:09 +05:30
subham rai 2c41e22f80 Merge pull request #14916 from rook/dependabot/github_actions/actions/checkout-4.2.2
build(deps): bump actions/checkout from 4.2.1 to 4.2.2
2024-10-29 13:10:46 +05:30
subham rai 01a7d62747 Merge pull request #14919 from rook/dependabot/github_actions/actions/setup-go-5.1.0
build(deps): bump actions/setup-go from 5.0.2 to 5.1.0
2024-10-29 13:10:24 +05:30
dependabot[bot] 6f4ad530e0 build(deps): bump actions/setup-go from 5.0.2 to 5.1.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32...41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 12:35:50 +00:00
dependabot[bot] f1cd919564 build(deps): bump github/codeql-action from 3.26.13 to 3.27.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.13 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/f779452ac5af1c261dce0346a8f964149f49322b...662472033e021d55d94146f66f6058822b0b39fd)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 12:35:43 +00:00
dependabot[bot] 56752e5890 build(deps): bump actions/setup-python from 5.2.0 to 5.3.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/f677139bbe7f9c59b41e40162b753c062f5d49a3...0b93645e9fea7318ecaed2b359559ac225c90a2b)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 12:35:31 +00:00
dependabot[bot] 734da26d89 build(deps): bump actions/checkout from 4.2.1 to 4.2.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871...11bd71901bbe5b1630ceea73d27597364c9af683)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 12:35:26 +00:00
Satoru Takeuchi 36721edae8 test: specify ceph image correctly
`encryption-pvc-kms-ibm-kp` workflow replaces the name of ceph-image.
Since the dest value is always empty by mistake, this workflow
always fails.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2024-10-25 11:50:56 +00:00
Travis Nielsen 3b94c50d8b Merge pull request #14818 from iPraveenParihar/kms/vault-keyrotation
kms: key rotation support for vault kms
2024-10-24 11:38:33 -06:00
Blaine Gardner 5539eedd1b multus: finish deprecating holder pods
Finish the process of deprecating holder pods by removing Rook's ability
to deploy them. The intent of this change is to make the most
superficial changes possible to accomplish this. There are still
remnants of code in Rook (particularly the CSI controller) that helped
configure or deploy holder pods. Due to the risk of breaking some
features, cleanup work of hose remnants will be deferred for future
work.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-10-23 16:29:02 -06:00
Praveen M c9bc3a2685 ci: add test for vault key rotation
Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-10-23 12:58:11 +05:30
Michael Adam 714f80a80a ci: remove incorrect comment from codegen workflow
PR #14883 fixed the codegen workflow but introduced a comment
that is simply wrong.

This change rectifies this mistake by removing the comment.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-10-22 18:42:58 +02:00
Michael AdamandTravis Nielsen f32d3df995 ci: fix the codegen workflow
The codegen workflow recently sometimes failed to detect files modified
by codegen. This has been analysed in a test PR:
https://github.com/rook/rook/pull/14723

The result of the analysis is the insight that the codegen tooling did not work
as expcted because the git checkout was not located in the src/github.com
directory under the GOPATH.

This change fixes the codegen workflow by post-processing the git checkout
action by copying the git checkout directory to the expected location.

Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
2024-10-22 10:45:37 +02:00
Joshua Hoblitt 84694397bc test: fix ceph image tag used by most canary tests
Fix ceph image tag string passed to replica_ceph_image.  Previously, the
result was "" was being passed in most cases.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2024-10-18 12:27:25 -07:00
Travis Nielsen 95578a63ed Merge pull request #14793 from jhoblitt/feature/cephobjectzone-existing-pools
test: add two-object-one-zone canary test
2024-10-18 09:00:56 -06:00
subhamkrai febfa5acbc ci: macos-12 will EOL soon, let's use latest tag
Signed-off-by: subhamkrai <srai@redhat.com>
2024-10-18 12:53:20 +05:30
subham rai b772982566 Merge pull request #14846 from rook/dependabot/github_actions/psf/black-24.10.0
build(deps): bump psf/black from 24.8.0 to 24.10.0
2024-10-15 09:10:01 +05:30
subham rai 327f949004 Merge pull request #14847 from rook/dependabot/github_actions/github/codeql-action-3.26.13
build(deps): bump github/codeql-action from 3.26.11 to 3.26.13
2024-10-15 09:09:36 +05:30
subham rai 30b1bec057 Merge pull request #14848 from rook/dependabot/github_actions/actions/upload-artifact-4.4.3
build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3
2024-10-15 09:09:18 +05:30
subham rai 59ec129c3f Merge pull request #14849 from rook/dependabot/github_actions/actions/checkout-4.2.1
build(deps): bump actions/checkout from 4.2.0 to 4.2.1
2024-10-15 09:08:55 +05:30
Joshua Hoblitt 11250013a0 test: add two-object-one-zone canary test
This acceptance test demonstrates the creation of two CephObjectStore(s)
that share the same pool(s) manually managed by CephBlockPool(s).

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2024-10-14 16:54:39 -07:00
Travis Nielsen 1433587457 Merge pull request #14836 from xin3liang/arm-ci-fix-2
ci: fix canary-arm64 job
2024-10-14 11:03:56 -06:00
dependabot[bot] 0954126b3d build(deps): bump actions/checkout from 4.2.0 to 4.2.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/d632683dd7b4114ad314bca15554477dd762a938...eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 12:59:53 +00:00
dependabot[bot] ad485e605d build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/50769540e7f4bd5e21e526ee35c689e35e0d6874...b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 12:59:35 +00:00
dependabot[bot] 36ac25a32b build(deps): bump github/codeql-action from 3.26.11 to 3.26.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.11 to 3.26.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea...f779452ac5af1c261dce0346a8f964149f49322b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 12:59:26 +00:00
dependabot[bot] 268be1838a build(deps): bump psf/black from 24.8.0 to 24.10.0
Bumps [psf/black](https://github.com/psf/black) from 24.8.0 to 24.10.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/b965c2a5026f8ba399283ba3e01898b012853c79...1b2427a2b785cc4aac97c19bb4b9a0de063f9547)

---
updated-dependencies:
- dependency-name: psf/black
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 12:59:20 +00:00
Joshua Hoblitt 92d9f994c2 test: improve reliability of canary rgw-multisite-testing
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2024-10-12 12:42:58 -07:00
Xinliang Liu ac7f8e1a60 ci: fix canary-arm64 job
Since the below commit, addons are moved out of deploy_cluster().
31d55b90fe ("test: mv canary test specific resources out of
deploy_cluster()")

Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
2024-10-12 01:56:30 +00:00
Joshua Hoblitt b4ac943b62 test: inline .github/workflows/rgw-multisite-test
Merge/inline.github/workflows/rgw-multisite-test/action.yml into
.github/workflows/canary-integration-test.yml as the step from the
"composite" action are not displayed in the console.  The absence of the
step names may make it difficult to determine where a failure is
occurring.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2024-10-11 16:02:50 -07:00
Travis Nielsen bb91b25d49 Merge pull request #14804 from rook/maint/canary-runner-cleaning
test: rm canary/integration "Free Disk Space" step
2024-10-07 11:48:10 -06:00