-
Notifications
You must be signed in to change notification settings - Fork 441
Staging Workflow
Björn Geuken edited this page Mar 21, 2019
·
33 revisions
The overall_state method defines the overall state of a StagingProject. This method defines whether a StagingProject can be merged or not.
The following conditions should be met to make a staging project acceptable:
- if it is not empty
- if there are no untracked requests or obsolete requests (requests in state 'declined', 'superseded' or 'revoked')
- if there are no unfinished builds for any StagedRequest of a StagingProject
- if there are no open reviews for any StagedRequest of a StagingProject
- if there are no open StatusChecks for any Repositories of a StagingProject
Merging a StagingProject means to accept all requests that are staged for this project. Once the requests have been accepted, they are unstaged from the project.
@staging_project.staged_requests.each do |staged_request|
staged_request.request.reviews.accept # the by project review
staged_request.request.accept....
staged_request.destroy # Remove the relationship
end
- Development Environment Overview
- Development Environment Tips & Tricks
- Spec-Tips
- Code Style
- Rubocop
- Testing with VCR
- Authentication
- Authorization
- Autocomplete
- BS Requests
- Events
- ProjectLog
- Notifications
- Feature Toggles
- Build Results
- Attrib classes
- Flags
- The BackendPackage Cache
- Maintenance classes
- Cloud uploader
- Delayed Jobs
- Staging Workflow
- StatusHistory
- OBS API
- Owner Search
- Search
- Links
- Distributions
- Repository
- Data Migrations
- next_rails
- Ruby Update
- Rails Profiling
- Installing a local LDAP-server
- Remote Pairing Setup Guide
- Factory Dashboard
- osc
- Setup an OBS Development Environment on macOS
- Run OpenQA smoketest locally
- Responsive Guidelines
- Importing database dumps
- Problem Statement & Solution
- Kickoff New Stuff
- New Swagger API doc
- Documentation and Communication
- GitHub Actions
- How to Introduce Software Design Patterns
- Query Objects
- Services
- View Components
- RFC: Core Components
- RFC: Decorator Pattern
- RFC: Backend models