chore(CI): add OBS workflows

add OBS workflows

log:
This commit is contained in:
tsic404 2023-03-22 10:56:06 +08:00 committed by Gary Wang
parent d1c121667a
commit dcb310c0e2
2 changed files with 45 additions and 1 deletions

44
.obs/workflows.yml Normal file
View File

@ -0,0 +1,44 @@
test_build:
steps:
- link_package:
source_project: deepin:Develop:dde
source_package: %{SCM_REPOSITORY_NAME}
target_project: deepin:CI
- configure_repositories:
project: deepin:CI
repositories:
- name: deepin_develop
paths:
- target_project: deepin:CI
target_repository: deepin_develop
architectures:
- x86_64
- aarch64
- name: debian
paths:
- target_project: deepin:CI
target_repository: debian_sid
architectures:
- x86_64
filters:
event: pull_request
tag_build:
steps:
- branch_package:
source_project: deepin:Develop:dde
source_package: %{SCM_REPOSITORY_NAME}
target_project: deepin:Unstable:dde
filters:
event: tag_push
commit_build:
steps:
- trigger_services:
project: deepin:Develop:dde
package: %{SCM_REPOSITORY_NAME}
filters:
event: push

View File

@ -64,7 +64,7 @@ Copyright: Red Hat Inc.
License: MIT
# ci
Files: .github/* .gitlab-ci.yml
Files: .github/* .gitlab-ci.yml .obs/workflows.yml
Copyright: None
License: CC0-1.0