github uselagoon/lagoon v1.5.0
v1.5.0 - And we thought this is just gonna be a small one

latest releases: v2.21.0, v2.20.1, v2.20.0...
4 years ago

The name of this release says it all: Originally v1.5.0 was expected to have a couple of fixes while we're working on v2.0.0 of Lagoon. But then the Lagoon Gods had something different in mind:

Our security A-12 @smlx found another security issue (on a Friday evening in Australia nonetheless) and so the US team (it being only Friday morning at that time) joined forces. Security bug slayer @cdchris12 with support of rollout strategy consultant @twardnw and pull request review hawk @Schnitzel got a PR formed that used as much as automated update magic as possible, in order to create the least amount of work for any Lagoon Maintainer Magicians out there.
After a couple of hours the PR finally passed (e38818c) and was ready to set sail. As this is a security release, we hot-released fixed images on all Lagoon versions managed by the Lagoon Maintainer Squadron and of course found another bug that was promptly fixed (#1861) and confirmed by master tester @shreddedbacon. While in the same time PR and Issue organizer @tobybellwood made sure that the Lagoon milestones were aligned to the new world order.

Just a couple of hours after the security bug was discovered, the Lagoons are safe again and this release marks the second security release of Lagoon.

Upgrade Instructions

During the release of 1.5.0 (not waiting until the build pod has finished!)

  1. Immediately after keycloak-db has restarted, run:
    mysql -e "SET PASSWORD FOR '$MARIADB_USER'@'%' = PASSWORD('$MARIADB_PASSWORD'); FLUSH PRIVILEGES;"
    
    inside the keycloak-db pod.
  2. Immediately after keycloak-db has restarted, run:
    /rerun_initdb.sh
    
    inside the api-db pod.

Failure to do these two things might cause the api and keycloak pods to not be able to connect to the databases and cause a downtime of Lagoon and a failed build.
To recover: run the two commands in the respective db pods and trigger another Lagoon build.

API & Authentication subsystem

Admin & User Interfaces subsystem

Build & Deploy subsystem

Logging & Reporting subsystem

Base Images & Testing subsystem

Documentation & Examples / DX subsystem

  • Added documentation snippet for generating JWT on command line. @nicksantamaria (#1796)
  • Add Github issue template config with a link to Discussions feature @dan2k3k4 (#1821)

Don't miss a new lagoon release

NewReleases is sending notifications on new releases.