Skip to content

Instantly share code, notes, and snippets.

@joseivanlopez
Last active July 25, 2023 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joseivanlopez/b239acfe96ddad92a67e489b966f22e7 to your computer and use it in GitHub Desktop.
Save joseivanlopez/b239acfe96ddad92a67e489b966f22e7 to your computer and use it in GitHub Desktop.

Update products and release

Update Agama config

  • Update products in service/etc/agama.yml
  • Use correct repositories for each product
  • Make sure the required patterns are available in the repos
  • Set the correct base_product name. To get it, check the internal name:
zypper addrepo https://updates.suse.com/SUSE/Products/ALP-Dolomite/1.0/x86_64/product/ ALP-Dolomite
zypper products

S  | Repository   | Internal Name | Name                             | Version    | Arch   | Is Base
---+--------------+---------------+----------------------------------+------------+--------+--------
i+ | @System      | openSUSE      | openSUSE Tumbleweed              | 20230709-0 | x86_64 | Yes
   | ALP-Dolomite | ALP-Dolomite  | SUSE ALP Dolomite 1.0 Milestone2 | 1.0-1      | x86_64 | No

Create new version

  • Once the changes are in Staging, create a new tag:
rake tag  # increase version e.g., from 3 to 4
rake tag[3.4] # for hotfix
  • Push the tag and github actions automatically updates Devel project and creates SRs to openSUSE Factory.

Update Agama-live

  • If needed, update filtering to generate a agama.yml for the ALP flavor:
 osc co systemsmanagement:Agama:Staging
 cd systemsmanagement:Agama:Staging/agama-live
 vim config.sh
 osc commit -m "Update filtering"
  • Update version to match agama version.

  • Creates SR to Devel project.

  • Creates SR to ALP installer project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment