Skip to content

Commit c46f882

Browse files
committed
Merge branch 'staging'
Signed-off-by: Andrey Sobolev <[email protected]>
2 parents 0c29f7b + 87586fb commit c46f882

File tree

808 files changed

+48761
-34663
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

808 files changed

+48761
-34663
lines changed

.github/workflows/baseimage.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Docker base image
4+
5+
concurrency:
6+
group: 'service-base'
7+
cancel-in-progress: true
8+
9+
on:
10+
workflow_dispatch:
11+
inputs:
12+
version:
13+
description: 'Version tag for the images'
14+
required: false
15+
default: 'latest'
16+
type: string
17+
18+
jobs:
19+
docker-build:
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 60
22+
steps:
23+
- name: Set up QEMU
24+
uses: docker/setup-qemu-action@v3
25+
- name: Configure docker
26+
uses: crazy-max/ghaction-setup-docker@v3
27+
with:
28+
daemon-config: |
29+
{
30+
"features": {
31+
"containerd-snapshotter": true
32+
}
33+
}
34+
- uses: actions/checkout@v4
35+
with:
36+
fetch-depth: 1
37+
filter: tree:0
38+
39+
- uses: actions/setup-node@v4
40+
with:
41+
node-version-file: '.nvmrc'
42+
- uses: pnpm/action-setup@v4
43+
with:
44+
version: latest
45+
- name: Docker build
46+
run: |
47+
cd ./dev/base-image
48+
./build.sh
49+
env:
50+
DOCKER_CLI_HINTS: false
51+
DOCKER_EXTRA: --platform=linux/amd64,linux/arm64
52+
VERSION: ${{ inputs.version }}
53+
- name: Login to Docker Hub
54+
uses: docker/login-action@v3
55+
with:
56+
username: hardcoreeng
57+
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
58+
- name: Publish base image
59+
env:
60+
DOCKER_CLI_HINTS: false
61+
DOCKER_EXTRA: --platform=linux/amd64,linux/arm64
62+
VERSION: ${{ inputs.version }}
63+
run: |
64+
echo Pushing base image
65+
cd ./dev/base-image
66+
./push.sh
67+

.github/workflows/main.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ jobs:
628628
node ../common/scripts/install-run-rushx.js dist --linux --windows --x64
629629
node ../common/scripts/install-run-rushx.js dist-signed --macos --x64 --arm64
630630
./scripts/copy-publish-artifacts.sh ${{ env.PublishTempFolder}}
631-
- name: Publish distribution assets
631+
- name: Publish distribution assets and version
632632
uses: ryand56/r2-upload-action@latest
633633
with:
634634
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}
@@ -637,29 +637,23 @@ jobs:
637637
r2-bucket: desktop-distro
638638
source-dir: desktop-package/${{ env.PublishTempFolder}}
639639
destination-dir: ./
640-
- name: Publish distribution version
641-
env:
642-
AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
643-
AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
644-
run: |
645-
./desktop-package/scripts/publish-version.sh
646640
- name: Upload MacOS
647-
uses: actions/upload-artifact@v3
641+
uses: actions/upload-artifact@v4
648642
with:
649643
name: Huly-MacOS-x64
650644
path: ./desktop-package/deploy/Huly-macos-*-x64.dmg
651645
- name: Upload MacOS arm64
652-
uses: actions/upload-artifact@v3
646+
uses: actions/upload-artifact@v4
653647
with:
654648
name: Huly-MacOS-arm64
655649
path: ./desktop-package/deploy/Huly-macos-*-arm64.dmg
656650
- name: Upload Windows
657-
uses: actions/upload-artifact@v3
651+
uses: actions/upload-artifact@v4
658652
with:
659653
name: Huly-Windows
660654
path: ./desktop-package/deploy/Huly-windows-*.zip
661655
- name: Upload Linux
662-
uses: actions/upload-artifact@v3
656+
uses: actions/upload-artifact@v4
663657
with:
664658
name: Huly-Linux
665659
path: ./desktop-package/deploy/Huly-linux-*.zip

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,5 @@ dump
107107
**/logs/**
108108
dev/tool/history.json
109109
.aider*
110+
/combined_dependencies
111+
.tmp

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.13
1+
v22

.vscode/launch.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
// "DB_URL": "mongodb://localhost:27017",
4141
// "DB_URL": "postgresql://postgres:example@localhost:5432",
4242
"DB_URL": "postgresql://[email protected]:26257/defaultdb?sslmode=disable",
43+
"GREEN_URL": "http://host.docker.internal:6767?token=secret",
4344
"SERVER_PORT": "3332",
4445
"APM_SERVER_URL2": "http://localhost:8200",
4546
"METRICS_CONSOLE": "false",
@@ -54,7 +55,7 @@
5455
"MODEL_JSON": "${workspaceRoot}/models/all/bundle/model.json",
5556
// "SERVER_PROVIDER":"uweb"
5657
"SERVER_PROVIDER":"ws",
57-
"MODEL_VERSION": "0.6.382",
58+
"MODEL_VERSION": "0.6.421",
5859
// "VERSION": "0.6.289",
5960
"ELASTIC_INDEX_NAME": "local_storage_index",
6061
"UPLOAD_URL": "/files",
@@ -165,7 +166,7 @@
165166
"MINIO_ACCESS_KEY": "minioadmin",
166167
"MINIO_SECRET_KEY": "minioadmin",
167168
"MINIO_ENDPOINT": "localhost",
168-
"MODEL_VERSION": "v0.6.382",
169+
"MODEL_VERSION": "v0.6.421",
169170
"WS_OPERATION": "all+backup",
170171
"BACKUP_STORAGE": "minio|minio?accessKey=minioadmin&secretKey=minioadmin",
171172
"BACKUP_BUCKET": "dev-backups",
@@ -188,6 +189,7 @@
188189
// "DB_URL": "mongodb://localhost:27017",
189190
// "DB_URL": "postgresql://postgres:example@localhost:5432",
190191
"DB_URL": "postgresql://[email protected]:26257/defaultdb?sslmode=disable",
192+
"FULLTEXT_URL": "http://host.docker.internal:4702",
191193
"REGION": "cockroach",
192194
"SERVER_SECRET": "secret",
193195
"TRANSACTOR_URL": "ws://localhost:3332",
@@ -197,7 +199,7 @@
197199
"MINIO_ACCESS_KEY": "minioadmin",
198200
"MINIO_SECRET_KEY": "minioadmin",
199201
"MINIO_ENDPOINT": "localhost",
200-
"MODEL_VERSION": "v0.6.382",
202+
"MODEL_VERSION": "0.6.421",
201203
"WS_OPERATION": "all+backup",
202204
"BACKUP_STORAGE": "minio|minio?accessKey=minioadmin&secretKey=minioadmin",
203205
"BACKUP_BUCKET": "dev-backups",
@@ -255,6 +257,7 @@
255257
"MINIO_SECRET_KEY": "minioadmin",
256258
"MINIO_ENDPOINT": "localhost"
257259
},
260+
"runtimeVersion": "20",
258261
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
259262
"sourceMaps": true,
260263
"cwd": "${workspaceRoot}/pods/collaborator",
@@ -325,7 +328,7 @@
325328
"ACCOUNTS_URL": "http://localhost:3000",
326329
"TELEGRAM_DATABASE": "telegram-service",
327330
"REKONI_URL": "http://localhost:4004",
328-
"MODEL_VERSION": "0.6.382"
331+
"MODEL_VERSION": "0.6.421"
329332
},
330333
"runtimeVersion": "20",
331334
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
@@ -352,7 +355,7 @@
352355
"MONGO_URL": "mongodb://localhost:27017",
353356
"TELEGRAM_DATABASE": "telegram-service",
354357
"REKONI_URL": "http://localhost:4004",
355-
"MODEL_VERSION": "0.6.382"
358+
"MODEL_VERSION": "0.6.421"
356359
},
357360
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
358361
"sourceMaps": true,
@@ -394,9 +397,9 @@
394397
"DB_URL": "mongodb://localhost:27017",
395398
"MODEL_JSON": "${workspaceRoot}/models/all/bundle/model.json",
396399
"SECRET": "secret",
397-
"REGION": "pg",
400+
"REGION": "cockroach",
398401
"BUCKET_NAME":"backups",
399-
"INTERVAL":"30"
402+
"INTERVAL":"43200"
400403
},
401404
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
402405
"showAsyncStacks": true,
@@ -453,6 +456,7 @@
453456
"sourceMaps": true,
454457
"cwd": "${workspaceRoot}/services/github/pod-github",
455458
"protocol": "inspector",
459+
"attachSimplePort": 0,
456460
"outputCapture": "std"
457461
},
458462
{
@@ -589,6 +593,7 @@
589593
},
590594
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
591595
"sourceMaps": true,
596+
"runtimeVersion": "20",
592597
"cwd": "${workspaceRoot}/services/ai-bot/pod-ai-bot",
593598
"protocol": "inspector",
594599
"outputCapture": "std"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,5 +233,5 @@ node ./common/scripts/bump.js -p projectName
233233

234234
This project is tested with BrowserStack.
235235

236-
<sub><sup>&copy; 2024 <a href="https://hardcoreeng.com">Hardcore Engineering Inc</a>.</sup></sub>
236+
<sub><sup>&copy; 2025 <a href="https://hardcoreeng.com">Hardcore Engineering Inc</a>.</sup></sub>
237237

common/config/rush/command-line.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
"name": "docker:build",
203203
"phases": ["_phase:build", "_phase:bundle", "_phase:package", "_phase:docker-build"],
204204
"enableParallelism": true,
205-
"incremental": true
205+
"incremental": true
206206
},
207207
{
208208
"summary": "docker:rebuild",
@@ -238,7 +238,7 @@
238238
"summary": "Build docker with platform",
239239
"description": "use to build all docker containers required for platform",
240240
"safeForSimultaneousRushProcesses": true,
241-
"shellCommand": "rush docker:build -p 20 --to @hcengineering/pod-server --to @hcengineering/pod-front --to @hcengineering/prod --to @hcengineering/pod-account --to @hcengineering/pod-workspace --to @hcengineering/pod-collaborator --to @hcengineering/tool --to @hcengineering/pod-print --to @hcengineering/pod-sign --to @hcengineering/pod-analytics-collector --to @hcengineering/rekoni-service --to @hcengineering/pod-ai-bot --to @hcengineering/import-tool --to @hcengineering/pod-stats --to @hcengineering/pod-fulltext --to @hcengineering/pod-love"
241+
"shellCommand": "rush docker:build -p 20 --to @hcengineering/pod-server --to @hcengineering/pod-front --to @hcengineering/prod --to @hcengineering/pod-account --to @hcengineering/pod-workspace --to @hcengineering/pod-collaborator --to @hcengineering/tool --to @hcengineering/pod-print --to @hcengineering/pod-sign --to @hcengineering/pod-analytics-collector --to @hcengineering/rekoni-service --to @hcengineering/pod-ai-bot --to @hcengineering/import-tool --to @hcengineering/pod-stats --to @hcengineering/pod-fulltext --to @hcengineering/pod-love --to @hcengineering/green"
242242
},
243243
{
244244
"commandKind": "global",

0 commit comments

Comments
 (0)