summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /.github
parentInitial commit. (diff)
downloadceph-upstream.tar.xz
ceph-upstream.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github')
-rw-r--r--.github/labeler.yml10
-rw-r--r--.github/milestone.yml6
-rw-r--r--.github/pull_request_template.md52
-rw-r--r--.github/stale.yml66
-rw-r--r--.github/workflows/pr-triage.yml15
5 files changed, 149 insertions, 0 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 00000000..d4f91584
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,10 @@
+dashboard:
+ - /src/pybind/mgr/dashboard/**
+ - /qa/suites/rados/dashboard/**
+ - /qa/tasks/mgr/test_dashboard.py
+ - /qa/tasks/mgr/dashboard/**
+ - /monitoring/**
+ - /doc/mgr/dashboard.rst
+
+CI:
+ - /.github/**
diff --git a/.github/milestone.yml b/.github/milestone.yml
new file mode 100644
index 00000000..d4206950
--- /dev/null
+++ b/.github/milestone.yml
@@ -0,0 +1,6 @@
+base-branch:
+ - "(luminous)"
+ - "(nautilus)"
+ - "(octopus)"
+ - "(pacific)"
+ - "(quincy)"
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 00000000..69a755f0
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,52 @@
+
+<!--
+Thank you for opening a pull request! Here are some tips on creating
+a well formatted contribution.
+
+Please give your pull request a title like "[component]: [short description]"
+
+This is the format for commit messages:
+
+"""
+[component]: [short description]
+
+[A longer multiline description]
+
+Fixes: [ticket URL on tracker.ceph.com, create one if necessary]
+Signed-off-by: [Your Name] <[your email]>
+"""
+
+The Signed-off-by line is important, and it is your certification that
+your contributions satisfy the Developers Certificate or Origin. For
+more detail, see SubmittingPatches.rst.
+
+The component is the short name of a major daemon or subsystem,
+something like "mon", "osd", "mds", "rbd, "rgw", etc. For ceph-mgr modules,
+give the component as "mgr/<module name>" rather than a path into pybind.
+
+For more examples, simply use "git log" and look at some historical commits.
+
+This was just a quick overview. More information for contributors is available here:
+https://raw.githubusercontent.com/ceph/ceph/master/SubmittingPatches.rst
+
+-->
+## Checklist
+- [ ] References tracker ticket
+- [ ] Updates documentation if necessary
+- [ ] Includes tests for new functionality or reproducer for bug
+
+---
+
+<details>
+<summary>Show available Jenkins commands</summary>
+
+- `jenkins retest this please`
+- `jenkins test make check`
+- `jenkins test make check arm64`
+- `jenkins test submodules`
+- `jenkins test dashboard`
+- `jenkins test dashboard backend`
+- `jenkins test docs`
+- `jenkins render docs`
+
+</details>
diff --git a/.github/stale.yml b/.github/stale.yml
new file mode 100644
index 00000000..6e1cdeb7
--- /dev/null
+++ b/.github/stale.yml
@@ -0,0 +1,66 @@
+# Configuration for probot-stale - https://github.com/probot/stale
+
+# Number of days of inactivity before an Issue or Pull Request becomes stale
+daysUntilStale: 60
+
+# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
+# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
+#daysUntilClose: 7
+
+# for now, don't close anything by setting this limit very high:
+daysUntilClose: 700
+
+# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
+exemptLabels:
+ - pinned
+ - security
+ - "[Status] Maybe Later"
+
+# Set to true to ignore issues in a project (defaults to false)
+exemptProjects: true
+
+# Set to true to ignore issues in a milestone (defaults to false)
+exemptMilestones: true
+
+# Label to use when marking as stale
+staleLabel: stale
+
+# Comment to post when marking as stale. Set to `false` to disable
+markComment: >
+ This pull request has been automatically marked as stale because it
+ has not had recent activity. It will be closed if no further
+ activity occurs.
+
+ If you are a maintainer or core committer, please follow-up on this
+ issue to identify what steps should be taken by the author to move this
+ proposed change forward.
+
+ If you are the author of this pull request, thank you for your proposed
+ contribution. If you believe this change is still appropriate, please
+ ensure that any feedback has been addressed and ask for a code review.
+
+# Comment to post when removing the stale label.
+# unmarkComment: >
+# Your comment here.
+
+# Comment to post when closing a stale Issue or Pull Request.
+# closeComment: >
+# Your comment here.
+
+# Limit the number of actions per hour, from 1-30. Default is 30
+limitPerRun: 30
+
+# Limit to only `issues` or `pulls`
+only: pulls
+
+# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
+# pulls:
+# daysUntilStale: 30
+# markComment: >
+# This pull request has been automatically marked as stale because it has not had
+# recent activity. It will be closed if no further activity occurs. Thank you
+# for your contributions.
+
+# issues:
+# exemptLabels:
+# - confirmed
diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml
new file mode 100644
index 00000000..31791d4a
--- /dev/null
+++ b/.github/workflows/pr-triage.yml
@@ -0,0 +1,15 @@
+---
+name: "Pull Request Triage"
+on: pull_request_target
+jobs:
+ pr-triage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@9794b1493b6f1fa7b006c5f8635a19c76c98be95
+ with:
+ sync-labels: ''
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ - uses: iyu/actions-milestone@dbf7e5348844c9ddc6b803a5721b85fa70fe3bb9
+ with:
+ configuration-path: .github/milestone.yml
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"