Skip to content

Commit 6cabc37

Browse files
authored
Merge pull request #369 from yast/autosubmit_via_github_actions
Update autosubmission documentation
2 parents 337a114 + 7b206c0 commit 6cabc37

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

doc/auto-pkg-submission.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ automatically submitted to the openSUSE Build Service (OBS):
88

99
- YaST:Head for the OBS (the external OBS instance, build.opensuse.org)
1010

11-
This is done via one of the Jenkins workers (external: ci.opensuse.org;
12-
internal: ci.suse.de) that are configured to poll the GitHub repositories.
13-
When a new Git checkin is detected, Jenkins executes
11+
This is done via the Jenkins workers (internal ci.suse.de) or GitHub Action.
12+
13+
The Jenkins is configured to poll the GitHub repositories, the GitHub Action is
14+
triggered on a push to the `master` branch.
15+
16+
When a new Git checkin is detected, both Jenkins and the GitHub Action execute
1417

1518
rake osc:sr
1619

@@ -95,3 +98,17 @@ version number was increased, the created RPMs are simply deleted (the purpose
9598
was just to check if building and tests were successful), and the tarball,
9699
.spec file etc. generated from the last Git checkin are checked in to OBS.
97100

101+
## The GitHub Action
102+
103+
The GitHub Action which submits the package to OBS is defined in the
104+
[submit](https://github.com/yast/actions/tree/master/submit) directory in the
105+
[actions](https://github.com/yast/actions) GitHub repository.
106+
107+
The action is reused in all relevant YaST repositories which are submitted to
108+
Factory.
109+
110+
The OBS credentials are defined in the `yast` organization and shared in
111+
selected repositories. If a new repository is added then it must be explicitly
112+
added to the allowed list. See the
113+
[actions](https://github.com/organizations/yast/settings/secrets/actions) GitHub
114+
page (requires administration permissions).

0 commit comments

Comments
 (0)