Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
os:
- windows-2022
- ubuntu-24.04
- macos-14
- macos-15
node-version:
- '20'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ proxy:
services:
cli:
api: 4
image: node:18
image: node:20
command: sleep infinity
ports:
- 5173:5173/http
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
18 changes: 9 additions & 9 deletions builders/postgres.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -53,7 +53,7 @@ services:
```yaml
services:
myservice:
type: postgres
type: postgres:16
portforward: true
```

Expand All @@ -62,7 +62,7 @@ services:
```yaml
services:
myservice:
type: postgres
type: postgres:16
portforward: 5432
```

Expand Down Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
24 changes: 12 additions & 12 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

2 changes: 1 addition & 1 deletion examples/10/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ../..
2 changes: 1 addition & 1 deletion examples/10/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/11/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ../..
2 changes: 1 addition & 1 deletion examples/11/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/12/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ../..
2 changes: 1 addition & 1 deletion examples/12/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/13/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ../..
2 changes: 1 addition & 1 deletion examples/13/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/14/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ../..
2 changes: 1 addition & 1 deletion examples/14/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/15/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ../..
2 changes: 1 addition & 1 deletion examples/15/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/16/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ../..
2 changes: 1 addition & 1 deletion examples/16/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/9.6/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ./../../
"@lando/postgres": ../..
2 changes: 1 addition & 1 deletion examples/9.6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/custom/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ../..
2 changes: 1 addition & 1 deletion examples/custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
13 changes: 9 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
skipPatterns = [ ".rss", ".gif", ".jpg" ]
checkExternal = true



# Sets our asset optimization
[build.processing.css]
bundle = true
Expand All @@ -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"
Expand Down
Loading