dependabot[bot]
5f6eafb134
build(deps): bump actions/setup-go from 5.4.0 to 5.5.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/0aaccfd150d50ccaeb58ebd88d36e91967a5f35b...d35c59abb061a4a6fb18e82ac0862c26744d6ab5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 5.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-12 13:02:19 +00:00
dependabot[bot]
c29b643c8f
build(deps): bump actions/setup-go from 5.3.0 to 5.4.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/f111f3307d8850f501ac008e886eec1fd1932a34...0aaccfd150d50ccaeb58ebd88d36e91967a5f35b )
---
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 >
2025-03-24 13:32:49 +00:00
dependabot[bot]
382dccce75
build(deps): bump actions/setup-go from 5.2.0 to 5.3.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/3041bf56c941b39c61721a86cd11f3bb1338122a...f111f3307d8850f501ac008e886eec1fd1932a34 )
---
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 >
2025-01-27 12:42:02 +00:00
dependabot[bot]
1bdd74906f
build(deps): bump actions/setup-go from 5.1.0 to 5.2.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed...3041bf56c941b39c61721a86cd11f3bb1338122a )
---
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-12-16 19:54:56 +00:00
Michael Adam
c8a1bb21f6
build: update api go module dependencies
...
Signed-off-by: Michael Adam <obnox@samba.org >
2024-12-16 19:52:15 +01:00
Michael Adam
46fae529eb
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 >
2024-12-05 19:19:38 +01:00
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
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]
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
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 Adam and Travis 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
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]
c96641f29f
build(deps): bump actions/checkout from 4.1.7 to 4.2.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.7 to 4.2.0.
- [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/692973e3d937129bcbf40652eb9f2f61becf3332...d632683dd7b4114ad314bca15554477dd762a938 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-30 12:54:51 +00:00
harshitasao
c6ab1f2ba3
ci: github workflows pin dependencies
...
The openSSF scorecard report warns that the github workflows are not pinned by hash.
This PR aims at improving this by pinning the github workflows by hash.
Signed-off-by: harshitasao <harshitasao@gmail.com >
2024-08-15 18:17:30 +05:30
subhamkrai
d116429f75
build: upgrade to go 1.22
...
this commit upgrade to go 1.22 in go mod file and ci related files.
Also remove go 1.21 support
Signed-off-by: subhamkrai <srai@redhat.com >
2024-07-03 17:01:33 +05:30
subhamkrai
11ce20feaf
ci: update ubuntu image to 22.04
...
updating ubuntu image to 22.04 from 20.04 which is used in ci test
Signed-off-by: subhamkrai <srai@redhat.com >
2024-05-07 12:46:12 +05:30
dependabot[bot]
a2c63650c5
build(deps): bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
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-12-11 12:07:59 +00:00
Blaine Gardner
bf9e5dc1f5
ci: make use of caching in actions/setup-go
...
The GH action to set up Golang (actions/setup-go) has cache
functionality. For cache hits, this saves ~2 minutes for each run. In
order for the cache to hit, caching must not be disabled, and the code
must be checked out before setting up Golang.
Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com >
2023-10-04 13:41:56 -06:00
dependabot[bot]
14f0a9e772
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [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/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 12:33:02 +00:00
subhamkrai
e9cc7ed7b9
build: update go version to 1.21 from 1.20
...
Signed-off-by: subhamkrai <srai@redhat.com >
2023-08-25 12:23:21 +05:30
travisn
05bebc1615
ci: require go 1.20 in the builds
...
To update to the latest go modules we need to restrict golang
support to 1.20 for now.
Signed-off-by: travisn <tnielsen@redhat.com >
2023-06-22 16:37:10 -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
dependabot[bot]
aa102da4c8
build(deps): bump actions/setup-go from 2 to 3
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
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 >
2022-10-31 12:27:55 +00:00
dependabot[bot]
53bbd631e1
build(deps): bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-27 13:55:01 +00: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
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
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
Madhu Rajanna
4a26d389b7
ci: stop inprogress jobs when pr is updated
...
stop the in progress jobs when a PR is updated
Ref: https://docs.github.com/en/actions/using-workflows/ \
workflow-syntax-for-github-actions# \
example-using-concurrency-to-cancel-any-in-progress-job-or-run
example job is here
https://core.trac.wordpress.org/changeset/50930
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2022-05-30 12:11:48 +05:30
subhamkrai
81d696652d
build: update golang version to v1.17
...
update golang version to v1.17
Signed-off-by: subhamkrai <srai@redhat.com >
2022-04-19 09:04:29 +05:30
subhamkrai
e4a2a06d2e
ci: skip few ci when pr labled skip-ci
...
skip build, codegen and unit test ci test when
skip-ci labled is marked in PR.
Closes: https://github.com/rook/rook/issues/9972
Signed-off-by: subhamkrai <srai@redhat.com >
2022-04-05 11:35:38 +05:30
Travis Nielsen
87596c6f8e
build: detect git version instead of setting to 0
...
The build version should be detected with the git describe
command, but if the VERSION var is already set, it will be
used instead of being detected from git. During the official
builds or even local builds, we just want to let the makefile
detect the git version.
The full git history is added to enable proper detection of the
version. Without the full history only a hash is returned for
the version, which then results in an invalid semantic version
error for the helm chart.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com >
2021-07-28 07:25:10 -06:00
Blaine Gardner
e71882fd16
test: add xtrace for github action shells
...
For all Rook-maintained GH actions, use a default shell that has xtrace
enabled to help debug any errors.
Enable xtrace on all actions except these that use only external tools:
- codespell
- commitlint (wagoid/commitlint)
- golangci-lint
- helm-lint (chart-testing)
- stale
- yamllint
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com >
2021-06-22 10:58:08 -06:00
Sébastien Han
6a33395c4a
ci: separate PR and release/master branch push into different files
...
We now have a single file with all the integration test that will run
when code is pushed to a release branch or merged in master.
Also, we have separate files with integration tests that run on pull
requests against master or a release branch.
Signed-off-by: Sébastien Han <seb@redhat.com >
2021-04-19 12:43:31 +02:00
Travis Nielsen
31c4ef622e
build: update the build to use go 1.16
...
With the release of go 1.16, we update the tools. The -i flag is
now deprecated, no longer necessary for building in a private directory.
The go modules are cleaned up at the same time.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com >
2021-04-12 15:01:14 -06:00
Sébastien Han
5fccaf5e62
Merge pull request #7328 from leseb/ubuntu-18-ci
...
ceph: stick with ubuntu-18.04 on the CI
2021-03-01 18:44:41 +01:00
Sébastien Han
0adf7624d9
ceph: stick with ubuntu-18.04 on the CI
...
Github just switched to use Ubuntu 20.04 for the ubuntu-latest and it is
breaking some of our scenarios so far. Especially scenario creating
partitions.
Closes: https://github.com/rook/rook/issues/7327
Signed-off-by: Sébastien Han <seb@redhat.com >
2021-03-01 18:20:42 +01:00
subhamkrai
9b6bf82925
ci: update checkout version
...
this commit update checkout version.
Signed-off-by: subhamkrai <srai@redhat.com >
2021-03-01 10:30:00 +05:30
subhamkrai
afed5bf109
ci: fix codegen err
...
codegen is currently broken in master.
this commit fix the broken codegen by fixing
the correct working directory in gh action.
Signed-off-by: subhamkrai <srai@redhat.com >
2021-03-01 10:29:26 +05:30
Sébastien Han
2c021fb357
ci: bump golang version to 1.15
...
The rest of the CI already uses 1.15 so let's homogenize that.
Signed-off-by: Sébastien Han <seb@redhat.com >
2021-01-18 08:47:31 +01:00
Sébastien Han
2d1cf09d8d
ci: only run the canary test on code changes
...
If no Go files changed we do not run the CI.
Signed-off-by: Sébastien Han <seb@redhat.com >
2020-11-16 18:05:07 +01:00
Sébastien Han
ea1d71cbfb
ceph: add vault kms support for osd encryption
...
When the Ceph cluster runs on PVC and the OSDs are encrypted we can
store LUKS's Key Encryption Key inside a Key Management System. Today,
Rook only supports HashiCorp Vault: https://www.vaultproject.io/
The CephCluster has now a new "security" field which will plug onto the
KMS. Here is an example:
security:
kms:
tokenSecretName: <name of the secret containing a Vault token, used
to authenticate>
connectionDetails: < a map of strings containing connection
information>
Refer to the ceph-cluster-crd documentation to lear more.
Closes: https://github.com/rook/rook/issues/6105
Signed-off-by: Sébastien Han <seb@redhat.com >
2020-10-30 16:16:33 +01:00
Sébastien Han
58c8de95be
ci: add modcheck github workflow
...
Add a new github workflow to verify with mod check.
Signed-off-by: Sébastien Han <seb@redhat.com >
2020-08-27 12:15:41 +02:00
Sébastien Han
af5a7f4df8
ci: run make codegen validation in workflow
...
Fail if a PR is submitted and has not run "make codegen"
Signed-off-by: Sébastien Han <seb@redhat.com >
2020-08-25 19:19:15 +02:00