Last active
April 7, 2021 14:11
-
-
Save hennevogel/890401ce05d8b194c34a12fd85d3159a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pull-request: # The workflow name | |
runs_on: pull_request # limits this workflow to this Github/Gitlab event | |
project: home:hennevogel:myfirstproject:$PR_NUMBER # operates on this project | |
prjconf: dist/obs/prjconf # Will add the content of this file inside the SCM as prjconf | |
steps: | |
repositories: # runs @project.repositores.create(...) | |
- project: openSUSE_Factory | |
repo: standard | |
arch: x86_64 | |
flags: # runs @project.flags.create(...) | |
- flag: build | |
status: disable | |
arch: aarch64 | |
repository: Fedora_30 | |
branch: # runs BranchPackage(...) | |
- home:hennevogel:myfirstproject / ctris | |
- openSUSE:Factory / libfoo | |
run_services: # runs Backend::Api::Sources::Package.trigger_services(...) | |
- ctris: true | |
main: # Token::Service / Token::Rebuild replacement | |
runs_on: push | |
branches: # Only run this workflow on branches matching this regex | |
only: main | |
project: home:hennevogel:myfirstproject | |
package: ctris | |
steps: | |
run_services: | |
- ctris | |
rebuid: | |
- libfoo | |
branch: # E.g. automatically setup branch/tag projects | |
runs_on: create | |
branches: # Run this workflow on all branches but the one matching this regex | |
ignore: depfu/.* | |
project: home:hennevogel:myfirstproject:$BRANCH_NAME | |
prjconf: dist/obs/prjconf | |
steps: | |
copypac: # runs Backend::Api::Sources::Package.copy(...) | |
- home:hennevogel:myfirstproject / ctris | |
- openSUSE:Factory / libfoo | |
repositories: # runs @project.repositores.create(...) | |
- project: openSUSE_Factory | |
repo: standard | |
arch: x86_64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment