Project

General

Profile

Actions

Feature #51222

open

ceph-backport.sh: minimal automated test

Added by Loïc Dachary almost 3 years ago. Updated over 2 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
qa
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

  • run Gitea (OK)
  • create a ceph/ceph project in Gitea (OK)
  • run Redmine (OK)
  • create a ceph project in redmine (OK)
  • create a ceph issue in redmine (OK)
  • run ceph-backport.sh against the local Gitea + redmine to create the pull request (OK)
  • verify the pull request exists (OK)

Note: this takes advantage of the fact that the Gitea API is mostly the same as the GitHub API. At first glance it looks like the ceph-backport.sh script does not use API endpoints / arguments that are incompatible.


Files

0001-scripts-ceph-backport.sh-do-not-hardcode-api.github..patch (7.64 KB) 0001-scripts-ceph-backport.sh-do-not-hardcode-api.github..patch Loïc Dachary, 07/13/2021 03:36 PM
0002-scripts-ceph-backport.sh-preserve-verbosity.patch (1.04 KB) 0002-scripts-ceph-backport.sh-preserve-verbosity.patch Loïc Dachary, 07/13/2021 03:36 PM
0003-scripts-ceph-backport.sh-do-not-hardcode-tracker.cep.patch (1.25 KB) 0003-scripts-ceph-backport.sh-do-not-hardcode-tracker.cep.patch Loïc Dachary, 07/13/2021 03:36 PM
0004-scripts-ceph-backport.sh-allow-override-PR-target-he.patch (1.97 KB) 0004-scripts-ceph-backport.sh-allow-override-PR-target-he.patch Loïc Dachary, 07/27/2021 05:06 AM
0005-scripts-ceph-backport.sh-allow-override-of-the-pull-.patch (1.23 KB) 0005-scripts-ceph-backport.sh-allow-override-of-the-pull-.patch Loïc Dachary, 07/27/2021 05:06 AM
0006-scripts-ceph-backport.sh-display_url-when-firefox-is.patch (1.97 KB) 0006-scripts-ceph-backport.sh-display_url-when-firefox-is.patch Loïc Dachary, 08/10/2021 12:13 PM
0007-scripts-ceph-backport.sh-allow-override-PR-path.patch (1.35 KB) 0007-scripts-ceph-backport.sh-allow-override-PR-path.patch Loïc Dachary, 08/10/2021 12:13 PM
0008-scripts-ceph-backport.sh-explicitly-set-Content-Type.patch (1.51 KB) 0008-scripts-ceph-backport.sh-explicitly-set-Content-Type.patch Loïc Dachary, 08/10/2021 12:13 PM
0009-scripts-ceph-backport.sh-move-number-of-commits-code.patch (2.4 KB) 0009-scripts-ceph-backport.sh-move-number-of-commits-code.patch Loïc Dachary, 08/10/2021 12:13 PM
0010-scripts-ceph-backport.sh-implement-pr_commits_count.patch (1.77 KB) 0010-scripts-ceph-backport.sh-implement-pr_commits_count.patch Loïc Dachary, 08/10/2021 12:13 PM

Related issues 3 (2 open1 closed)

Related to Ceph - Tasks #52122: ceph-backport.sh: running the testsFix Under ReviewLoïc Dachary

Actions
Related to Ceph - Feature #52387: backport-create-issue: set the priority of the backport issueResolvedLoïc Dachary

Actions
Blocks Ceph - Bug #51224: ceph-backport.sh: a PR for N needs a staged PR for N+1Fix Under ReviewLoïc Dachary

Actions
Actions

Also available in: Atom PDF