Skip to content

Commit

Permalink
fix: lowered symlink max workers to 4 on db init
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle committed Sep 22, 2024
1 parent 846e816 commit 0481b98
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 98 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ coverage.xml
.coverage*
*.svg
frontend/node_modules/
bin/
*.bin

.vscode/
.ruff_cache/
Expand Down
28 changes: 25 additions & 3 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: "Release Please"
name: "Release Please and Notify Discord"

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: write
pull-requests: write
Expand All @@ -15,6 +15,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: python
release-type: python

- name: Checkout code
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4

- name: Install deps
if: ${{ steps.release.outputs.release_created }}
run: sudo apt-get install -y jq curl

- name: Announce release
if: ${{ steps.release.outputs.release_created }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
VERSION: ${{ steps.release.outputs.tag_name }}
run: |
RELEASE_NOTES=$(awk '/^## Version \[${{ env.VERSION }}\]/ {flag=1; next} /^## Version \[/ {flag=0} flag' CHANGELOG.md)
ANNOUNCEMENT_BODY="🚀🎉 **New Release: Version ${{ env.VERSION }}**${RELEASE_NOTES}"
ESCAPED_BODY=$(echo "$ANNOUNCEMENT_BODY" | jq -Rsa .)
curl -H "Content-Type: application/json" \
-d "{\"content\": $ESCAPED_BODY, \"flags\": 4}" \
$DISCORD_WEBHOOK
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ profile.svg
*.lockb
*.pkl
*.bak
bin/
*.bin
.secrets*
event.json

# Python bytecode / Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
Loading

0 comments on commit 0481b98

Please sign in to comment.