diff --git a/.github/workflows/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index e42d0b0..3183866 100644 --- a/.github/workflows/pr-unit-tests.yml +++ b/.github/workflows/pr-unit-tests.yml @@ -11,7 +11,7 @@ jobs: os: - windows-2022 - ubuntu-24.04 - - macos-14 + - macos-15 node-version: - '20' steps: diff --git a/.lando.yml b/.lando.yml index d43a7fc..dc7042e 100644 --- a/.lando.yml +++ b/.lando.yml @@ -5,7 +5,7 @@ proxy: services: cli: api: 4 - image: node:18 + image: node:20 command: sleep infinity ports: - 5173:5173/http diff --git a/CHANGELOG.md b/CHANGELOG.md index 08a38d8..4839be4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }}) +* Switched images to [bitnamilegacy](https://github.com/bitnami/containers/issues/83267) namespace +* Updated `postgres:16` to `16.6.0` +* Updated `postgres:15` to `15.10.0` +* Updated `postgres:14` to `14.18.0` +* Updated `postgres:13` to `13.18.0` +* Updated `postgres:12` to `12.20.0` +* Updated `postgres:11` to `11.22.0` +* Updated `postgres:10` to `10.23.0` + ## v1.4.4 - [December 7, 2024](https://github.com/lando/postgres/releases/tag/v1.4.4) * Optimized for `midcore` diff --git a/builders/postgres.js b/builders/postgres.js index 200aa3b..091cff1 100644 --- a/builders/postgres.js +++ b/builders/postgres.js @@ -13,14 +13,14 @@ module.exports = { version: '10', supported: ['16', '15', '14', '13', '12', '11', '11.1', '11.0', '10', '10.6.0', '9.6'], pinPairs: { - '16': 'bitnami/postgresql:16.2.0-debian-12-r8', - '15': 'bitnami/postgresql:15.2.0-debian-11-r26', - '14': 'bitnami/postgresql:14.1.0-debian-10-r9', - '13': 'bitnami/postgresql:13.5.0-debian-10-r9', - '12': 'bitnami/postgresql:12.9.0-debian-10-r9', - '11': 'bitnami/postgresql:11.14.0-debian-10-r9', - '10': 'bitnami/postgresql:10.19.0-debian-10-r9', - '9.6': 'bitnami/postgresql:9.6.24-debian-10-r9', + '16': 'bitnamilegacy/postgresql:16.6.0-debian-12-r2', + '15': 'bitnamilegacy/postgresql:15.10.0-debian-12-r2', + '14': 'bitnamilegacy/postgresql:14.18.0-debian-12-r0', + '13': 'bitnamilegacy/postgresql:13.18.0-debian-12-r2', + '12': 'bitnamilegacy/postgresql:12.20.0-debian-12-r26', + '11': 'bitnamilegacy/postgresql:11.22.0-debian-11-r4', + '10': 'bitnamilegacy/postgresql:10.23.0-debian-11-r3', + '9.6': 'bitnamilegacy/postgresql:9.6.24', }, patchesSupported: true, confSrc: path.resolve(__dirname, '..', 'config'), @@ -50,7 +50,7 @@ module.exports = { if (!options.healthcheck) options.healthcheck = require('../utils/get-default-healthcheck')(options); const postgres = { - image: `bitnami/postgresql:${options.version}`, + image: `bitnamilegacy/postgresql:${options.version}`, command: '/launch.sh', environment: { ALLOW_EMPTY_PASSWORD: 'yes', diff --git a/docs/config.md b/docs/config.md index 09966fc..ac1df74 100644 --- a/docs/config.md +++ b/docs/config.md @@ -27,7 +27,7 @@ To upgrade the PostgreSQL major version you need to: ```yaml services: myservice: - type: postgres:14 + type: postgres:16 portforward: false creds: database: database @@ -53,7 +53,7 @@ services: ```yaml services: myservice: - type: postgres + type: postgres:16 portforward: true ``` @@ -62,7 +62,7 @@ services: ```yaml services: myservice: - type: postgres + type: postgres:16 portforward: 5432 ``` @@ -110,7 +110,7 @@ Note that you can put your configuration files anywhere inside your application ```yaml services: myservice: - type: postgres + type: postgres:16 config: database: config/my-custom.conf ``` diff --git a/docs/development.md b/docs/development.md index 1bab6e6..f8c0f48 100644 --- a/docs/development.md +++ b/docs/development.md @@ -13,7 +13,7 @@ At the very least you will need to have the following installed: * [Lando 3.21.0+](https://docs.lando.dev/getting-started/installation.html) preferably installed [from source](https://docs.lando.dev/install/source.html). * [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) -* [Node 18](https://nodejs.org/dist/latest-v18.x/) +* [Node 20](https://nodejs.org/dist/latest-v20.x/) ## Installation diff --git a/docs/index.md b/docs/index.md index f225db8..f072d07 100644 --- a/docs/index.md +++ b/docs/index.md @@ -13,21 +13,21 @@ You can easily add it to your Lando app by adding an entry to the [services](htt ```yaml services: myservice: - type: postgres + type: postgres:16 ``` ## Supported versions -* [16](https://hub.docker.com/r/bitnami/postgresql) -* [15](https://hub.docker.com/r/bitnami/postgresql) -* [14](https://hub.docker.com/r/bitnami/postgresql) -* [13](https://hub.docker.com/r/bitnami/postgresql) -* [12](https://hub.docker.com/r/bitnami/postgresql) -* [11](https://hub.docker.com/r/bitnami/postgresql) -* [11.1.0](https://hub.docker.com/r/bitnami/postgresql) -* **[10](https://hub.docker.com/r/bitnami/postgresql)** **(default)** -* [10.6.0](https://hub.docker.com/r/bitnami/postgresql) -* [9.6](https://hub.docker.com/r/bitnami/postgresql) +* [16](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=16.) +* [15](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=15.) +* [14](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=14.) +* [13](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=13.) +* [12](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=12.) +* [11](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=11.) +* [11.1.0](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=11.1.) +* [10](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=10.) +* [10.6.0](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=10.6.) +* [9.6](https://hub.docker.com/r/bitnamilegacy/postgresql/tags?name=9.6) * [custom](https://docs.lando.dev/services/lando-3.html#overrides) ## Patch versions @@ -44,5 +44,5 @@ services: type: postgres:9.6.11 ``` -But make sure you use one of the available [patch tags](https://hub.docker.com/r/bitnami/postgresql/tags) for the underlying image we are using. +But make sure you use one of the available [patch tags](https://hub.docker.com/r/bitnamilegacy/postgresql/tags) for the underlying image we are using. diff --git a/examples/10/.lando.yml b/examples/10/.lando.yml index 38ae84d..2b2a2d7 100644 --- a/examples/10/.lando.yml +++ b/examples/10/.lando.yml @@ -19,4 +19,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ \ No newline at end of file + "@lando/postgres": ../.. diff --git a/examples/10/README.md b/examples/10/README.md index 9414e5e..dc26f9b 100644 --- a/examples/10/README.md +++ b/examples/10/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/examples/11/.lando.yml b/examples/11/.lando.yml index 2ac033a..a8f3f86 100644 --- a/examples/11/.lando.yml +++ b/examples/11/.lando.yml @@ -19,4 +19,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ \ No newline at end of file + "@lando/postgres": ../.. diff --git a/examples/11/README.md b/examples/11/README.md index 6c66c19..026f736 100644 --- a/examples/11/README.md +++ b/examples/11/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/examples/12/.lando.yml b/examples/12/.lando.yml index 152c0e6..836b386 100644 --- a/examples/12/.lando.yml +++ b/examples/12/.lando.yml @@ -19,4 +19,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ \ No newline at end of file + "@lando/postgres": ../.. diff --git a/examples/12/README.md b/examples/12/README.md index 8342a67..fbc804b 100644 --- a/examples/12/README.md +++ b/examples/12/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/examples/13/.lando.yml b/examples/13/.lando.yml index d2f8310..9e3309d 100644 --- a/examples/13/.lando.yml +++ b/examples/13/.lando.yml @@ -19,4 +19,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ \ No newline at end of file + "@lando/postgres": ../.. diff --git a/examples/13/README.md b/examples/13/README.md index 379fbfc..f87697d 100644 --- a/examples/13/README.md +++ b/examples/13/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/examples/14/.lando.yml b/examples/14/.lando.yml index 8b686b0..f741235 100644 --- a/examples/14/.lando.yml +++ b/examples/14/.lando.yml @@ -19,4 +19,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ \ No newline at end of file + "@lando/postgres": ../.. diff --git a/examples/14/README.md b/examples/14/README.md index d5f0c4e..d840ade 100644 --- a/examples/14/README.md +++ b/examples/14/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/examples/15/.lando.yml b/examples/15/.lando.yml index 7aebbbe..724495f 100644 --- a/examples/15/.lando.yml +++ b/examples/15/.lando.yml @@ -19,4 +19,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ + "@lando/postgres": ../.. diff --git a/examples/15/README.md b/examples/15/README.md index 2e8b32d..25378af 100644 --- a/examples/15/README.md +++ b/examples/15/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/examples/16/.lando.yml b/examples/16/.lando.yml index 05ea3be..77f7b64 100644 --- a/examples/16/.lando.yml +++ b/examples/16/.lando.yml @@ -19,4 +19,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ + "@lando/postgres": ../.. diff --git a/examples/16/README.md b/examples/16/README.md index 485b510..990eb5b 100644 --- a/examples/16/README.md +++ b/examples/16/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/examples/9.6/.lando.yml b/examples/9.6/.lando.yml index 62c4af2..0754dee 100644 --- a/examples/9.6/.lando.yml +++ b/examples/9.6/.lando.yml @@ -21,4 +21,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ \ No newline at end of file + "@lando/postgres": ../.. diff --git a/examples/9.6/README.md b/examples/9.6/README.md index 0aed768..bcf3a8e 100644 --- a/examples/9.6/README.md +++ b/examples/9.6/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/examples/custom/.lando.yml b/examples/custom/.lando.yml index 7aab95f..be03402 100644 --- a/examples/custom/.lando.yml +++ b/examples/custom/.lando.yml @@ -33,4 +33,4 @@ tooling: # This is important because it lets lando know to test against the plugin in this repo # DO NOT REMOVE THIS! plugins: - "@lando/postgres": ./../../ + "@lando/postgres": ../.. diff --git a/examples/custom/README.md b/examples/custom/README.md index 8aa2849..1c4488a 100644 --- a/examples/custom/README.md +++ b/examples/custom/README.md @@ -2,7 +2,7 @@ This example exists primarily to test the following documentation: -* [Postgres Service](https://docs.devwithlando.io/tutorials/postgres.html) +* [Postgres Service](https://docs.lando.dev/plugins/postgres) ## Start up tests diff --git a/netlify.toml b/netlify.toml index 9f6d378..d11a0ca 100644 --- a/netlify.toml +++ b/netlify.toml @@ -14,8 +14,6 @@ skipPatterns = [ ".rss", ".gif", ".jpg" ] checkExternal = true - - # Sets our asset optimization [build.processing.css] bundle = true @@ -41,9 +39,16 @@ [plugins.inputs.audits] output_path = "reports/lighthouse.html" - - # We need this so preview environments and the base site look ok on their own +[[redirects]] + from = "https://lando-postgres.netlify.app" + to = "https://lando-postgres.netlify.app/plugins/postgres/index.html" + status = 301 + force = true +[[redirects]] + from = "https://lando-postgres.netlify.app/*" + to = "https://docs.lando.dev/:splat" + status = 301 [[redirects]] from = "/" to = "/plugins/postgres"