Commit Graph

172 Commits

Author SHA1 Message Date
Zac Dover cbc33e8d98 .github/check-license: correct grammar in "license check"
Change "Check Incompatible Licenses" to "Check for Incompatible
Licenses".

This commit is made as part of a project to separate the changes in
https://github.com/ceph/ceph/pull/60448 into individual pull requests.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-10-26 23:06:05 +10:00
Ernesto Puerta 42e4b45d30
.github/check-license: add friendly name
In the absence of `name`, GH uses the `job` ID of the action to select which checks are required, and `pull_request` is rather confusing.

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2024-10-23 20:34:40 +02:00
Ernesto Puerta 64f2dfd69d
Merge pull request #60388 from ceph/fix-check_license_typo-main
ci: fix typo in check-license
2024-10-23 16:12:35 +01:00
Casey Bodley 6c168967a8
Merge pull request #60328 from cbodley/wip-mstart-doc
rgw: document and label mstart.sh and related scripts

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2024-10-18 08:36:29 -04:00
Ernesto Puerta 04757a317a
ci: fix typo in check-license
Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2024-10-18 11:37:10 +02:00
Casey Bodley c78d1ba668 rgw: add mstart-related scripts to CODEOWNERS and labeler
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-10-15 11:35:53 -04:00
Ernesto Puerta 2ed1a3bd70
.github: detect GPL license in PRs
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2024-10-15 14:09:48 +02:00
Vallari Agrawal d513cc527c
labeler: add nvmeof labelers
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
2024-10-10 11:51:44 +05:30
Matan Breizman 9328060a1c labeler: label seastar submodule as crimson
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-07-09 14:16:43 +00:00
Patrick Donnelly 6d958b1ae6
.github/labeler: add script label to script changes
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2024-06-20 13:44:19 -04:00
Ilya Dryomov 0543b9264f .github: expand tests label to all files under qa
The test job definition under qa/suites is an integral part of almost
any test.  Often, the test logic is split between the task or workunit
and respective snippet(s) under qa/suites.

Other files under qa are less used, but still related to nothing but
testing, so just add the label on all of it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2024-05-23 18:28:24 +02:00
Neha Ojha acdd6bc00b
Merge pull request #57414 from neha-ojha/wip-milestone-squid
.github/milestone.yml: add squid

Reviewed-by: Laura Flores <lflores@redhat.com>
2024-05-20 10:56:43 -04:00
Patrick Donnelly 6f3fa67764
.github: remove description for action
It is rejected by github's parser.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-15 09:29:28 -04:00
Patrick Donnelly ec4c5fea27
.github: use shorter name for backport tracker action
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-14 08:19:42 -04:00
Patrick Donnelly 3ff77d997e
.github: document where runs/output can be examined
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-14 08:19:42 -04:00
Neha Ojha bca45c7df2 .github/milestone.yml: add squid
Signed-off-by: Neha Ojha <nojha@redhat.com>
2024-05-10 20:59:25 +00:00
Ilya Dryomov 716996eff8 .github: sync the list of paths for rbd label with CODEOWNERS
With https://github.com/actions/labeler/issues/483 still pending, do it
manually.

A couple of entries matching both files and directories were expanded
since, unlike fnmatch(3), minimatch treats slashes specially:

- src/include/rbd* -> src/include/rbd* src/include/rbd/**
- src/rbd*         -> src/rbd* src/rbd*/**
- src/test/rbd*    -> src/test/rbd* src/test/rbd*/**

A bunch of entries under src/tools were combined into:

- src/tools/rbd*/**

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2024-04-23 13:27:03 +02:00
Ilya Dryomov 9d1302d780 CODEOWNERS: assign ceph-rbd-mirror systemd service to RBD
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2024-04-23 12:57:49 +02:00
Dan Mick 4a1d6122eb .github/workflows/create-backport-trackers.yml: update versions of actions
Getting warning about node16 being deprecated.  The workflow doesn't use node
directly, but through the external actions.  Moving to node20 requires
changing setup-python version; Bhacaz/checkout-files is deprecated and
recommends actions/checkout.

Signed-off-by: Dan Mick <dmick@redhat.com>
2024-03-01 13:26:36 -08:00
Laura Flores ff6c339cfa .github/workflows: revert version bump to labler action
Signed-off-by: Laura Flores <lflores@ibm.com>
2024-01-30 11:34:22 -06:00
Laura Flores faef8d54d8
Merge pull request #55364 from ljflores/wip-pr-triage
.github/workflows: disable sync-labels in pr-triage
2024-01-30 11:13:30 -06:00
Laura Flores 6cca015822 .github/workflows: disable sync-labels in pr-triage
`sync-labels` is defined as "Whether or not to remove labels
when matching files are reverted or no longer changed by the PR".

We should disable this in case someone manually adds a label,
so the label doesn't get removed.

Signed-off-by: Laura Flores <lflores@ibm.com>
2024-01-29 17:47:22 -06:00
Laura Flores 7a04e9b9cf
Merge pull request #55326 from ceph/dependabot-github_actions-actions-labeler-5.0.0
.github: Bump actions/labeler from 4.0.2 to 5.0.0
2024-01-29 12:50:47 -06:00
Laura Flores b5ad8cb325 .github/workflows: update comment to reflect version change
Signed-off-by: Laura Flores <lflores@ibm.com>
2024-01-26 09:59:56 -06:00
dependabot[bot] e03f8a8c16
.github: Bump actions/labeler from 4.0.2 to 5.0.0
Bumps [actions/labeler](https://github.com/actions/labeler) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](5c7539237e...8558fd7429)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 23:57:22 +00:00
dependabot[bot] 5ae5925a92
.github: Bump gregsdennis/dependencies-action from 1.2.3 to 1.3.2
Bumps [gregsdennis/dependencies-action](https://github.com/gregsdennis/dependencies-action) from 1.2.3 to 1.3.2.
- [Release notes](https://github.com/gregsdennis/dependencies-action/releases)
- [Commits](80b5ffec56...f98d55eee1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 23:57:13 +00:00
Laura Flores 2b694195bf .github: fix length of dependabot commit message prefix
Followup to commit 265f727481.

Fixes this error mesage under GitHub Insights (https://github.com/ceph/ceph/network/updates):

```
The property '#/updates/1/commit-message/prefix' was not of a maximum string length of 15
```

Signed-off-by: Laura Flores <lflores@ibm.com>
2024-01-24 20:37:04 +00:00
Laura Flores bf5b1cd07a
.github/workflows: upgrade stale bot
Signed-off-by: Laura Flores <lflores@redhat.com>
2023-12-22 17:43:17 -06:00
Redouane Kachach 11df09dbbe
github: adding command for rook e2e jenkins job
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-11-06 15:43:43 +01:00
Ernesto Puerta 3a386d52a4
create-backport-trackers: Python >= 3.12 deprecated distutils
See https://docs.python.org/3.10/whatsnew/3.10.html#distutils-deprecated.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2023-10-30 12:42:19 +01:00
Anthony D'Atri 1ca356a916 .github: Clarify checklist details
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2023-10-19 11:30:28 -04:00
Nizamudeen A 3441b89ad4 .github: fix add to dashboard failing
```
Error: Request failed due to following response errors:
 - Could not resolve to a ProjectV2 with the number 2.
```

On further investigation, it looks like it could be a permission issue.
I followed the recommendation in their documentation to fix it: https://github.com/actions/add-to-project#creating-a-pat-and-adding-it-to-your-repository

Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-14 23:23:11 +05:30
Nizamudeen A 38ee272419 .github: pr-triage broken link fix
The link I put was broken so replacing it with the correct one:

Fixes: https://github.com/ceph/ceph/pull/52455

Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-08 10:34:59 +05:30
Nizamudeen A a0ccdd411a
Merge pull request #52455 from ceph/gh-add-to-project-fix
.github: pr-triage fix

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2023-08-08 10:09:54 +05:30
Nizamudeen A a54af94f6a .github: pr-triage fix
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-07 21:17:43 +05:30
Laura Flores f32988e0c3 .github/workflows: pin the stale bot to the latest version
Signed-off-by: Laura Flores <lflores@redhat.com>
2023-08-01 15:03:30 -05:00
Neha Ojha 573d0ff5d5 .github/milestone.yml: add reef
Signed-off-by: Neha Ojha <nojha@redhat.com>
2023-03-10 22:13:17 +00:00
Ernesto Puerta c9a7e7158e
.github: update add-to-project action
Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2023-02-27 16:01:33 +01:00
Ilya Dryomov 38898dfeb8 CODEOWNERS: assign qa/workunits/windows to RBD
Assume ownership of qa/workunits/windows.  Despite the generic name,
currently it has just rbd-wnbd tests.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-02-26 17:55:13 +01:00
Ernesto Puerta 2d11e4770a
.github/workflows: update failing action
[Example](https://github.com/ceph/ceph/actions/runs/4222995073/jobs/7360873373) of failing run.

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2023-02-21 20:47:31 +01:00
Casey Bodley 36747b08ff examples: move rgw examples under subdirectory
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-02-13 17:20:26 -05:00
Ilya Dryomov 1aeae0aebd CODEOWNERS: don't override doc-writers by core and rbd for some files
This happens because core and rbd ownership is defined after
doc-writers: a later match takes precedence.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-02-13 19:05:03 +01:00
Casey Bodley 78c3839d89 github: add /examples to CODEOWNERS
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-02-12 11:00:59 -05:00
Casey Bodley 41c3975c9f github: add rgw team to CODEOWNERS
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-02-10 13:17:21 -05:00
Laura Flores 960aec07bd .github: automatically add telemetry label to relevant files
Signed-off-by: Laura Flores <ljflores@redhat.com>
2022-12-14 16:20:45 +00:00
Laura Flores e75eb834e7
.github: add core label to files under src/test/librados
In response to https://tracker.ceph.com/issues/58173, it would have helped to have the PR label librados test files with core, so the PR would have been tagged for rados qa.

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-12-05 15:07:42 -06:00
Laura Flores 2f8b6d6cb6
.github/workflows: update `days-before-pr-close`
Currently, the stale bot closes PRs 90 days after they are marked stale since it counts "marking a PR stale" as activity. 

We really want the PRs to close after a total of 90 days, or 30 days after they are marked stale. Changing `days-before-prs-close` to 30 will fix this.

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-10-28 13:24:33 -05:00
Ernesto Puerta d6a2266fbb
.github/pr-triage: update node.js to v16
[Warning](https://github.com/ceph/ceph/actions/runs/3273201887):
```
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Please update the following actions to use Node.js 16: actions/labeler, iyu/actions-milestone
```

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2022-10-18 14:50:39 +02:00
Ernesto Puerta f846400652
.github/pr-triage: switch from old to new project
The old (classic) Dashboard project (https://github.com/ceph/ceph/projects/6) has been migrated to a new-style one (https://github.com/orgs/ceph/projects/2/views/1).

This also requires updating the GH Action that automatically assigned `dashboard`-labeled PRs to the Dashboard project.

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2022-10-17 17:50:41 +02:00
David Galloway 41fcdd9a5b .github: Give folks 30 seconds to fill out the checklist
Otherwise GitHub sends an annoying e-mail right away when you file a PR that doesn't have the checklist filled out.  It's easier IMO to create the PR, then check the boxes instead of putting Xes in brackets while filling out the PR comment.

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-08-31 14:21:16 -04:00