From a128fceec02b03fac0acdbf94b20d50a617212bc Mon Sep 17 00:00:00 2001 From: Paul Pan Date: Sat, 6 Jan 2024 20:27:28 +0800 Subject: [PATCH] release: 1.2.2 --- VERSION | 2 +- docker-compose.yml | 4 ++-- resource/deploy/cache.yaml | 3 ++- resource/deploy/db.yaml | 3 ++- resource/deploy/runner.yaml | 2 +- resource/deploy/server.yaml | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/VERSION b/VERSION index 2aa40f5..d2d61a7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.2-dev \ No newline at end of file +1.2.2 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 619c48b..3c412e3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: server: - image: git.0x7f.app/woj/woj-server:1.2.1 + image: git.0x7f.app/woj/woj-server:1.2.2 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.1 + image: git.0x7f.app/woj/woj-runner:1.2.2 restart: unless-stopped command: runner security_opt: diff --git a/resource/deploy/cache.yaml b/resource/deploy/cache.yaml index e58407d..dbd13a4 100644 --- a/resource/deploy/cache.yaml +++ b/resource/deploy/cache.yaml @@ -60,7 +60,8 @@ metadata: labels: app: cache spec: - type: ClusterIP + # for production use ClusterIP + type: LoadBalancer selector: app: cache ports: diff --git a/resource/deploy/db.yaml b/resource/deploy/db.yaml index ee11abb..3decc1f 100644 --- a/resource/deploy/db.yaml +++ b/resource/deploy/db.yaml @@ -70,7 +70,8 @@ metadata: labels: app: db spec: - type: ClusterIP + # for production use ClusterIP + type: LoadBalancer selector: app: db ports: diff --git a/resource/deploy/runner.yaml b/resource/deploy/runner.yaml index e6efb98..8f2bc47 100644 --- a/resource/deploy/runner.yaml +++ b/resource/deploy/runner.yaml @@ -35,7 +35,7 @@ spec: spec: containers: - name: runner - image: git.0x7f.app/woj/woj-runner:1.2.1 + image: git.0x7f.app/woj/woj-runner:1.2.2 imagePullPolicy: IfNotPresent args: - runner diff --git a/resource/deploy/server.yaml b/resource/deploy/server.yaml index 2ecee52..5432a6d 100644 --- a/resource/deploy/server.yaml +++ b/resource/deploy/server.yaml @@ -20,7 +20,7 @@ spec: spec: containers: - name: server - image: git.0x7f.app/woj/woj-server:1.2.1 + image: git.0x7f.app/woj/woj-server:1.2.2 imagePullPolicy: IfNotPresent args: - server