Skip to content

Releases

v0.3.0

v0.3.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Nov 18:57
Immutable release. Only release title and notes can be modified.
v0.3.0
344a58a

Pubgrade 0.3.0, released together with Pubgrade-Sidecar 0.3.0,
adds a GitHub Action that notifies Pubgrade of a new image from a
repository's CI, so that its subscribers roll it out, and a script that
checks a deployment end to end. Admins can now register repositories, users
and subscriptions while registration is closed (API 2.2.0). Its Helm chart's
security contexts are now configurable, so that it deploys on clusters that
reject pods naming a seccomp profile (e.g., CSC Rahti since November 2026).
The documentation includes that of Pubgrade-Sidecar 0.3.0. Until 1.0.0,
releases are pre-releases. Read the chart's security contexts and the notes on
upgrading to API 2.2.0 before upgrading, and see Notify Pubgrade from CI
for the action and Register while registration is closed for the admin headers.

Breaking changes

  • POST /repositories, POST /users/register and POST /subscriptions
    answer 401 to admin headers (X-Super-User-Id,
    X-Super-User-Access-Token) that are invalid: a wrong token, an unknown
    admin or only one of the two headers, whether registration is open or
    closed. Before, these calls ignored the headers; clients that send stale
    admin headers to them must fix or drop them (#127, #128)

Features

  • The composite action actions/notify registers a prebuilt image as a build
    of a repository from CI (POST /repositories/{id}/builds), and Pubgrade
    then notifies the repository's subscriptions. Reference it as
    elixir-cloud-aai/Pubgrade/actions/notify@<commit> # v0.3.0; it needs
    builds switched off (the default) (#88, #115)
  • tests/e2e/check.sh checks a deployed Pubgrade end to end: it subscribes a
    test sidecar, publishes an image and checks that the Deployment rolls it
    out, then removes what it created. If the notification gets no answer or
    a 5xx status, it publishes once more after 5 seconds (#113, #114, #129,
    #130)
  • Admins can register repositories, users and subscriptions while
    registration is closed, with the optional headers X-Super-User-Id and
    X-Super-User-Access-Token on POST /repositories,
    POST /users/register and POST /subscriptions, and register users that
    are verified at once ("verified": true) (API 2.2.0) (#127, #128)

Fixes

  • The chart's security contexts of Pubgrade, the updater and MongoDB are the
    values podSecurityContext and securityContext, with the earlier
    settings as defaults; seccompProfile=null removes the seccomp profile,
    e.g., for CSC Rahti. Don't upgrade from chart 0.2.0 with --reuse-values
    (#111, #112)

Maintenance

  • The weekly scan of the app image latest fails on critical and high
    vulnerabilities that have a fix, as CI and the release workflow do; the
    updater's image stays report-only (#108, #109)
  • Only a new commit of a pull request cancels its CI runs in progress (#110)
  • Dependabot labels all its pull requests with type: dependencies (#116,
    #117)
  • The release workflow publishes these curated notes followed by GitHub's
    generated notes (#125, #123)
  • Dependency updates (#96, #97, #98, #118, #119, #120, #121, #122)
  • Prepare the 0.3.0 release, with the documentation of Pubgrade-Sidecar 0.3.0
    and its image as the default of the end-to-end check (#126, #124), and
    refresh it for 2026-11-20, with the README badges aligned with those of the
    organization's other services (#131, #132)

Commits

Full Changelog: v0.2.0...v0.3.0

v0.2.0

v0.2.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:12
Immutable release. Only release title and notes can be modified.
v0.2.0
3247d37

Pubgrade 0.2.0 is the first release of Pubgrade (Publish-Upgrade), a publish-subscribe service that notifies deployments of new images of the software they run. A repository's CI publishes a new image (prebuilt, from any OCI registry, or built by Pubgrade), Pubgrade notifies all subscribers of the repository at the same time and records the result per subscriber, and Pubgrade-Sidecar (released as Pubgrade-Sidecar 0.2.0) rolls out the image next to a Kubernetes Deployment. The app, its images elixircloud/pubgrade and elixircloud/pubgrade-updater and its Helm chart share one version (0.2.0, following the chart's earlier 0.2.0); images and chart are signed and come with provenance attestations. It runs on FOCA 0.22 and Python 3.13. Deployments of the earlier, unreleased images (FOCA 0.7) need the steps in Upgrading to FOCA 0.22 (API 2.0.0) of the deployment guide. Builds by Pubgrade are meant for trusted repositories only (see Builds). Until 1.0.0, releases are pre-releases.

Breaking changes

  • Move to FOCA 0.22 and Python 3.13 (API 2.0.0): own configurations need FOCA's migration steps, character sets take only the documented forms, errors are problem details (#62, #63, #99, #100)
  • Builds with unknown Git refs get a 400 instead of a 500 (#28, #79)

Features

  • Notify subscribers concurrently and record the result per subscriber (#34, #41)
  • Publish prebuilt images without a build (#33, #42)
  • Make the Helm chart deployable on OpenShift (#35, #43)
  • Complete PUT and DELETE of repositories, stopping their builds (#6, #80)
  • Cancel builds, keeping their records (#3, #83)
  • Filter subscriptions by build type (#7, #86)
  • Support any OCI registry, for prebuilt images and as the intermediate registry of builds (#27, #41, #87)
  • Requests that don't match the API's schemas get their invalid fields in errors (with type and code), without the request's values (#99, #100)

Fixes

  • Generate identifiers with Python's secrets module (#69, #70)
  • Keep credentials out of log messages (#64, #65)
  • Compare tokens with hmac.compare_digest (#101, #104)
  • Remove the stored registry token of a build once it has finished or was canceled, also for builds canceled before the update (#102, #104)
  • Complete the subscriptions API (API 2.1.0): required type and value, unknown fields dropped, deletions cleaned up, an empty list instead of a 404, builds only under their repository (#93, #95)
  • Check the steps of builds: GitHub's answer to the signing dispatch (only 204 counts), any repository ID length in the updater, clone directories for URLs of other forms, passwords with colons (#94, #107)

Documentation

  • Documentation on Read the Docs, with the sidecar's docs as a section (#40, #49, #56)
  • Describe the notification of subscribers (#10, #84)
  • Describe services with several images (#4, #85)
  • Builds are for trusted repositories only; quote admin tokens in the configuration (#103, #104)

Maintenance

  • CI workflow with a single gate job, lint, type checks, pyproject.toml, ruff formatting, unit, integration (MongoDB) and upgrade tests (#32, #37, #36, #44, #38, #73, #71, #72, #39, #76, #58, #61)
  • Release and scheduled scan workflows: signed, attested images and chart (#50, #66)
  • Pin the updater image's base, keep it on Python 3.13 (#67, #68, #81, #82)
  • Code owners, citation metadata and Dependabot; no updates that need a newer Python; Dependabot PRs labelled (#48, #53, #59, #60, #89, #90)
  • Remove the overriding pull request template (#77, #78)
  • Temporary scan exceptions for zlib1g of the FOCA 0.21.0 base image, removed with the move to FOCA 0.22.0 (#91, #92, #100)
  • Prepare the 0.2.0 release (#105, #106)

Commits

  • docs: update badges, add logos, minor fixes by @uniqueg in #9
  • Customizable PV info - Added missing mongo PVC by @zagganas in #12
  • Added ingress resource template by @zagganas in #13
  • feat: User management with admin user by @akash2237778 in #11
  • Minor fix by @akash2237778 in #14
  • feature: build complete updater by @akash2237778 in #15
  • feat: image signing; bug fixes by @akash2237778 in #19
  • feat: add Makefile by @akash2237778 in #16
  • tracked file movement on git by @lvarin in #21
  • helm changes by @lvarin in #22
  • feat: Github Action | Build and push image to DockerHub by @akash2237778 in #23
  • ci: add a CI workflow with a gate by @uniqueg in #37
  • feat: notify subscribers concurrently by @uniqueg in #41
  • feat: publish prebuilt images without a build by @uniqueg in #42
  • build(deps): bump requests from 2.32.3 to 2.33.0 in /build-complete-updater by @dependabot[bot] in #45
  • build(deps): bump gunicorn from 20.0.4 to 22.0.0 by @dependabot[bot] in #46
  • chore: add CODEOWNERS, CITATION and Dependabot by @uniqueg in #53
  • feat: make the chart deployable on OpenShift by @uniqueg in #43
  • test: add a two-namespace upgrade test by @uniqueg in #44
  • build(deps): bump the updater-dependencies group in /build-complete-updater with 2 updates by @dependabot[bot] in #55
  • docs: set up documentation on Read the Docs by @uniqueg in #56
  • build: ignore updates that need a newer Python by @uniqueg in #60
  • build(deps): bump the python-dependencies group across 1 directory with 5 updates by @dependabot[bot] in #57
  • test: wait for the sidecars in the upgrade test by @uniqueg in #61
  • build: move to FOCA 0.21 and Python 3.13 by @uniqueg in #63
  • fix: redact credentials in log messages by @uniqueg in #65
  • ci: add release and scheduled scan workflows by @uniqueg in #66
  • build: pin the updater image's base by @uniqueg in #68
  • fix: generate IDs and tokens with secrets by @uniqueg in #70
  • style: apply ruff format and import sorting by @uniqueg in #72
  • ci: add lint, type checks and pyproject.toml by @uniqueg in #73
  • test: add integration tests with MongoDB by @uniqueg in #76
  • chore: remove the overriding PR template by @uniqueg in #78
  • fix: reject unknown Git refs of builds with 400 by @uniqueg in #79
  • feat: complete repository PUT and DELETE by @uniqueg in #80
  • build(deps): bump sigstore/cosign-installer from 4.1.2 to 4.1.3 in the github-actions group across 1 directory by @dependabot[bot] in #75
  • build: keep the updater image on Python 3.13 by @uniqueg in #82
  • feat: cancel builds, keeping their records by @uniqueg in #83
  • docs: describe the notification of subscribers by @uniqueg in #84
  • docs: describe services with several images by @uniqueg in #85
  • feat: filter subscriptions by build type by @uniqueg in #86
  • feat: support any OCI registry by @uniqueg in #87
  • ci: accept zlib1g findings until FOCA 0.22.0 by @uniqueg in #92
  • fix: complete the subscriptions API by @uniqueg in #95
  • ci: label Dependabot PRs by @uniqueg in #90
  • build: bump FOCA to 0.22.0 by @uniqueg in #100
  • fix: compare tokens, drop stored registry tokens by @uniqueg in #104
  • fix: check the steps of builds by @uniqueg in #107
  • build: prepare the 0.2.0 release by @uniqueg in #106

New Contributors

Full Changelog: https://github.com/elixir-cloud-aai/...

Read more