Skip to content

Commit 0481b98

Browse files
committed
fix: lowered symlink max workers to 4 on db init
1 parent 846e816 commit 0481b98

File tree

5 files changed

+126
-98
lines changed

5 files changed

+126
-98
lines changed

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ coverage.xml
1010
.coverage*
1111
*.svg
1212
frontend/node_modules/
13+
bin/
14+
*.bin
1315

1416
.vscode/
1517
.ruff_cache/

.github/workflows/release-please.yaml

+25-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: "Release Please"
1+
name: "Release Please and Notify Discord"
22

33
on:
44
push:
55
branches:
66
- main
77
workflow_dispatch:
8-
8+
99
permissions:
1010
contents: write
1111
pull-requests: write
@@ -15,6 +15,28 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: googleapis/release-please-action@v4
18+
id: release
1819
with:
1920
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
20-
release-type: python
21+
release-type: python
22+
23+
- name: Checkout code
24+
if: ${{ steps.release.outputs.release_created }}
25+
uses: actions/checkout@v4
26+
27+
- name: Install deps
28+
if: ${{ steps.release.outputs.release_created }}
29+
run: sudo apt-get install -y jq curl
30+
31+
- name: Announce release
32+
if: ${{ steps.release.outputs.release_created }}
33+
env:
34+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
35+
VERSION: ${{ steps.release.outputs.tag_name }}
36+
run: |
37+
RELEASE_NOTES=$(awk '/^## Version \[${{ env.VERSION }}\]/ {flag=1; next} /^## Version \[/ {flag=0} flag' CHANGELOG.md)
38+
ANNOUNCEMENT_BODY="🚀🎉 **New Release: Version ${{ env.VERSION }}**${RELEASE_NOTES}"
39+
ESCAPED_BODY=$(echo "$ANNOUNCEMENT_BODY" | jq -Rsa .)
40+
curl -H "Content-Type: application/json" \
41+
-d "{\"content\": $ESCAPED_BODY, \"flags\": 4}" \
42+
$DISCORD_WEBHOOK

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ profile.svg
1313
*.lockb
1414
*.pkl
1515
*.bak
16+
bin/
17+
*.bin
18+
.secrets*
19+
event.json
1620

1721
# Python bytecode / Byte-compiled / optimized / DLL files
1822
__pycache__/

0 commit comments

Comments
 (0)