Commit Graph
352 Commits
Author SHA1 Message Date
dependabot[bot] 787ca227cc build(deps): bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 13:54:58 +00:00
subhamkrai ecdcc16104 ci: daily job is failing due to k8s communication
installing minikube and kubectl to see if that
works.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-10-17 19:59:31 +05:30
Travis Nielsen 1420234058 Merge pull request #11145 from subhamkrai/fix-daily-suite
ci: install yq in daily nightly job
2022-10-13 08:19:18 -06:00
subhamkrai ed42b7fa46 ci: install yq in daily nightly job
installing yq in daily nightly job and remove once job is done

Signed-off-by: subhamkrai <srai@redhat.com>
2022-10-13 18:53:32 +05:30
Travis Nielsen f907852cac Merge pull request #10877 from gauravsitlani/fs-mirror-integration
tests: improved filesystem snapshot mirroring integration tests
2022-10-11 09:20:52 -06:00
gauravsitlani 64161f1ceb test: correction in message for replicated mirrored pool task
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2022-10-11 02:08:07 +05:30
gauravsitlani 67cd8f15f8 test: improved cephfs mirroring integration tests
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2022-10-11 01:11:41 +05:30
Blaine Gardner 9d649ca3b6 Merge pull request #11110 from BlaineEXE/fix-nfs-multus
nfs: fix nfs grace period when multus is enabled
2022-10-06 11:24:47 -06:00
Travis Nielsen 25ee33f029 ci: ceph master images renamed to main
The ceph master images were recently renamed to main
so we need to pick up the new tag.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-05 16:46:04 -06:00
Blaine Gardner 51fac0a993 nfs: fix nfs grace period when multus is enabled
Run the ganesha-rados-grace command in a remote pod when multus
networking is enabled.

Signed-off-by: parth-gr <paarora@redhat.com>
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-10-05 16:28:36 -06:00
subhamkrai f575f1ad5a ci: use k8s older than 1.23 for multus
using k8s older than 1.23 for multus since multus
deployment is failing in the latest k8s version.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-09-30 18:36:37 +05:30
subhamkrai 3d5ed59e27 ci: update canary k8s version to 1.25.0
updating canary k8s version to 1.25.0

Closes: https://github.com/rook/rook/issues/10530
Signed-off-by: subhamkrai <srai@redhat.com>
2022-09-29 12:46:19 +05:30
Satoru Takeuchi 5c2d325cc4 ci: move to ubuntu 2004 completely
github-hosted runner ubuntu-18.04 will be removed by Dec. 1st, 2022.

https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/

So, let's change the all runnners to ubuntu-20.04.

We need to uninstall `snapd` because `snapd` prevents kernel from
unmounting `/mnt` completely.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-09-27 04:32:20 +00:00
parth-gr 26584fc6e5 core: update loadclusterInfo with multus check
if Multus is enabled the clusterinfo should be updated with
network as multus as to run the ceph cmds in remote
executor

Signed-off-by: parth-gr <paarora@redhat.com>
2022-09-22 14:46:51 +05:30
parth-gr ddea97ebde nfs: fix nfs if multus is enabled
Closes: https://github.com/rook/rook/issues/10812
Signed-off-by: parth-gr <paarora@redhat.com>
2022-09-21 14:09:40 +05:30
Travis Nielsen 55c72a3674 ci: update arm host to pick up correct self-hosted machine
The self-hosted arm64 machine has a new label ubuntu-20.04-arm64 to
avoid the conflict with other ubuntu-20.04 labels from
general github actions. We only want the daily arm job
to use the self-hosted runner.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-13 13:30:45 -06:00
Travis Nielsen 1bbf8f7a43 Merge pull request #10791 from Rakshith-R/use-cephcsi-nfsnodeplugin
csi: use cephcsi image for nfs nodeserver + holder design
2022-09-06 10:52:30 -06:00
subhamkrai c2cc8d3a66 ci: no need to copy working dir to GOPATH
this commits remove using working-dire and copying
files to GOPATH since they are not required anymore.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-09-06 19:22:45 +05:30
Rakshith R 07aac106df ci: add e2e for csi-nfsplugin restart
This commit adds e2e for csi-nfsplugin restart
when it is not on host-networking.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-09-02 14:16:15 +05:30
subhamkrai bfa78b7ea2 ci: fix release tests configuration
I missed to remove older config for release
tests yaml.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-09-02 10:52:50 +05:30
subhamkrai 80be5b5fc0 ci: remove older k8s config since we moved to 1.19
no need of using older config to setup older k8s
since we moved to 1.19 as min k8s version.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-09-01 11:28:14 +05:30
Travis Nielsen 109c685961 ci: setup helm upgrade test on the latest config
The older k8s version config is not setup properly for the
helm upgrade test, and also is not necessary.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-31 11:31:46 -06:00
Travis Nielsen 5677587133 ci: revert ibm canary test to ubuntu 18
The ibm test has been failing since the move to ubuntu 20
was merged a couple days ago. Reverting back to 18 for now.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-31 10:53:38 -06:00
Travis Nielsen a6dfb77827 build: update min version to k8s 1.19
Rook will support the most recent seven K8s releases,
so we update the min version to 1.19 for Rook v1.10.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-30 15:15:20 -06:00
subhamkrai 4623087ef4 ci: upgrade to latest k8s version for ci test
integration test now run on the latest k8s v1.25.0.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-29 14:00:49 -06:00
subhamkrai 9f68afaeef ci: update minikube version to 1.26.1
update minikube version to 1.26.1 for the
latest k8s version and using 1.24.0 for older
k8s version.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-26 19:44:42 +05:30
subhamkrai e825166075 ci: update minikube setup action to 2.7.0
update minikube setup action to v2.7.0 for lastest
k8s version and for older k8s version still use v2.6.1

Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-26 15:19:40 +05:30
subhamkrai aec9ac3060 ci: ubuntu 18.04 is deprecated upgrade to ubuntu 22.04
Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-26 15:19:26 +05:30
subhamkrai 0ae55eb472 ci: add right indentation for ci yaml and sh files
these indenation where added by vscode extentions.
for yaml I have extention ` YAML` by Red Hat
for bash I have `shell-format` and `shellCheck`.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-26 08:37:40 +05:30
Blaine Gardner 5b0a22ca46 ci: update codespell config
Codespell had its first release in a year yesterday and added some
dictionary rules that are now being flagged in our code. Only one
issue required changes to our code, so modify the codespell config to
allow the words we want to allow.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-08-18 09:07:52 -06:00
Jiffin Tony Thottan 8003e764f9 rgw: add custom endpoint list option for zone
User can define his desired endpoint list in Zone CR so that it will
overwrite the default service name for rgw.

Resolves #6432

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
2022-08-17 10:03:12 +05:30
Travis Nielsen 24e416069a core: update controller runtime to v0.6.2
The dependencies in controller runtim v0.5 were getting old
and causing go module issues on macos. Now with the update to
v0.6.2 the module dependency issue is solved. For another
day we should update the controller runtime to even newer.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:41:11 -06:00
Travis Nielsen e3b4b18938 ci: update macos to v12
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:41:10 -06:00
Travis Nielsen b726f81542 ci: add support for go 1.19
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:41:10 -06:00
Travis Nielsen 49ca309622 build: only support go 1.18 with the latest modules
The modules are only compatible with go 1.18.
Remove support for go 1.17.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:31:50 -06:00
neilnaveen 2e2eca672a ci: set permissions for github actions
Restrict the GitHub token permissions only to the required ones;
this way, even if the attackers will succeed in compromising your workflow,
they won’t be able to do much.

Included permissions for the action.
https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-08-04 11:07:00 -06:00
Travis Nielsen 2c1041a3ec Merge pull request #10511 from parth-gr/auto-assign
ci: add ci bot for auto assign issue
2022-07-14 10:52:50 -06:00
parth-gr 2ba7237c98 ci: add ci bot for auto assign issue
Now users can auto-assign issues by commenting
/assign on the issue topic

Closes: https://github.com/rook/rook/issues/10492
Signed-off-by: parth-gr <paarora@redhat.com>
2022-07-14 11:22:28 +05:30
Satoru Takeuchi 7e571f6114 osd: support OSD on logical volume in host-based cluster
Rook supports raw mode OSD in host-based cluster. So we can also
support OSD on logical volume in this kind of cluster.

Logical volumes aren't picked by filters (i.e. `useAllDevices: true`
and `device{Path,}Filter` to avoid unwanted LV consumption on upgrade.

Closes: https://github.com/rook/rook/issues/2047

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-07-11 21:08:50 +00:00
Travis Nielsen dad97f3425 core: remove support for ceph octopus
With octopus coming to end of life, we remove support from
Rook for deploying Ceph Octopus and assume a min version of
Pacific v16. Any checks for octopus or earlier are removed
from the reconciles since they are obsolete.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-07 15:03:26 -06:00
subhamkrai ae2a56deb0 ci: skip snyk ci from running on fork repo
Signed-off-by: subhamkrai <srai@redhat.com>
2022-07-01 12:23:23 +05:30
Travis Nielsen 7ca9631e6f Merge pull request #10537 from subhamkrai/skip-daily-test-on-fork
ci: skip daily nightly job on fork
2022-06-30 11:44:32 -06:00
subhamkrai e764d05a8c ci: skip daily nightly job on fork
Signed-off-by: subhamkrai <srai@redhat.com>
2022-06-30 17:34:35 +05:30
Travis Nielsen 95f20196ca Merge pull request #10249 from travisn/kube-1.24
ci: Run tests against k8s 1.24
2022-06-29 10:16:48 -06:00
Travis Nielsen 2294c15bf7 ci: run tests against k8s 1.24
Since K8s 1.24.0 was released we need to run rook
CI against the latest Kubernetes. At the same time,
we update minikube in the CI to 1.25.2.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-28 15:11:55 -06:00
parth-gr c9a864ccdb external: add support for subvolumegroup and rados namespace
Using subvolume group and rados namespace for external deployment
was complicated and not documented,
Automating the process for the users, so they just need to pass
the respective names by cli flag for creation

Closes: rook#10427

Signed-off-by: parth-gr <paarora@redhat.com>
2022-06-28 21:57:54 +05:30
Travis Nielsen eb1d22c973 Merge pull request #10502 from jsoref/guard-tmate
ci: be selective about when to offer tmate
2022-06-28 07:43:12 -06:00
Josh Soref ef97f6544a ci: be selective about when to offer tmate
* Unconditionally offer it when running from the rook org
* Offer it if the current repository has a USE_TMATE secret
* Offer it if the workflow is being re-run

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-06-27 18:33:09 -04:00
Alexander Trost a57137361a Merge pull request #10514 from koor-tech/docs_build_experience 2022-06-28 00:26:26 +02:00
Blaine Gardner 0efd2aa340 Merge pull request #10400 from subhamkrai/staticcheck-python
ci: add check for unused or dead code in py file
2022-06-27 11:25:28 -06:00