Allen Conlon
523dc75fec
ci: publish helm charts to oci repos
...
Signed-off-by: Allen Conlon <software@conlon.dev >
(cherry picked from commit fa2e499727 )
2025-03-25 18:08:20 -06: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
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
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
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
Michael Adam
9ecd6a2500
build: support golang 1.23
...
Signed-off-by: Michael Adam <obnox@samba.org >
2024-09-23 18:07:01 +02: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
subhamkrai
43e0c1cdb3
build: add support for go 1.22
...
Few day's back go 1.22 is release. Let's add that
as valid version to build on. Also, adding 1.22 as
test matric for linux build CI.
https://tip.golang.org/doc/go1.22
Signed-off-by: subhamkrai <srai@redhat.com >
2024-03-27 10:34:21 +05:30
subhamkrai
dd8c3c9974
build: remove csv related files
...
remove csv related files/content which are not used/required for
upstream uses.
Signed-off-by: subhamkrai <srai@redhat.com >
2024-03-11 21:01:53 +05:30
dependabot[bot]
3cdb79a73d
build(deps): bump azure/setup-helm from 3 to 4
...
Bumps [azure/setup-helm](https://github.com/azure/setup-helm ) from 3 to 4.
- [Release notes](https://github.com/azure/setup-helm/releases )
- [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md )
- [Commits](https://github.com/azure/setup-helm/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: azure/setup-helm
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-04 12:22:14 +00:00
subhamkrai
0c115927e1
build: remove go1.20 support and default to go1.21
...
Signed-off-by: subhamkrai <srai@redhat.com >
2023-12-19 11:55:03 +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
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
90a95ce57d
ci: disable tmate for build actions
...
The build and release actions will rarely ever need to be
debugged. To make them more efficient and reduce their
runtime, we remove the tmate action so it won't add 10
unnecessary minutes to the end of the action.
Signed-off-by: travisn <tnielsen@redhat.com >
2023-08-01 15:40:56 -06:00
subhamkrai
f171e1c037
ci: add detached mode in tmate
...
with detached mode, we don't need to wait for the
tests to complete. Now, we can get inside tmate before
the tests start and we can monitor the tests.
By default, this mode will wait at the end of the job for
a user to connect and then to terminate the tmate session.
If no user has connected within 10 minutes after the post-job step started,
it will terminate the tmate session and quit gracefully.
Signed-off-by: subhamkrai <srai@redhat.com >
2023-07-25 16:54:14 +05:30
subhamkrai
ab297afa0e
ci: fix tmate access issue
...
we need make `limit-access-to-actor: false` and also
in the right place where tmate `uses` is called for
composite yaml.
Signed-off-by: subhamkrai <srai@redhat.com >
2023-07-07 21:57:58 +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
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
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
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
Deepika Upadhyay
01b4ad9eec
ci: use composite action for tmate session debugging
...
this will help deduplicate tmate debug code throughout.
Signed-off-by: Deepika Upadhyay <deepika@koor.tech >
2023-02-20 21:07:20 +05:30
Travis Nielsen
2a8be0513a
Merge pull request #11668 from subhamkrai/update-csv-gen-script
...
build: clean rbac which are not required
2023-02-17 11:12:09 -07:00
subhamkrai
972202db0d
ci: install kubectl binary in mac for csv gen
...
installing kubectl in mac build for csv generation
as without that it is failing with
```
./../build/csv/csv-gen.sh: line 26: kubectl: command not found
```
Signed-off-by: subhamkrai <srai@redhat.com >
2023-02-17 20:58:09 +05:30
parth-gr
b81ee215a7
build: update golang version to v1.19
...
Updated the go mod and ci to use gov1.19 as
minimum and removed support for go1.18
Closes: https://github.com/rook/rook/issues/11681
Signed-off-by: parth-gr <paarora@redhat.com >
2023-02-17 18:39:05 +05:30
Travis Nielsen
1866ac63e7
Merge pull request #11248 from rook/dependabot/github_actions/azure/setup-helm-3
...
build(deps): bump azure/setup-helm from 1 to 3
2022-10-31 11:47:48 -06:00
dependabot[bot]
cc384306de
build(deps): bump azure/setup-helm from 1 to 3
...
Bumps [azure/setup-helm](https://github.com/azure/setup-helm ) from 1 to 3.
- [Release notes](https://github.com/azure/setup-helm/releases )
- [Commits](https://github.com/azure/setup-helm/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: azure/setup-helm
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-31 12:28:03 +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
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
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
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
4283973e07
build: add support for go 1.18
...
adding support for go 1.18 but rook master still
build on 1.17.
Signed-off-by: subhamkrai <srai@redhat.com >
2022-04-21 19:59:46 +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
Blaine Gardner
113e2f849d
build: use yq for RBAC yaml parsing
...
Use yq instead of Python for parsing RBAC from the Helm chart. We need
to use yq v4.14.1 or higher to fix yq's handling of the yaml header
markers ('---'). Update the Makefile's yq version to v4, which also
requires updating the script to update the CRDs. This was quite easy.
It is very difficult, however, to change the version of yq used by the
CSV generating/parsing scripts, which already used their own yq
download. Continue using yq v3 for this.
In order to make sure the scripts are using the right version of yq, add
basic validation to them to verify they are running v3 or v4 as required
for their operation.
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com >
2021-11-30 08:08:08 -07:00
Blaine Gardner
e2ba16f710
build: start tracking rbac generated from helm chart
...
This is a starting step to be able to generate common.yaml from Helm
charts. For right now, we merely want to be able to determine when the
rendered output of the Helm chart changes.
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com >
2021-09-30 12:20:24 -06:00
Blaine Gardner
24bf99f31c
build: use intermediate tmp for offline image gen
...
Reading from a file, processing the file in a pipe, and outputting the
piped content to the same file can have undefined results, often leading
to an empty file. Use an intermediate temp file for generating the
offline image list.
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com >
2021-09-29 17:31:02 -06:00
Sébastien Han
7c14b32435
ci: build on golang 1.16 and 1.17
...
The CI now runs the build test against Golang 1.16 and 1.17.
So 1.17 is been added as a supported version.
Signed-off-by: Sébastien Han <seb@redhat.com >
2021-08-24 11:18:51 +02:00