Updated versions and readme

This commit is contained in:
Ramon Bartl 2023-03-11 10:56:39 +01:00
parent 0d3ad43471
commit 1b4910ed41
No known key found for this signature in database
GPG key ID: 359669D35BDDF79B
6 changed files with 29 additions and 13 deletions

View file

@ -4,7 +4,7 @@ FROM python:2.7-slim-buster
# Set one or more individual labels # Set one or more individual labels
LABEL maintainer="Ramon Bartl" LABEL maintainer="Ramon Bartl"
LABEL email="rb@ridingbytes.com" LABEL email="rb@ridingbytes.com"
LABEL senaite.core.version="2.3.0" LABEL senaite.core.version="2.4.0"
# Set environment variables # Set environment variables
ENV PLONE_MAJOR=5.2 \ ENV PLONE_MAJOR=5.2 \

View file

@ -198,6 +198,12 @@ Finally, push the image to Docker Hub:
docker image push senaite/senaite:v2.4.0 docker image push senaite/senaite:v2.4.0
``` ```
### Update the PWD stack
After each new release, the PWD configuration needs to be adapted to the latest version.
Open `stack.yml` and update the image versions to the new released version.
### Further information ### Further information
Please refer to this documentation for further information: Please refer to this documentation for further information:

View file

@ -1,7 +1,3 @@
# Note: Changing the latest PR will force a new buildout run and therefore, a
# new git checkout of the senaite sources!
#
# Latest `senaite.core` PR: #1933
[buildout] [buildout]
index = https://pypi.python.org/simple/ index = https://pypi.python.org/simple/
extends = extends =
@ -24,6 +20,8 @@ parts +=
eggs += eggs +=
senaite.lims senaite.lims
senaite.databox
senaite.storage
sources = sources sources = sources
auto-checkout = * auto-checkout = *
@ -37,6 +35,8 @@ senaite.databox = git https://github.com/senaite/senaite.databox.git branch=mast
senaite.impress = git https://github.com/senaite/senaite.impress.git branch=2.x senaite.impress = git https://github.com/senaite/senaite.impress.git branch=2.x
senaite.jsonapi = git https://github.com/senaite/senaite.jsonapi.git branch=2.x senaite.jsonapi = git https://github.com/senaite/senaite.jsonapi.git branch=2.x
senaite.lims = git https://github.com/senaite/senaite.lims.git branch=2.x senaite.lims = git https://github.com/senaite/senaite.lims.git branch=2.x
senaite.databox = git https://github.com/senaite/senaite.databox.git branch=master
senaite.storage = git https://github.com/senaite/senaite.storage.git branch=2.x
[client1] [client1]
recipe = recipe =

View file

@ -3,13 +3,13 @@ version: "3.9"
services: services:
zeo: zeo:
image: senaite/senaite:edge image: senaite/senaite:2.x
command: zeo command: zeo
volumes: volumes:
- ./data:/data - ./data:/data
instance1: instance1:
image: senaite/senaite:edge image: senaite/senaite:2.x
ports: ports:
- 8081:8080 - 8081:8080
links: links:
@ -18,12 +18,12 @@ services:
resources: resources:
limits: limits:
cpus: "1" cpus: "1"
memory: 500MB memory: 1024MB
environment: environment:
ZEO_ADDRESS: "zeo:8080" ZEO_ADDRESS: "zeo:8080"
instance2: instance2:
image: senaite/senaite:edge image: senaite/senaite:2.x
ports: ports:
- 8082:8080 - 8082:8080
links: links:
@ -32,7 +32,7 @@ services:
resources: resources:
limits: limits:
cpus: "1" cpus: "1"
memory: 500MB memory: 1024MB
environment: environment:
ZEO_ADDRESS: "zeo:8080" ZEO_ADDRESS: "zeo:8080"

View file

@ -1 +1 @@
-r https://dist.plone.org/release/5.2.9/requirements.txt -r https://dist.plone.org/release/5.2.11/requirements.txt

View file

@ -1,7 +1,17 @@
version: "3" version: "3"
services: services:
senaite: zeo:
image: senaite/senaite:v2.2.0 image: senaite/senaite:2.4.0
command: zeo
volumes:
- ./data:/data
instance:
image: senaite/senaite:v2.4.0
restart: "unless-stopped" restart: "unless-stopped"
ports: ports:
- "8080:8080" - "8080:8080"
volumes:
data:
external: true