release: 1.2.1

This commit is contained in:
Paul Pan 2023-12-27 22:49:04 +08:00
parent 7414c0cad1
commit aef5b2f3a2
Signed by: Paul
GPG Key ID: D639BDF5BA578AF4
4 changed files with 5 additions and 29 deletions

View File

@ -1 +1 @@
1.2.0
1.2.1

View File

@ -1,6 +1,6 @@
services:
server:
image: git.0x7f.app/woj/woj-server:1.2.0
image: git.0x7f.app/woj/woj-server:1.2.1
restart: unless-stopped
healthcheck:
test: [ "CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:8000/health" ]
@ -33,7 +33,7 @@ services:
- "8000:8000"
runner:
image: git.0x7f.app/woj/woj-runner:1.2.0
image: git.0x7f.app/woj/woj-runner:1.2.1
restart: unless-stopped
command: runner
security_opt:

View File

@ -35,7 +35,7 @@ spec:
spec:
containers:
- name: runner
image: git.0x7f.app/woj/woj-runner:1.2.0
image: git.0x7f.app/woj/woj-runner:1.2.1
imagePullPolicy: IfNotPresent
args:
- runner

View File

@ -18,33 +18,9 @@ spec:
labels:
app: server
spec:
initContainers:
- name: init-server
image: git.0x7f.app/woj/woj-server:1.2.0
imagePullPolicy: IfNotPresent
args:
- migrate
env:
- name: DATABASE_HOST
value: "db-service.woj.svc.cluster.local"
- name: DATABASE_USER
valueFrom:
configMapKeyRef:
name: shared-config
key: POSTGRES_USER
- name: DATABASE_PASSWORD
valueFrom:
configMapKeyRef:
name: shared-config
key: POSTGRES_PASSWORD
- name: DATABASE_NAME
valueFrom:
configMapKeyRef:
name: shared-config
key: POSTGRES_DB
containers:
- name: server
image: git.0x7f.app/woj/woj-server:1.2.0
image: git.0x7f.app/woj/woj-server:1.2.1
imagePullPolicy: IfNotPresent
args:
- server