Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update to v0.4.0 #155

Merged
merged 3 commits into from
Oct 17, 2024
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
3 changes: 3 additions & 0 deletions .github/workflows/all-in-one.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: ☀️ AllInOne

on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:


Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/sync-to-oss.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: 🔄 Sync to OSS

on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
inputs:
branch:
description: 'git branch(if not set, will use action trigger branch)'
required: false
default: ''
sync-docker:
description: 'can sync docker-compose.zip'
required: false
Expand All @@ -21,15 +20,9 @@ jobs:
name: Sync to OSS
runs-on: ubuntu-latest
steps:
- name: manual Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
if: ${{ github.event.inputs.branch != '' }}

- name: default Checkout
uses: actions/checkout@v4
if: ${{ github.event.inputs.branch == '' }}

- name: zip docker-compose.zip
run: |
Expand Down
2 changes: 1 addition & 1 deletion charts/collaboration-demo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/collaboration-demo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ image:
repository: release/univer-collaboration-demo
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "5e4ede0"
tag: 0.3.0 # VERSION

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion charts/collaboration-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/collaboration-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ image:
repository: release/univer-collaboration
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 0.3.0 # VERSION
tag: 0.4.0 # VERSION

imagePullSecrets: []
nameOverride: ""
Expand Down
12 changes: 6 additions & 6 deletions charts/univer-stack/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
dependencies:
- name: universer
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
version: 0.1.4
version: 0.1.5
- name: collaboration-server
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
version: 0.1.2
version: 0.1.3
- name: collaboration-demo
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
version: 0.1.2
version: 0.1.3
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 13.4.3
Expand All @@ -28,7 +28,7 @@ dependencies:
version: 0.33.0
- name: worker
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
version: 0.1.1
version: 0.1.2
- name: base
repository: https://istio-release.storage.googleapis.com/charts
version: 1.20.1
Expand All @@ -44,5 +44,5 @@ dependencies:
- name: virtualservicemerge
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
version: 0.1.0
digest: sha256:e8e8484ab3f3fbcede6949bf41f35d4fedb213a3ad10766d075e55095694cbdf
generated: "2024-09-02T14:56:40.273657197+08:00"
digest: sha256:6c21e63d60add9a1550e9e9409f47d2f09eecc16b8b0dd57d959866b063a33fb
generated: "2024-10-14T15:11:26.860805384+08:00"
10 changes: 5 additions & 5 deletions charts/univer-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.3
version: 0.1.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -25,13 +25,13 @@ appVersion: "1.16.0"

dependencies:
- name: universer
version: 0.1.4
version: 0.1.5
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
- name: collaboration-server
version: 0.1.2
version: 0.1.3
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
- name: collaboration-demo
version: 0.1.2
version: 0.1.3
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
condition: collaboration-demo.enabled
- name: postgresql
Expand Down Expand Up @@ -59,7 +59,7 @@ dependencies:
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
condition: temporal.enabled
- name: worker
version: 0.1.1
version: 0.1.2
repository: oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts
- name: base
version: 1.20.1
Expand Down
10 changes: 8 additions & 2 deletions charts/univer-stack/values.mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ univerStack:
securityContext: {}
temporalJob:
image:
registry: docker.io
repository: temporalio/admin-tools
registry: univer-acr-registry.cn-shenzhen.cr.aliyuncs.com
repository: release/temporal-admin-tools
tag: "1.22.4"
pullPolicy: IfNotPresent
backoffLimit: 100
Expand Down Expand Up @@ -115,6 +115,12 @@ mysql:
auth:
rootPassword: mysql
createDatabase: false
password: mysql
image:
registry: univer-acr-registry.cn-shenzhen.cr.aliyuncs.com
repository: release/mysql
tag: "8.0.36-debian-11-r2"
pullPolicy: IfNotPresent
commonAnnotations:
"helm.sh/hook": pre-install
"helm.sh/hook-weight": "-1"
Expand Down
6 changes: 3 additions & 3 deletions charts/univer-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ collaboration-demo:
worker:
image:
repository: release/worker-exchange
tag: 0.3.0 # VERSION
tag: 0.4.0 # VERSION
temporalServer:
host: temporal-frontend:7233
namespace: univer
Expand All @@ -115,8 +115,8 @@ postgresql:
tag: 16.1
pullPolicy: IfNotPresent
commonAnnotations:
"helm.sh/hook": pre-install
"helm.sh/hook-weight": "-1"
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "-100"
metrics:
enabled: true
image:
Expand Down
2 changes: 1 addition & 1 deletion charts/universer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
5 changes: 3 additions & 2 deletions charts/universer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ image:
repository: release/universer
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 0.3.0 # VERSION
tag: 0.4.0 # VERSION

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -165,6 +165,7 @@ config:
enabled: false
defaultShareScope: ""
defaultShareRole: ""
enableObjInherit: false
admin:
userIDs: []
apiLimit:
Expand Down Expand Up @@ -244,7 +245,7 @@ job:
registry: univer-acr-registry.cn-shenzhen.cr.aliyuncs.com
repository: release/universer-sql
pullPolicy: IfNotPresent
tag: "0.0.11"
tag: "0.0.12"

istio:
enabled: false
Expand Down
2 changes: 1 addition & 1 deletion charts/worker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
14 changes: 9 additions & 5 deletions docker-compose/.env
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
EDITION=release

# version
UNIVERSER_VERSION=0.3.0
COLLABORATION_SERVER_VERSION=0.3.0
UNIVER_WORKER_EXCHANGE_VERSION=0.3.0
UNIVER_DEMO_UI_VERSION=latest
UNIVERSER_SQL_VERSION=0.0.11
UNIVERSER_VERSION=0.4.0
COLLABORATION_SERVER_VERSION=0.4.0
UNIVER_WORKER_EXCHANGE_VERSION=0.4.0
UNIVER_DEMO_UI_VERSION=0.4.0
UNIVERSER_SQL_VERSION=0.0.12
POSTGRES_VERSION=16.1
MYSQL_VERSION=8.3.0
RABBITMQ_VERSION=3-management
Expand Down Expand Up @@ -89,6 +89,9 @@ HOST_NGINX_PORT=8000
HOST_MINIO_PORT=19000
HOST_GRAFANA_PORT=13000

# docker network subnet
DOCKER_NETWORK_SUBNET=172.30.0.0/16

# If you want to enable observability, uncomment the following line
# COMPOSE_PROFILES=observability

Expand All @@ -105,6 +108,7 @@ AUTH_OIDC_CALLBACK_URL=
AUTH_PERMISSION_ENABLED=false
AUTH_PERMISSION_DEFAULT_SHARE_SCOPE=
AUTH_PERMISSION_DEFAULT_SHARE_ROLE=
AUTH_PERMISSION_ENABLE_OBJ_INHERIT=false

# usip about
USIP_ENBALED=false
Expand Down
1 change: 1 addition & 0 deletions docker-compose/configs/config.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ auth:
enabled: ${AUTH_PERMISSION_ENABLED}
defaultShareScope: "${AUTH_PERMISSION_DEFAULT_SHARE_SCOPE}"
defaultShareRole: "${AUTH_PERMISSION_DEFAULT_SHARE_ROLE}"
enableObjInherit: ${AUTH_PERMISSION_ENABLE_OBJ_INHERIT}
apiLimit:
method:
tokens: 600
Expand Down
13 changes: 7 additions & 6 deletions docker-compose/docker-compose.db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
- 8000
- 9000
environment:
- NO_PROXY=127.0.0.1,localhost,172.30.0.0/16,univer-temporal,collaboration-server,univer-minio
- NO_PROXY=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET},univer-temporal,collaboration-server,univer-minio
- SERVICE_NAME=Universer
- SERVICE_VERSION=${UNIVERSER_VERSION}
volumes:
Expand Down Expand Up @@ -39,7 +39,7 @@ services:
- USERNAME=${DATABASE_USERNAME}
- PASSWORD=${DATABASE_PASSWORD}
- DATABASE=${DATABASE_DBNAME}
- NO_PROXY=127.0.0.1,localhost,172.30.0.0/16,${DATABASE_HOST}
- NO_PROXY=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET},${DATABASE_HOST}
networks:
- univer
labels:
Expand Down Expand Up @@ -67,7 +67,8 @@ services:
- URL_OF_SNAPSHOT_SERVICE=universer:9000
- SAVE_SHEET_SNAPSHOT_INTERVAL=50
- SAVE_DOC_SNAPSHOT_INTERVAL=50
- no_proxy=127.0.0.1,localhost,172.30.0.0/16,universer
- ENABLE_MUTATION_APPLY_INTERCEPTOR=true
- no_proxy=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET},universer
expose:
- 5002
networks:
Expand Down Expand Up @@ -133,7 +134,7 @@ services:
- POSTGRES_USER=postgres
- POSTGRES_PWD=postgres
- TEMPORAL_CLI_SHOW_STACKS=1
- NO_PROXY=127.0.0.1,localhost,172.30.0.0/16
- NO_PROXY=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET}
volumes:
- ./temporal/dynamicconfig:/etc/temporal/config/dynamicconfig
expose:
Expand Down Expand Up @@ -171,7 +172,7 @@ services:
container_name: univer-worker-exchange
image: univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/release/worker-exchange:${UNIVER_WORKER_EXCHANGE_VERSION}
environment:
- NO_PROXY=127.0.0.1,localhost,172.30.0.0/16,univer-temporal,univer-minio,universer
- NO_PROXY=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET},univer-temporal,univer-minio,universer
- TEMPORAL_SERVER=${TEMPORAL_HOST}:${TEMPORAL_PORT}
- TEMPORAL_NAMESPACE=${TEMPORAL_NAMESPACE}
- SERVICE_NAME=exchange-worker
Expand Down Expand Up @@ -202,7 +203,7 @@ networks:
driver: bridge
ipam:
config:
- subnet: 172.30.0.0/16
- subnet: ${DOCKER_NETWORK_SUBNET}

volumes:
postgres-data:
Expand Down
13 changes: 7 additions & 6 deletions docker-compose/docker-compose.mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
- 8000
- 9000
environment:
- NO_PROXY=127.0.0.1,localhost,172.30.0.0/16,univer-temporal,collaboration-server,univer-minio
- NO_PROXY=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET},univer-temporal,collaboration-server,univer-minio
- SERVICE_NAME=Universer
- SERVICE_VERSION=${UNIVERSER_VERSION}
volumes:
Expand Down Expand Up @@ -41,7 +41,7 @@ services:
- USERNAME=${DATABASE_USERNAME}
- PASSWORD=${DATABASE_PASSWORD}
- DATABASE=${DATABASE_DBNAME}
- NO_PROXY=127.0.0.1,localhost,172.30.0.0/16,${DATABASE_HOST}
- NO_PROXY=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET},${DATABASE_HOST}
networks:
- univer
depends_on:
Expand Down Expand Up @@ -72,7 +72,8 @@ services:
- URL_OF_SNAPSHOT_SERVICE=universer:9000
- SAVE_SHEET_SNAPSHOT_INTERVAL=50
- SAVE_DOC_SNAPSHOT_INTERVAL=50
- no_proxy=127.0.0.1,localhost,172.30.0.0/16,universer
- ENABLE_MUTATION_APPLY_INTERCEPTOR=true
- no_proxy=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET},universer
expose:
- 5002
networks:
Expand Down Expand Up @@ -136,7 +137,7 @@ services:
- MYSQL_USER=${DATABASE_USERNAME}
- MYSQL_PWD=${DATABASE_PASSWORD}
- TEMPORAL_CLI_SHOW_STACKS=1
- NO_PROXY=127.0.0.1,localhost,172.30.0.0/16
- NO_PROXY=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET}
volumes:
- ./temporal/dynamicconfig:/etc/temporal/config/dynamicconfig
expose:
Expand Down Expand Up @@ -174,7 +175,7 @@ services:
container_name: univer-worker-exchange
image: univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/release/worker-exchange:${UNIVER_WORKER_EXCHANGE_VERSION}
environment:
- NO_PROXY=127.0.0.1,localhost,172.30.0.0/16,univer-temporal,univer-minio,universer
- NO_PROXY=127.0.0.1,localhost,${DOCKER_NETWORK_SUBNET},univer-temporal,univer-minio,universer
- TEMPORAL_SERVER=${TEMPORAL_HOST}:${TEMPORAL_PORT}
- TEMPORAL_NAMESPACE=${TEMPORAL_NAMESPACE}
- SERVICE_NAME=exchange-worker
Expand Down Expand Up @@ -205,7 +206,7 @@ networks:
driver: bridge
ipam:
config:
- subnet: 172.30.0.0/16
- subnet: ${DOCKER_NETWORK_SUBNET}

volumes:
mysql-data:
Expand Down
Loading
Loading