Skip to content

Commit

Permalink
Fix the OBS release GitHub Action (#1886)
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak authored Jan 10, 2025
2 parents 908ccfa + 085cbd3 commit 0e934e8
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/obs-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Publish a new version
# - Submit the packages to systemsmanagement:Agama:Devel
# - Submit the packages to the OBS project defined in OBS_PROJECT_RELEASE variable
# at GitHub (in the original repository it is set to systemsmanagement:Agama:Release,
# see https://github.com/agama-project/agama/settings/variables/actions,
# you might change that in forks)
# - Send submit requests

name: Release
Expand All @@ -11,29 +14,35 @@ on:
- v[0-9]*

jobs:
# Note: agama-integration-tests and the Live ISO are currently not submitted
# Note: the Live ISO is currently not submitted

update_rust:
uses: ./.github/workflows/obs-staging-shared.yml
# pass all secrets
secrets: inherit
with:
install_packages: obs-service-cargo_audit obs-service-cargo_vendor
project_name: systemsmanagement:Agama:Devel
package_name: agama
service_file: rust/package/_service

update_web:
uses: ./.github/workflows/obs-staging-shared.yml
# pass all secrets
secrets: inherit
with:
install_packages: obs-service-node_modules
project_name: systemsmanagement:Agama:Devel
package_name: cockpit-agama
package_name: agama-web-ui
service_file: web/package/_service

update_service:
uses: ./.github/workflows/obs-service-shared.yml
# pass all secrets
secrets: inherit

update_products:
uses: ./.github/workflows/obs-staging-shared.yml
# pass all secrets
secrets: inherit
with:
project_name: systemsmanagement:Agama:Devel
package_name: agama-products
service_file: products.d/_service

0 comments on commit 0e934e8

Please sign in to comment.