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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
For the RGW daemon validation please check whether pod is Running than
the exisitng checks
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
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>
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>
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>
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>
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>
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>