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
4 changes: 2 additions & 2 deletions 5/bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN mkdir /docker-entrypoint-initdb.d

# Set environment variables for IvorySQL
ENV IVORY_MAJOR 5
ENV IVORY_VERSION 5.0
ENV IVORY_VERSION 5.1
ARG USE_CHINA_MIRROR=false

# Use China mirror if specified
Expand Down Expand Up @@ -118,7 +118,7 @@ COPY --from=builder --chown=ivorysql:ivorysql /var/local/ivorysql /var/local/iv
COPY --from=builder --chown=ivorysql:ivorysql /usr/local/bin/gosu /usr/local/bin/gosu

ENV IVORY_MAJOR 5
ENV IVORY_VERSION 5.0
ENV IVORY_VERSION 5.1
ARG USE_CHINA_MIRROR=false
RUN mkdir /docker-entrypoint-initdb.d

Expand Down
4 changes: 2 additions & 2 deletions 5/trixie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN mkdir /docker-entrypoint-initdb.d

# Set environment variables for IvorySQL
ENV IVORY_MAJOR 5
ENV IVORY_VERSION 5.0
ENV IVORY_VERSION 5.1
ARG USE_CHINA_MIRROR=false

# Use China mirror if specified
Expand Down Expand Up @@ -118,7 +118,7 @@ COPY --from=builder --chown=ivorysql:ivorysql /var/local/ivorysql /var/local/iv
COPY --from=builder --chown=ivorysql:ivorysql /usr/local/bin/gosu /usr/local/bin/gosu

ENV IVORY_MAJOR 5
ENV IVORY_VERSION 5.0
ENV IVORY_VERSION 5.1
ARG USE_CHINA_MIRROR=false
RUN mkdir /docker-entrypoint-initdb.d

Expand Down
4 changes: 2 additions & 2 deletions 5/ubi8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN groupadd -g 1000 ivorysql; \
RUN mkdir /docker-entrypoint-initdb.d

ENV IVORY_MAJOR 5
ENV IVORY_VERSION 5.0
ENV IVORY_VERSION 5.1

RUN curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo; \
sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
Expand Down Expand Up @@ -89,7 +89,7 @@ COPY --from=builder --chown=ivorysql:ivorysql /var/local/ivorysql /var/local/ivo
COPY --from=builder --chown=ivorysql:ivorysql /usr/local/bin/gosu /usr/local/bin/gosu

ENV IVORY_MAJOR 5
ENV IVORY_VERSION 5.0
ENV IVORY_VERSION 5.1

RUN mkdir /docker-entrypoint-initdb.d

Expand Down
4 changes: 2 additions & 2 deletions docker-cluster/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM redhat/ubi8:latest as builder

ARG MAJOR_VERSION="5"
ARG FULL_VERSION="5.0"
ARG FULL_VERSION="5.1"

# explicitly set user/group IDs
RUN groupadd -g 1000 ivorysql; \
Expand Down Expand Up @@ -71,7 +71,7 @@ RUN mkdir -p /usr/src/ivorysql; \
FROM redhat/ubi8:latest

ARG MAJOR_VERSION="5"
ARG FULL_VERSION="5.0"
ARG FULL_VERSION="5.1"

RUN groupadd -g 1000 ivorysql; \
useradd -u 1000 -g ivorysql -d /var/local/ivorysql -s /bin/sh ivorysql;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
ivypatroni1:
image: ivorysql/docker-compose-ha-cluster:5.0-4.0.6-ubi8
image: ivorysql/docker-compose-ha-cluster:5.1-4.0.6-ubi8
restart: always
container_name: ivyhac1
user: "ivorysql"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
ivypatroni2:
image: ivorysql/docker-compose-ha-cluster:5.0-4.0.6-ubi8
image: ivorysql/docker-compose-ha-cluster:5.1-4.0.6-ubi8
restart: always
container_name: ivyhac2
user: "ivorysql"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
ivypatroni3:
image: ivorysql/docker-compose-ha-cluster:5.0-4.0.6-ubi8
image: ivorysql/docker-compose-ha-cluster:5.1-4.0.6-ubi8
restart: always
container_name: ivyhac3
user: "ivorysql"
Expand Down
4 changes: 2 additions & 2 deletions docker-cluster/docker-swarm/docker-swarm-ivypatroni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.7'

services:
ivypatroni1:
image: ivorysql/docker-swarm-ha-cluster:5.0-4.0.6-ubi8
image: ivorysql/docker-swarm-ha-cluster:5.1-4.0.6-ubi8
environment:
IVORYSQL_PASSWORD: 123456
PATRONI_SCOPE: hgdb-cluster1
Expand Down Expand Up @@ -31,7 +31,7 @@ services:
- "1521:1521"

ivypatroni2:
image: ivorysql/docker-swarm-ha-cluster:5.0-4.0.6-ubi8
image: ivorysql/docker-swarm-ha-cluster:5.1-4.0.6-ubi8
environment:
IVORYSQL_PASSWORD: 123456
PATRONI_SCOPE: hgdb-cluster1
Expand Down
6 changes: 3 additions & 3 deletions k8s-cluster/ha-cluster/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM redhat/ubi8:latest as builder

ARG MAJOR_VERSION="5"
ARG FULL_VERSION="5.0"
ARG FULL_VERSION="5.1"

# explicitly set user/group IDs
RUN groupadd -g 1000 ivorysql; \
Expand Down Expand Up @@ -71,7 +71,7 @@ RUN mkdir -p /usr/src/ivorysql; \
FROM redhat/ubi8:latest

ARG MAJOR_VERSION="5"
ARG FULL_VERSION="5.0"
ARG FULL_VERSION="5.1"

RUN groupadd -g 1000 ivorysql; \
useradd -u 1000 -g ivorysql -d /var/local/ivorysql -s /bin/sh ivorysql;
Expand Down Expand Up @@ -121,4 +121,4 @@ EXPOSE 5432 5866 1521

USER ivorysql

ENTRYPOINT ["/bin/sh", "/docker-entrypoint.sh"]
ENTRYPOINT ["/bin/sh", "/docker-entrypoint.sh"]
4 changes: 2 additions & 2 deletions k8s-cluster/ha-cluster/helm_charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ applicationName: ivyhac
serviceConfigName: ivorysql-patroni-hac-config
databaseServiceName: ivorysql-patroni-hac
ivyHacReplicaServiceName: ivorysql-patroni-hac-repl
majorVersion: 4
majorVersion: 5
compatibleMode: oracle

image:
repository: ivorysql/k8s-ha-cluster
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "5.0-4.0.6-ubi8"
tag: "5.1-4.0.6-ubi8"

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion k8s-cluster/single/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
spec:
containers:
- name: ivorysql
image: ivorysql/ivorysql:5.0-ubi8
image: ivorysql/ivorysql:5.1-ubi8
imagePullPolicy: IfNotPresent
readinessProbe:
exec:
Expand Down
8 changes: 4 additions & 4 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"arches": [
"amd64"
],
"version": "5.0"
"version": "5.1"
},
"redhat": "ubi8",
"debian": [
Expand All @@ -84,22 +84,22 @@
"amd64",
"arm64v8"
],
"version": "5.0"
"version": "5.1"
},
"trixie": {
"arches": [
"amd64",
"arm64v8"
],
"version": "5.0"
"version": "5.1"
},
"major": 5,
"variants": [
"ubi8",
"bookworm",
"trixie"
],
"version": "5.0"
"version": "5.1"
},
"1": {
"debian": "trixie",
Expand Down