From fc18b2fe6d60c2e9b7dce796075e89b28928dea1 Mon Sep 17 00:00:00 2001 From: lftobs Date: Tue, 9 Jun 2026 11:59:16 +0100 Subject: [PATCH 1/2] chore(scripts): update grafana datasource downloads --- docker-compose.yml | 2 ++ scripts/install.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 076a110..5330439 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -50,6 +50,7 @@ services: - ./workspace:/app/workspace - ./infra/caddy/routes:/caddy/routes - /var/run/docker.sock:/var/run/docker.sock + - railpack-cache:/tmp/railpack depends_on: buildkit: condition: service_started @@ -247,3 +248,4 @@ volumes: prometheus-data: loki-data: grafana-data: + railpack-cache: diff --git a/scripts/install.sh b/scripts/install.sh index 15e5fae..488505b 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -85,7 +85,9 @@ download_configs() { download_if_missing "$BASE_URL/infra/monitoring/$f" "$INSTALL_DIR/infra/monitoring/$f" done - download_if_missing "$BASE_URL/infra/monitoring/grafana/datasources/datasources.yml" "$INSTALL_DIR/infra/monitoring/grafana/datasources/datasources.yml" + for f in loki.yml prometheus.yml; do + download_if_missing "$BASE_URL/infra/monitoring/grafana/datasources/$f" "$INSTALL_DIR/infra/monitoring/grafana/datasources/$f" + done } prompt_config() { From 3a6372ef0c6c02f915736d79e31073abe9d28ddc Mon Sep 17 00:00:00 2001 From: lftobs Date: Fri, 19 Jun 2026 12:56:09 +0100 Subject: [PATCH 2/2] ci(release): extract version-specific notes for releases Update the release workflow to parse the changelog for the current version's notes instead of attaching the entire file. Also, ignore __pycache__ directories in the project. --- .github/workflows/release.yml | 10 +++++++++- .gitignore | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 581fc02..47be652 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,11 +74,19 @@ jobs: cp -r infra/monitoring "$TAR_DIR/infra/" cd "$TAR_DIR" && tar -czf "../dequel-config-${VERSION}.tar.gz" . + - name: Extract changelog entry for this version + run: | + VERSION="${{ steps.version.outputs.VERSION }}" + awk '/^## \['"$VERSION"'\] -/{flag=1; next} /^## \[/{if(flag) exit} flag' CHANGELOG.md > release-notes.md + if [ ! -s release-notes.md ]; then + echo "No changelog entry for v$VERSION, will use auto-generated notes" + fi + - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: name: v${{ steps.version.outputs.VERSION }} - body_path: CHANGELOG.md + body_path: release-notes.md generate_release_notes: true files: | scripts/install.sh diff --git a/.gitignore b/.gitignore index 4578e81..ce8189e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ apps/api/index docker-compose.yml bump.sh scripts/workflow/bump.sh +__pycache__