-
Notifications
You must be signed in to change notification settings - Fork 440
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
To deploy the PR with the number 12345
- Wait until our OBS workflow has finished building packages in home:bs-team:openSUSE:open-build-service:PR-12345
- Deploy the PR with the number 12345
/usr/local/sbin/update_root.sh -p 12345
- test what you want to test
- Once you are done, 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
- 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