-
Notifications
You must be signed in to change notification settings - Fork 461
Our Testing Server
We have a test/staging server that continuously deploys: https://build-test.opensuse.org
Every time code is merged on master in the open-build-service git repository, rpm packages are built in https://build-test.opensuse.org/project/show/OBS:Server:Unstable on the test instance. Every time packages finished building and are published there is a publisher hook called that runs the script /usr/local/sbin/update_root.sh which does the deployment.
In case you don't want the continuous deployment to mess with your testing you can disable it with
echo "Henne is testing something..." > /tmp/stop_deploy.txt
and enable it again by removing the file
rm /tmp/stop_deploy.txt
Wait until our workflow has created packages. To deploy the PR with the number 12345 run
/usr/local/sbin/update_root.sh -p 12345
Once you are done testing you can remove the PR with the number 12345 by running
/usr/local/sbin/update_root.sh -d 12345
This is defined in /usr/lib/obs/server/BSConfig.pm with the following code:
our $publishedhook = {
'OBS:Server:Unstable/15.4' => '/usr/local/sbin/run_update.sh',
};which then runs /usr/local/sbin/update_root.sh -u with sudo
- Development Environment Overview
- Development Environment Tips & Tricks
- Spec-Tips
- Code Style
- Rubocop
- Testing with VCR
- Test in kanku
- 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
- Package Versions
- next_rails
- Ruby Update
- Rails Profiling
- 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
- Brakeman
- How to Introduce Software Design Patterns
- Query Objects
- Services
- View Components
- RFC: Core Components
- RFC: Decorator Pattern
- RFC: Backend models
- RFC: Hotwire Turbo Frames Pattern