Cutting a Release

Every 6 months, a new OmniOS stable release is made. Since it is not a frequent occurence, this page records the required tasks.

Create repositories

Create the new package repositories on the OOCE package server using the create_release script.

ooce# /pkg/create_release r151028
Creating release r151028 (28)
  core (omnios/core) @ 10028
  extra (extra.omnios/supplemental) @ 10228
  staging (omnios/core) @ 10128

pkg/server

Check pkg/server status

ooce# svcs '*/pkg/server:r151028*'
STATE          STIME    FMRI
online         12:55:22 svc:/application/pkg/server:r151028_core
online         12:55:24 svc:/application/pkg/server:r151028_extra
online         12:55:27 svc:/application/pkg/server:r151028_staging

nginx

Test the configuration and, if everything is ok, reload.

ooce# /opt/ooce/nginx-*/sbin/nginx -t
nginx: the configuration file /etc/opt/ooce/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/opt/ooce/nginx/nginx.conf test is successful
ooce# /opt/ooce/nginx-*/sbin/nginx -s reload

Test web browsing to the release, for example - https://pkg.omniosce.org/r151028

Create branches

For each of the following repositories, create a branch for the new release - r1510nn - and create a PR to update the indicated files. Set up branch protection in github using the previous branch as a template

illumos-omnios

  • usr/src/tools/env/omnios-illumos-gate.sh
  • usr/src/tools/env/omnios-illumos-omnios.sh

illumos-kvm

No files to update in this repository; just create the new branch.

illumos-kvm-cmd

No files to update in this repository; just create the new branch.

omnios-build

  • lib/config.sh - RELVER
  • tools/test - remove check against doc/packages
  • doc/packages.md - remove

pkg5

No files to update in this repository; just create the new branch.

kayak

  • build/build_miniroot - change bloody to r1510nn
  • build/build_zfs_send - change bloody to r1510nn

Update Master Branches

illumos-omnios

  • usr/src/tools/env/omnios-illumos-omnios.sh - ONNV_BUILDNUM

omnios-build

  • lib/config.sh

omnios-extra

  • lib/config.sh

Release Testing Checklist

Installation

  • Upgrade from LTS
  • Upgrade from previous stable

  • ISO installation
  • USB installation
  • PXE installation via pxegrub
  • PXE installation via loader

TBC…

Updates Upon Release (website)

  • _config.yml
  • releasenotes.md
  • schedule.md