Commit Graph

113 Commits

Author SHA1 Message Date
David Galloway
605b457c98 .github: Add labels while PR is open
I think https://github.com/tibdex/backport will only create backport PRs if our doc/releases PRs are labelled *and then* closed.  This action currently labels after the PR is closed.

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-06-24 12:27:43 -04:00
David Galloway
f5f9459fb2 .github: Support for automatically creating backport PRs when labeled
e.g., add a 'backport quincy' label to a PR and this workflow will automatically create a backport PR

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-06-23 15:33:54 -04:00
David Galloway
24e3822435 .github: Label doc/releases PRs so tibdex/backport@v2 can backport
Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-06-23 15:31:48 -04:00
Huber-ming
a892525c71 SubmittingPatches.rst: PRs should target "main"
Signed-off-by: Huber-ming <zhangsm01@inspur.com>
2022-06-13 09:38:40 +08:00
Ernesto Puerta
9bfde20d57
Merge pull request #46452 from ceph/fix-codeowners_api-master
codeowners: remove api team

Reviewed-by: Sarthak Gupta <sarthak.dev.0702@gmail.com>
Reviewed-by: nSedrickm <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-06-06 17:40:09 +02:00
Ilya Dryomov
00a44f1c6b CODEOWNERS: add RBD team
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-06-01 13:37:21 +02:00
Ernesto Puerta
19ed43f114
codeowners: remove api team
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2022-05-31 15:01:49 +02:00
Neha Ojha
8303c6b911 .github/CODEOWNERS: tag core devs on core PRs
Start with everything that is present under core in .github/labeler.yml.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2022-05-27 20:30:47 +00:00
John Mulligan
4904b02f9f .github: ensure object_format.py is labeled the same as mgr_util.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2022-05-13 10:42:00 -04:00
Laura Flores
246c21d7f9 .github: remove "Submitting Patches to Ceph" comment
Ideally, this should not be in comment form so users
can click on the link.

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-04-26 13:17:06 -05:00
Laura Flores
23d6db4a56 .github: add a "Contribution Guidelines" to the pull request template
These guidelines refer contributors to the "Submitting Patches to Ceph" doc
and the "Submitting Patches to Ceph - Backports" doc. Even though there are
already tips for titling/signing commits in the PR template, these tips
are commented out and easy to gloss over once the contributor creates the
PR. These existing tips do not include any pointers about staging backports.

Fixes: https://tracker.ceph.com/issues/55418
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-04-22 23:11:58 +00:00
Ernesto Puerta
d8c0229b90
.github/pr-triage: reorder milestone step
In `master` the milestone step exits and causes remaining tasks not to be run. I previously tried with the `continue-on-error` flag, but it didn't work, so let's try putting that steps at the end.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2022-04-18 18:50:52 +02:00
Laura Flores
ea290a4025
Merge pull request #45230 from ljflores/wip-github-actions-stale
.github/workflows: replace probot-stale with equivalent github action
2022-03-23 11:37:38 -05:00
Ernesto Puerta
b6791ee09a
.github: continue on error
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2022-03-17 20:53:31 +01:00
Kamoltat
7c464a0eeb .github/pull_request_template.md: added test windows command
Added `jenkins test windows` to the

Show available Jenkins Commands section

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2022-03-04 19:01:21 +00:00
Laura Flores
265f727481 .github: update dependabot.yml to keep github action versions up to date
Config based on this recommendation: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot#example-dependabotyml-file-for-github-actions

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-03-02 20:11:32 +00:00
Laura Flores
97ba9ccf8e .github/workflows: replace probot-stale with equivalent github action
We currently use probot-stale (https://github.com/probot/stale) to mark stale PRs. According to several issues reported for this repository, there is a widespread problem of probot-state not working properly in github projects (i.e. https://github.com/probot/stale/issues/349). Some users recommend using https://github.com/actions/stale instead.

Fixes: https://tracker.ceph.com/issues/54443
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-03-02 20:03:56 +00:00
Ernesto Puerta
662f46dcbe
mgr/dashboard: configure dependabot
https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2021-12-02 14:17:06 +01:00
Sage Weil
37ed8b6427 .github/pull_request_template: drop teuthology reference
It is not clear what role this has relative to the needs-qa label.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-20 08:56:06 -06:00
Sage Weil
c68b9c0d1e .github/pull_request_template: add cleanup option
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-20 08:56:06 -06:00
Alfonso Martínez
045d2d0f76 mgr/dashboard: NFS non-existent files cleanup
After https://github.com/ceph/ceph/pull/42526 and https://github.com/ceph/ceph/pull/43725 merges,
the following files do not exist but there were still references to them:
- src/pybind/mgr/dashboard/services/ganesha.py
- qa/tasks/mgr/dashboard/test_ganesha.py

The following files were renamed but there were still references to old names:
- src/pybind/mgr/dashboard/controllers/nfsganesha.py:  nfsganesha.py --> nfs.py
- src/pybind/mgr/dashboard/tests/test_ganesha.py:  test_ganesha.py --> test_nfs.py

Other changes in qa/suites/rados/dashboard/tasks/dashboard.yaml:
- Add missing task: tasks.mgr.dashboard.test_api
- Sort dashboard tasks alphabetically.

Fixes: https://tracker.ceph.com/issues/53123
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-11-17 13:25:17 +01:00
Sage Weil
56e84f6f2d .github/pull_request_template: address review comments
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-05 15:48:56 -05:00
Sage Weil
4207703f1c .github/pull_request_template.md: update
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-03 13:26:04 -05:00
Sage Weil
f0af2a7535 .github/workflows/pr-checklist: add checklist action
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-03 13:26:04 -05:00
Sage Weil
ec4fbe918b Merge PR #43333 into master
* refs/pull/43333/head:
	.github/CODEOWNERS: tag rook devs on rook related PRs

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-14 21:00:13 -04:00
Ernesto Puerta
e7cbf30387
Merge pull request #43473 from rhcs-dashboard/wip-pr_deps-master
.github: check if PR deps are merged/closed

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-10-11 14:52:02 +02:00
Ernesto Puerta
2220646c20
.github/pr-triage: rename GH token
Repo projects use GITHUB_TOKEN instead of MY_GITHUB_TOKEN:
https://github.com/srggrs/assign-one-project-github-action/blob/master/entrypoint.sh#L19

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2021-10-11 13:05:34 +02:00
Ernesto Puerta
61011a43a3
.github: check if PR deps are merged/closed
If a PR description includes `blocked by <pr>` or `depends on <pr>`,
this check will fail until the referred PRs are either merged or closed.

If this check is made required, it'll also block the merge button.

The details of the supported syntax can be checked at:
https://github.com/marketplace/actions/pr-dependency-check

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2021-10-08 19:14:17 +02:00
Ernesto Puerta
ed55c527f1
.github: add dashboard PRs to Dashboard project
This action automatically adds PRs with 'dashboard' label to the
'Dashboard' project (https://github.com/ceph/ceph/projects/6).

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2021-10-08 18:43:25 +02:00
Sage Weil
179124e80f .github/CODEOWNERS: tag rook devs on rook related PRs
Signed-off-by: Sage Weil <sage@newdream.net>
2021-09-28 11:27:20 -04:00
Sebastian Wagner
91a8b45fc8
.github: fix path to cepham suite
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-09-21 13:35:03 +02:00
Sebastian Wagner
5624a62024
.github/labeler: Add monitoring
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-30 13:14:44 +02:00
Joseph Sawaya
2820b7e1cc .github/labeler: add rook label to PRs related to Rook
To make it easier to look for PRs directly related to the Rook orchestrator.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2021-08-20 09:50:37 -04:00
Ernesto Puerta
8fe3e260ce
Merge pull request #42724 from rhcs-dashboard/52082-cephadm-e2e-improv
mgr/dashboard: run-cephadm-e2e-tests.sh improvements
2021-08-12 20:50:51 +02:00
Alfonso Martínez
cadf8c75ac mgr/dashboard: run-cephadm-e2e-tests.sh improvements
- Jenkins env.: make sure the cluster is always started.
- PR template: add trigger phrase to the jenkins commands list.
- Cypress: add --no-install flag; clean previous reports.

Fixes: https://tracker.ceph.com/issues/52082
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-08-11 10:25:42 +02:00
Varsha Rao
482a13077a .github/labeler: add nfs dev doc
Signed-off-by: Varsha Rao <varao@redhat.com>
2021-08-06 19:12:57 +05:30
Varsha Rao
ce7fef695b doc/mgr/nfs: update nfs links
Signed-off-by: Varsha Rao <varao@redhat.com>
2021-07-13 14:37:39 +05:30
Ernesto Puerta
756d4b18aa
.github/labeler: add api-change label
To flag PRs changing the Ceph REST API. It might also work for another
APIs.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2021-06-08 17:12:36 +02:00
Varsha Rao
1006a5fbb3 .github/labeler: add nfs label
Signed-off-by: Varsha Rao <varao@redhat.com>
2021-05-20 16:08:10 +05:30
Patrick Donnelly
368e7e8020
.github/labeler: add libcephsqlite label
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-22 10:20:24 -07:00
Kefu Chai
ae8ea10f41 .github/workflows: use a released sha1
otherwise the action cannot be found

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-09 12:16:26 +08:00
Kefu Chai
453cd5fd60 .github/workflows: rename labeler.yml to pr-triage.yml
to reflect the change in the actions in it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-09 02:46:48 +08:00
Kefu Chai
79e8038046 .github/workflows: use @{sha1} for actions
more secure this way. see also https://julienrenaux.fr/2019/12/20/github-actions-security-risk/

point the sha1 to

* labeler@v3
* milestone@main HEAD

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-09 02:46:10 +08:00
Kefu Chai
98b9018979 .github/workflows: move milestone.yml into labeler.yml
no need to have two actions triggered by the same event.

we could backport this labeler.yml to LTS branches.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-09 02:45:52 +08:00
Kefu Chai
c5f6d15e36 .github: correct the regex in mileston workflow
also use pull_request_target event so the action is run in the
context of the base of the pull request. this helps us to overcome
the "Resource not accessible by integration" issue where the action
is run in the context of the pull request.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-07 00:32:44 +08:00
Kefu Chai
1657a44750 .github: add workflow for adding milestone
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-06 21:36:53 +08:00
Sebastian Wagner
37b81f6896 .github: Minor cephadm changes
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-03 16:34:01 +01:00
Patrick Donnelly
a3db265ad5
*: remove legacy ceph_volume_client.py library
This library is obsolete with the mgr volumes plugin since Nautilus.

The last remaining user of this library was Manila which will be using
the volumes plugin with Pacific and onwards.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-12 06:54:29 -08:00
Sebastian Wagner
4871269f34
Merge pull request #38784 from sebastian-philipp/resurect-doc-dev-cephadm
doc/dev: resurrect hidden dev/cephadm.rst

Reviewed-by: Varsha Rao <varao@redhat.com>
2021-01-07 11:46:12 +01:00
Patrick Donnelly
cdabf0d507
.github: add MDSMonitor to cephfs label
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-06 10:59:41 -08:00