[STAGING][BUILD-RESULTS-001] Successful build on all repositories and architectures #61

Open
opened 2026-03-04 14:38:00 +01:00 by atartamo · 0 comments
Owner

Test Steps

  1. Create a package PR.
  2. Wait for the workflow-pr bot to create the related project PR.
  3. Wait for staging-bot to be added as a reviewer and ensure it is listed in the required reviewers for the project PR.
  4. Mock the OBS result list (/build/PR-Project/_result) with 2 repositories and 2 architectures.
  5. Set all repository, architecture, and package statuses to "in progress" (e.g., code="building").
  6. Transition all repositories and architectures to "finished" mode (e.g., code="published") and set all package statuses to "success" (e.g., code="succeeded").

Expected Results

  1. The staging bot adds a comment: "Build is started in https://<OBS_URL>/project/show/<PR_BASE_PROJECT>:<PR_NUMBER>."
  2. The staging bot adds a comment: "Build successful".
  3. The staging bot adds a comment to the package PR: "Build successful, for more information go in https://<OBS_URL>/project/show/<PR_BASE_PROJECT>:<PR_NUMBER>."
**Test Steps** 1. Create a package PR. 2. Wait for the `workflow-pr` bot to create the related project PR. 3. Wait for `staging-bot` to be added as a reviewer and ensure it is listed in the required reviewers for the project PR. 4. Mock the OBS result list (`/build/PR-Project/_result`) with 2 repositories and 2 architectures. 5. Set all repository, architecture, and package statuses to "in progress" (e.g., `code="building"`). 6. Transition all repositories and architectures to "finished" mode (e.g., `code="published"`) and set all package statuses to "success" (e.g., `code="succeeded"`). **Expected Results** 1. The staging bot adds a comment: "Build is started in `https://<OBS_URL>/project/show/<PR_BASE_PROJECT>:<PR_NUMBER>`." 2. The staging bot adds a comment: "Build successful". 3. The staging bot adds a comment to the package PR: "Build successful, for more information go in `https://<OBS_URL>/project/show/<PR_BASE_PROJECT>:<PR_NUMBER>`."
atartamo added the
bot
staging
status
todo
labels 2026-03-04 14:38:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: git-workflow/tests#61