Skip to content

Commit

Permalink
obs: Trigger services on PR merge
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
  • Loading branch information
pjbgf committed Nov 27, 2024
1 parent 23af6de commit 0d8225f
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .obs/workflows.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
workflow:
version: '1.1'
testbuild:
steps:
- branch_package:
source_project: devel:languages:go
source_project: home:pjbgf:branches:devel:languages:go
source_package: qubesome
target_project: home:pjbgf:branches:devel:languages:go
target_project: home:pjbgf:ci:devel:languages:go
add_repositories: disable
- configure_repositories:
project: home:pjbgf:ci:devel:languages:go
repositories:
- name: openSUSE_Factory
paths:
- target_project: home:pjbgf:branches:devel:languages:go
target_repository: openSUSE_Factory
architectures:
- x86_64
- aarch64
filters:
event: pull_request

rebuild:
steps:
- trigger_services:
project: home:pjbgf:branches:devel:languages:go
package: qubesome
filters:
event: push
branches:
only:
- main

0 comments on commit 0d8225f

Please sign in to comment.