Skip to content

Update autosubmission documentation #369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions doc/auto-pkg-submission.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ automatically submitted to the openSUSE Build Service (OBS):

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

This is done via one of the Jenkins workers (external: ci.opensuse.org;
internal: ci.suse.de) that are configured to poll the GitHub repositories.
When a new Git checkin is detected, Jenkins executes
This is done via the Jenkins workers (internal ci.suse.de) or GitHub Action.

The Jenkins is configured to poll the GitHub repositories, the GitHub Action is
triggered on a push to the `master` branch.

When a new Git checkin is detected, both Jenkins and the GitHub Action execute

rake osc:sr

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

## The GitHub Action

The GitHub Action which submits the package to OBS is defined in the
[submit](https://github.com/yast/actions/tree/master/submit) directory in the
[actions](https://github.com/yast/actions) GitHub repository.

The action is reused in all relevant YaST repositories which are submitted to
Factory.

The OBS credentials are defined in the `yast` organization and shared in
selected repositories. If a new repository is added then it must be explicitly
added to the allowed list. See the
[actions](https://github.com/organizations/yast/settings/secrets/actions) GitHub
page (requires administration permissions).
Loading