Skip to content

@github-actions github-actions released this Jul 27, 2020 · 37 commits to master since this release

See related blog post at:
https://www.amazee.io/blog/post/what-arrived-in-lagoon-1.8.x--a-release-in-three-movements
and also the other releases at
https://github.com/amazeeio/lagoon/releases/tag/v1.8.0
https://github.com/amazeeio/lagoon/releases/tag/v1.8.1

Changes in this release

API & Authentication subsystem

Admin & User Interfaces subsystem

Build & Deploy subsystem

  • Changing twig emptyDir mount to only mount "php" folder @cdchris12 (#2100)

Logging & Reporting subsystem

Base Images & Testing subsystem

  • Update Newrelic to v9.12.0.268 / Update Composer to v1.10.9 @dasrecht (#2099)
  • Removes return statement in custom vcl to allow fallback in order to deal with no-cache/private/no-store @bomoko (#2066)
  • Add PECL Yaml 2.1.0 to the base PHP images @seanhamlin (#2057)

Documentation & Examples / DX subsystem

Automation, Services & Helpers subsystem

Assets 2

@github-actions github-actions released this Jul 13, 2020 · 120 commits to master since this release

See related blog post at:
https://www.amazee.io/blog/post/what-arrived-in-lagoon-1.8.x--a-release-in-three-movements
and also the other releases at
https://github.com/amazeeio/lagoon/releases/tag/v1.8.0
https://github.com/amazeeio/lagoon/releases/tag/v1.8.2

Changes in this release

Admin & User Interfaces subsystem

  • HOTFIX: 1.8.0 - bug fix for BillingCost query, missing sqlClient for Project … @justinlevi (#2061)

Build & Deploy subsystem

  • Use lagoon task system retrying instead of internal retrying @Schnitzel (#2033)
Assets 2

@github-actions github-actions released this Jul 11, 2020 · 131 commits to master since this release

See related blog post at:
https://www.amazee.io/blog/post/what-arrived-in-lagoon-1.8.x--a-release-in-three-movements
and also the other releases at
https://github.com/amazeeio/lagoon/releases/tag/v1.8.1
https://github.com/amazeeio/lagoon/releases/tag/v1.8.2

Changes in this release

API & Authentication subsystem

Admin & User Interfaces subsystem

Build & Deploy subsystem

Metrics & Alerting subsytem

Base Images & Testing subsystem

Documentation & Examples / DX subsystem

Automation, Services & Helpers subsystem

Assets 2

@github-actions github-actions released this Jun 23, 2020 · 257 commits to master since this release

In honor of Urban Müller - https://en.wikipedia.org/wiki/Brainfuck

>++++++++++
[>++++>+++++++>+++++++++++>++++++++++>++++++++++>+++++++++++>++++++++>+++++++++++>++++++++++++>++++++++++>++++++++++++>++++++++>++++++++++>++++++++++++>++++++++++++>++++++++++>+++++++++++><<<<<<<<<<<<<<<<<<-]
>----->---->-->--->->--->---->----->-->+>----->--->--->---->---->+>++++>
<<<<<<<<<<<<<<<<<<
>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.

Changes in this release

Base Images & Testing subsystem

Assets 2

@github-actions github-actions released this Jun 23, 2020 · 260 commits to master since this release

⠀⠀⠀⠀⠀⠀⠀⠀⣴⣶⣿⣿⣿⣿⣿⣿⣶⣦⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣠⣴⣿⣿⠿⠛⠉⢉⣿⣄⠀⠉⠉⠉⠛⠿⣿⣿⣦⣄⠀⠀⠀⠀⠀
⠀⠀⠀⣠⣾⣿⠿⠉⠀⠀⠀⣰⣿⣿⣿⢃⣶⡀⠀⠀⠀⠀⠙⢿⣿⣷⣄⠀⠀⠀
⠀⠀⣴⣿⡟⠃⠀⠀⠀⣰⣶⣮⣝⡻⢡⣿⣿⣿⡆⣀⠀⠀⠀⠀⠙⢿⣿⣦⠀⠀
⠀⣼⣿⡟⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⣷⣮⠹⢋⣾⣿⣷⡄⡀⠀⠀⠀⢻⣿⣧⠀
⢰⣿⡟⠀⠀⠀⢠⣾⣿⣿⡿⠎⣛⣿⣿⡟⣰⣿⣿⡿⢋⣼⣷⡀⠀⠀⠀⢻⣿⡆
⣿⣿⡇⠀⠀⠀⠻⣿⣿⣿⣿⣷⣦⠨⣭⣘⡿⣿⢟⣵⣿⣿⠿⠋⠀⠀⠀⢸⣿⣿
⣿⣿⠀⠀⠀⠀⠀⠙⣿⣿⣿⣿⣿⣷⡘⣿⣿⣷⣝⢿⣿⣵⡇⠀⠀⠀⠀⠀⣿⣿
⣿⣿⡇⠀⠀⠀⠀⠀⠘⢿⣿⣿⣿⣿⣿⡌⢿⣿⣿⣿⣿⣿⠁⠀⠀⠀⠀⢸⣿⣿
⠸⣿⣧⠀⠀⠀⠀⠀⠀⠈⠻⣿⣿⣿⣿⣿⠎⢿⣿⣿⣿⠏⠀⠀⠀⠀⠀⣼⣿⠇
⠀⢻⣿⣧⠀⠀⠀⠀⠀⠀⠀⣹⣿⣿⣿⣿⡆⣾⣿⣿⠃⠀⠀⠀⠀⠀⣼⣿⡟⠀
⠀⠀⠻⣿⣧⡄⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⢃⣿⣿⣿⠀⠀⠀⠀⣠⣼⣿⠟⠀⠀
⠀⠀⠀⠙⢿⣿⣶⣀⠀⠀⢠⣿⣿⣿⣿⣿⢸⣿⣿⣿⠀⠀⣀⣾⣿⡿⠋⠀⠀⠀
⠀⠀⠀⠀⠀⠙⠻⣿⣿⣶⣼⣿⣿⣿⣿⣿⣸⣿⣿⣿⣶⣿⣿⠟.

#BlackLivesMatter

Changes in this release

API & Authentication subsystem

Admin & User Interfaces subsystem

Build & Deploy subsystem

Logging & Reporting subsystem

  • Logging overhaul @smlx (#1959)
  • Make lagoon-logging helm chart OpenShift compatible @smlx (#1918)
  • Add missing builddeploy-kubernetes:complete task to RC notifications @twardnw (#1973)
  • Improve resilience of logs-forwarder @smlx (#1940)

Base Images & Testing subsystem

Documentation & Examples / DX subsystem

Automation, Services & Helpers subsystem

Security subsystem

Assets 2

@github-actions github-actions released this Jun 2, 2020 · 518 commits to master since this release

Drupal 9 support, Lagoon metadata and Trivy scanning

  • The main reason for this release is to ensure that our images and infrastructure are ready to support Drupal 9 on release day. We’ll also be releasing a blog post outlining what we’ve put in place.
  • This release has also added customisable metadata fields to Lagoon projects, contributed by @stooit (and thanks to Salsa Digital) - we’ll expand more on what’s possible with this, and why it’s so important shortly.
  • Also, in big ticket items, we have updated the image and vulnerability scanning component bundled with our Harbor install to use Trivy (instead of Clair). In our tests, Trivy not only detected more vulnerabilities, but was significantly less resource-heavy, and returned faster results - triple win!

Update to v1.6.0

With #1917 landed within Lagoon v1.6.0 we're now labeling all new created OpenShift and Kubernetes Namespaces with two new Labels: lagoon.sh/project and lagoon.sh/environment.
In order to label all existing namespaces please use this script:

#!/usr/bin/env bash

while read PROJECT; do
  echo "Handling lagoon project ${PROJECT}"
  while read LINE; do
    NAMESPACE=$(echo "$LINE" | awk '{print $5}')
    ENVIRONMENT=$(echo "$LINE" | awk '{print $2}')
    if kubectl get ns ${NAMESPACE} &> /dev/null; then
      PATCH="{\"metadata\": {\"labels\": {\"lagoon.sh/project\": \"${PROJECT}\", \"lagoon.sh/environment\": \"${ENVIRONMENT}\"}}}"
      echo "Updating namespace labels for ${NAMESPACE}"
      kubectl patch ns "${NAMESPACE}" -p "${PATCH}"
    else
      echo "${NAMESPACE} not found on this cluster"
    fi
  done < <(lagoon list environments --no-header --project="${PROJECT}")
done < <(lagoon list projects --no-header | awk '{print $2}')

this requires lagoon-cli >=v0.9.1 and kubectl, both fully authenticated against Lagoon and an OpenShift/Kubernetes cluster, run the script for each cluster that is managed by Lagoon.

Changes in this release

API & Authentication subsystem

  • Re-implement JWT generation script using pyjwt @smlx (#1830)
  • Added support to arbitrary project metadata key/value pairs @stooit (#1775)

Admin & User Interfaces subsystem

Build & Deploy subsystem

Logging & Reporting subsystem

Base Images & Testing subsystem

Documentation & Examples / DX subsystem

Automation, Services & Helpers subsystem

Security subsystem

  • Re-implement JWT generation script using pyjwt @smlx (#1830)

Release side notes

Assets 2

@github-actions github-actions released this May 10, 2020 · 627 commits to master since this release

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)
Assets 2
Apr 28, 2020

@github-actions github-actions released this Apr 9, 2020 · 754 commits to master since this release

Changes in this release

API & Authentication subsystem

Build & Deploy subsystem

Logging & Reporting subsystem

  • Fix issue with elasticsearch buffers overflowing in logs-forwarder @smlx (#1738)

Base Images & Testing subsystem

Documentation & Examples / DX subsystem

Automation, Services & Helpers subsystem

Security subsystem

Alternative Release Names

  • Quarantine Edition
  • social distancing edition
  • Flaming Poisoning Raging Sword Of Doom
  • "The One-Four-One"
  • v1.4.1 - six feet / two meters distance
Assets 2

@github-actions github-actions released this Apr 1, 2020 · 801 commits to master since this release

This release marks the first version of Lagoon with support to deploy into Kubernetes. It is though in no way suggested to use this for Kubernetes deployments yet, not every feature of Lagoon is supported and there is no full documentation yet. This will follow with Lagoon 2.0.0 following in the next weeks.

It is though a big step for Lagoon and saying that we are super excited is an understatement. Thanks everybody for their tremendous amount of work.

Changes in this release

Vanilla Kubernetes support

API & Authentication subsystem

Build & Deploy subsystem

Logging & Reporting subsystem

Operators & Provisioning subsystem

Base Images & Testing subsystem

Documentation & Examples / DX subsystem

Automation, Services & Helpers subsystem

Assets 2
You can’t perform that action at this time.