Commit Graph
437 Commits
Author SHA1 Message Date
parth-gr 8175bc0218 build: make crds should be able to build generated docs
Currently, if there is any change in the API we need to separately
run the make generate-crd-docs but with this change
make crds will also update the generated docs

Also improved the file locations

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

Signed-off-by: parth-gr <paarora@redhat.com>
2023-06-15 20:11:23 +05:30
subhamkrai b75624af8c ci: add missing closing bracket in the script
there is error in the script to check if there
is any changes on go.mod or go.sum line.

```
/home/runner/work/_temp/dc877811-e494-4d57-ab19-a37942eac23d.sh: line 1: unexpected EOF while looking for matching `)'
```

instead of this `if [[ $(git status | grep -E '(go.mod|go.sum)' ]]; then` it will be
`if [[ $(git status | grep -E '(go.mod|go.sum)') ]]; then`

Signed-off-by: subhamkrai <srai@redhat.com>
2023-06-13 19:39:17 +05:30
subhamkrai 2181597add ci: fix the trigger of dependabot bundler pr
IMO, earlier we're triggering the dependabot in wrong
branches `"dependabot/bundler**"` instead it should be
`"dependabot/go_modules/**"` since it create branches with
the above syntax.
For example:
dependabot/go_modules/golang.org/x/sync-0.2.0

Fixes: #12352

Signed-off-by: subhamkrai <srai@redhat.com>
2023-06-13 13:08:35 +05:30
Travis Nielsen 56b3bf90e6 Merge pull request #12316 from Javlopez/bugfix/12306-arm64-daily-integration-tests-are-failing
ci: fix minikube execution
2023-06-01 14:09:50 -06:00
Javier 7d862e6cbe ci: fix minikube execution
add docker to the pipeline to allow minikube able to use docker driver

Signed-off-by: Javier <sjavierlopez@gmail.com>
2023-05-31 18:14:35 -06:00
travisn e0705a5656 ci: daily rgw tests to run against ceph main
The daily rgw tests were mistakenly running against an old
latest-master-devel ceph tag instead of the newer
latest-main-devel ceph tag. Now the daily rgw tests will
be run against the latest and greatest as expected.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-31 14:10:14 -06:00
Travis Nielsen 3b4ba859fd Merge pull request #12267 from parth-gr/fix-rgw-ci
ci: catch error in ci for external rgw server canary test
2023-05-31 12:42:12 -06:00
Travis Nielsen 9eb4bc8d05 Merge pull request #12311 from parth-gr/ci-tmate
ci: update tmate to run successfully with public ssh
2023-05-31 11:11:55 -06:00
parth-gr 74a4a9c5c2 ci: update tmate to run successfully with public ssh
Currently tmate was not accessible and showing access denied,

Update limit-access-to-actor to true, which register tmate with a
public ssh key
https://github.com/mxschmitt/action-tmate#use-registered-public-ssh-keys

Signed-off-by: parth-gr <paarora@redhat.com>
2023-05-31 19:13:09 +05:30
parth-gr ef4fa96e26 ci: catch error in ci for external rgw server canary test
currently we just print the error is anything fails in
script for rgw, So by that there is no panic or
failiure of script if something wrong happened,

Added Explicittly forcing to catch the error from
the error message that is thrown

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

Signed-off-by: parth-gr <paarora@redhat.com>
2023-05-31 18:42:52 +05:30
Blaine Gardner b2babf01d2 Merge pull request #12282 from BlaineEXE/multus-validation-ci-test
test: add CI e2e test for multus validation test
2023-05-31 01:37:14 +02:00
Gabriel Morishita c29765e55f ci: adding path ignore to documentations
The main objective of this commit is to stop CI to run tests when only documentations are changed. We did that by adding the Documentation and design folder into paths-ignore key on CI files.

Signed-off-by: Gabriel Morishita <gabrielmorishita@hotmail.com>
2023-05-30 14:34:37 -03:00
Blaine Gardner 2eb5a9a3f6 test: add CI e2e test for multus validation test
Add a CI e2e test for the multus validation routine that runs whenever
the multus validation test is modified and on master/releases.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-26 12:19:54 -06:00
Satoru Takeuchi b201a2b61b Merge pull request #12235 from rook/dependabot/github_actions/actions/github-script-6.4.1
build(deps): bump actions/github-script from 3.1.0 to 6.4.1
2023-05-16 07:52:03 +09:00
dependabot[bot] 455c69ff8c build(deps): bump actions/github-script from 3.1.0 to 6.4.1
Bumps [actions/github-script](https://github.com/actions/github-script) from 3.1.0 to 6.4.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v3.1.0...v6.4.1)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 12:59:20 +00:00
dependabot[bot] d1a62f4cf9 build(deps): bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 12:59:16 +00:00
s3rj1k 5d974310c2 build: run Golang module sync on dependabot PR
Run Golang module sync using Github workflows (from root to APIs)
on dependabot PR. Based on github.com/dependabot/dependabot-actions-workflow

Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
2023-05-04 21:41:57 +03:00
Travis Nielsen 7fc93177ec Merge pull request #12110 from koor-tech/feature/1873-auto-generate-rook-CRD-specifications-documentation
docs: add support for autogenerated docs for CRDs
2023-05-02 14:03:35 -06:00
Javier 661e476969 docs: auto-generate the documentation for CRDs
add generate-crd-docs.sh tool for auto-generate the documentation for CRDs automatically

Closes: #1873
Signed-off-by: Javier <sjavierlopez@gmail.com>
2023-05-01 19:23:27 -06:00
parth-gr 423ad93fc0 ci: disable multi-cluster-mirroring
till we didn't resolve the multi-cluster-mirroring ci issue
lets keep it disable

Signed-off-by: parth-gr <paarora@redhat.com>
2023-04-28 22:44:24 +05:30
Travis Nielsen 4ef0bbe4c5 Merge pull request #11976 from koor-tech/bugfix/issue-10340-allow-scanning-devices-with-filter
osd: allow scanning devices with filter
2023-04-24 09:25:05 -06:00
Javier cd711414bb test: increase integration-test timeout
increase timeouts in order to allow to have ready all the resources and
avoid failures in some pipelines due timeout

Closes: #10340
Signed-off-by: Javier <sjavierlopez@gmail.com>
2023-04-21 13:15:19 -06:00
subhamkrai cf88470613 ci: update k8s to v1.27.1 in ci
Signed-off-by: subhamkrai <srai@redhat.com>
2023-04-21 15:28:45 +05:30
dependabot[bot] f663154b42 build(deps): bump wagoid/commitlint-github-action from 5.3.1 to 5.4.1
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 5.3.1 to 5.4.1.
- [Release notes](https://github.com/wagoid/commitlint-github-action/releases)
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/v5.3.1...v5.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 13:01:00 +00:00
Travis Nielsen eaf3e3662d Merge pull request #12037 from parth-gr/external-multisite-zone
external: add support for multisite in external cluster script
2023-04-13 07:55:44 -06:00
Angelos Kolaitis 9e4a6ddee5 external: do not enforce need for monitoring endpoint
Add --skip-monitoring-endpoint to create-external-cluster-resources.py
to allow the script to work with Ceph clusters without an enabled
prometheus module.

Document the new flag in external-cluster.md and add relevant unit tests

Signed-off-by: Angelos Kolaitis <neoaggelos@gmail.com>
2023-04-12 21:04:48 +03:00
parth-gr b60da0b8c1 external: add support for multisite in external cluster
Add support for realm, zone and zonegroup

Signed-off-by: parth-gr <paarora@redhat.com>
2023-04-10 20:03:16 +05:30
Jiffin Tony Thottan 715c89bcd8 test: check rgw pod is running for canary github workflow
For the RGW daemon validation please check whether pod is Running than
the exisitng checks

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2023-04-06 16:28:10 +05:30
travisn 558732d0ae ci: canary test should enable the prometheus module
The canary test is waiting for the prometheus module,
which is now disabled by default. For the canary test,
we need to enable the prometheus module for the external
cluster test.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-03 15:32:11 -06:00
Travis Nielsen 12badbe4c3 Merge pull request #11947 from parth-gr/external-seprate-rgw
external: make rgw call separate from cephfs and rbd
2023-03-31 09:35:26 -06:00
Travis Nielsen 2f8f7cf56c Merge pull request #11981 from rook/dependabot/github_actions/actions/stale-8
build(deps): bump actions/stale from 7 to 8
2023-03-30 10:52:34 -06:00
parth-gr e44df84687 external: make rgw call separate from cephfs and rbd
if the rge endint is not reachable don't block the creation
of rbd and cephfs sc, just print the error instead of raising exception

Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-30 19:54:33 +05:30
dependabot[bot] 9bec511408 build(deps): bump helm/chart-testing-action from 2.3.1 to 2.4.0
Bumps [helm/chart-testing-action](https://github.com/helm/chart-testing-action) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/helm/chart-testing-action/releases)
- [Commits](https://github.com/helm/chart-testing-action/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: helm/chart-testing-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 13:45:28 +00:00
dependabot[bot] c13aaf9b7f build(deps): bump actions/stale from 7 to 8
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 13:42:41 +00:00
travisn dca6810fac ci: improved reliability for mirroring snapshots
The snapshots were not being given enough time to complete
before the test was checking whether they had been completed.
Now we check the snapshot mirror count after everything
else is confirmed to be running. Also increase several
timeouts in the tests.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-03-23 09:03:56 -06:00
dependabot[bot] 128e7d72df build(deps): bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 13:02:05 +00:00
Travis Nielsen fd2f5c8abe Merge pull request #11904 from parth-gr/golang-ci-lint-update
ci: update golangci-lint version as it fails for some k8s version in …
2023-03-16 10:52:13 -06:00
parth-gr 8e317ee074 ci: update golangci-lint version as it fails for some k8s version in 1.10
Closes: https://github.com/rook/rook/issues/11896

Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-16 20:59:22 +05:30
parth-gr c7c5763648 ci: update github token in auto-assign bot
This Pr updates the behaviour of the token used by the bot
https://github.com/bdougie/take-action/commit/dae661e9a0abfafa2be0c170be1156302f4149e8

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

Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-14 19:41:05 +05:30
dependabot[bot] 08287fc90a build(deps): bump aws-actions/configure-aws-credentials from 1 to 2
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1 to 2.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1...v2)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 13:06:37 +00:00
Rakshith R b9fc9a643e ci: add test for key rotation
This commit adds test for key rotation.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-03-08 12:07:26 +05:30
Travis Nielsen 1ad863e516 Merge pull request #11822 from gauravsitlani/mirroring-citest-fix
Multi-cluster-mirroring CI test fix
2023-03-06 14:01:26 -07:00
gauravsitlani 88df0d8794 ci: fix fs multicluster mirroring
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2023-03-06 21:36:21 +05:30
subhamkrai d983f3620e ci: fix multus ci
Signed-off-by: subhamkrai <srai@redhat.com>
2023-03-02 12:20:59 +05:30
parth-gr 96ea7817f8 external: add realm support for external cluster
if a cluster won't use the deafult realm and try to
execute the python script it will fail to vaildate rgw
as the rgw-admin-user would be created on default realm
So creating user in specific realm if the realm name is passed

Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-01 20:55:48 +05:30
travisn 9197966ed4 ci: enable snyk flag not to build vcs
The snyk check is failing because the -buildvcs flag
is defaulting to true. Let's disable this flag to
get the check passing.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-02-27 16:09:35 -07:00
parth-grandBlaine Gardner 69ae9569cd build: update k8s version to 1.26.1
Update the Kubernetes API version used to 1.26.1, and start testing
against Kubernetes version 1.26.1 in CI.

Co-authored-by: parth-gr <paarora@redhat.com>
Co-authored-by: Blaine Gardner <blaine.gardner@redhat.com>

Signed-off-by: parth-gr <paarora@redhat.com>
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-02-23 20:18:47 -07:00
Travis Nielsen bdbf5bc929 test: wait for rgw to stabilize before checking vault token
The rgw may take a few seconds to stabilize before
the token can be checked in the rgw pod. Wait a few
seconds for test stability

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-02-23 09:11:20 -07:00
Alexander Trost bb0b60bc8f Merge pull request #11718 from ideepika/wip-minimal-ci-stable-builds
ci: use composite action for tmate session debugging
2023-02-23 15:24:30 +01:00
Deepika Upadhyay fef11fa6a6 ci: timeout-minutes has a known issue with composite
use timeout for the step in main workflow instead

https://github.com/actions/runner/issues/1979
https://github.com/metabase/metabase/pull/24554/files

once support for timeout-minutes is added we can remove these steps

Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
2023-02-21 15:57:00 +05:30