Skip to content

Commit 536547f

Browse files
authored
Merge branch 'main' into docs/platform-package-kubevirt-disabled-feature-gates
2 parents 2f9937f + e19bd44 commit 536547f

75 files changed

Lines changed: 3521 additions & 313 deletions

File tree

Some content is hidden

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

‎.github/workflows/demo-refresh.yml‎

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# Rebuilds the mocked console demo (static/demo) from upstream cozystack-ui and
2-
# opens a PR with the result. Self-contained: the demo overlay lives in
3-
# demo-src/, the build clones upstream fresh, and the PR is opened in THIS repo
4-
# with the built-in GITHUB_TOKEN — no external tokens, no forks.
1+
# Rebuilds the mocked console demo (static/demo-app) from the console in the
2+
# cozystack monorepo and opens a PR with the result. Self-contained: the demo
3+
# overlay lives in demo-src/, the build clones upstream fresh, and the PR is
4+
# opened in THIS repo with the built-in GITHUB_TOKEN — no external tokens, no
5+
# forks.
56
#
67
# Requires: Settings → Actions → General → "Allow GitHub Actions to create and
78
# approve pull requests" (enabled once). This repo is public, so Actions
@@ -34,23 +35,26 @@ jobs:
3435
cache: pnpm
3536

3637
- name: Build demo from upstream (with smoke gate)
38+
env:
39+
# Label shown in the demo header; bump it with the release line.
40+
DEMO_VERSION: v1.7.0-rc.2
3741
run: bash demo-src/build.sh main
3842

3943
- name: Open a PR if the demo changed
4044
env:
4145
GH_TOKEN: ${{ github.token }}
4246
run: |
43-
if git diff --quiet -- static/demo; then
47+
if git diff --quiet -- static/demo-app; then
4448
echo "No demo changes — nothing to do."
4549
exit 0
4650
fi
4751
BR="demo/refresh-${GITHUB_RUN_ID}"
4852
git config user.name "github-actions[bot]"
4953
git config user.email "github-actions[bot]@users.noreply.github.com"
5054
git checkout -b "$BR"
51-
git add static/demo
52-
git commit --signoff -m "chore(demo): refresh mocked console demo from cozystack-ui"
55+
git add static/demo-app
56+
git commit --signoff -m "chore(demo): refresh mocked console demo from cozystack main"
5357
git push origin "$BR"
5458
gh pr create --base main --head "$BR" --draft \
5559
--title "chore(demo): refresh mocked console demo" \
56-
--body "Automated rebuild of the /demo/ bundle from the current cozystack-ui. The Playwright smoke check (every sidebar/tab screen, no un-mocked API call or page error) passed on this build. Review the Netlify deploy preview, then merge. Not auto-merged."
60+
--body "Automated rebuild of the /demo-app/ bundle from the console in the current cozystack main. The Playwright smoke check (every sidebar/tab screen, no un-mocked API call or page error) passed on this build. Review the Netlify deploy preview, then merge. Not auto-merged."

‎.github/workflows/fetch-telemetry.yml‎

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
name: Fetch Telemetry Data
22

33
on:
4-
# Keep this as a manual telemetry-only backfill path. The monthly OSS Health
5-
# refresh intentionally does not update telemetry while /api/overview differs
6-
# from the Grafana-backed source of truth.
4+
# Runs on the 3rd so the month it publishes is closed and the server has a
5+
# final snapshot of it. This stays its own workflow rather than joining the
6+
# monthly OSS Health job: those datasets come from public APIs, this one from
7+
# our own telemetry server, and a failure there should not hold back the rest.
8+
#
9+
# The /api/overview undercount that kept this manual is fixed — the server
10+
# counts over the period window instead of at an instant (telemetry-server
11+
# 43617cc, 2026-06-30), and its numbers now match what was published by hand
12+
# from Grafana for June.
13+
schedule:
14+
- cron: '0 5 3 * *'
715
workflow_dispatch:
816

917
permissions:
@@ -28,7 +36,22 @@ jobs:
2836
with:
2937
python-version: '3.12'
3038

39+
# Always the previous month: the current one is still open, and the
40+
# server marks a snapshot final only once the month has closed.
41+
- name: Resolve the month to publish
42+
id: period
43+
run: |
44+
# The day before the 1st of this month, rather than "last month":
45+
# that phrasing resolves to the same day number and silently skips a
46+
# month when run on a 29th, 30th or 31st.
47+
previous=$(date -u -d "$(date -u +%Y-%m-01) -1 day" +%Y-%m)
48+
echo "year=${previous%-*}" >> "$GITHUB_OUTPUT"
49+
echo "month=${previous#*-}" >> "$GITHUB_OUTPUT"
50+
3151
- name: Fetch and transform telemetry data
52+
env:
53+
TELEMETRY_YEAR: ${{ steps.period.outputs.year }}
54+
TELEMETRY_MONTH: ${{ steps.period.outputs.month }}
3255
run: python3 hack/fetch_telemetry.py
3356

3457
- name: Check for changes
@@ -48,7 +71,7 @@ jobs:
4871
git add static/oss-health-data/telemetry.json
4972
git branch -D update-telemetry || true
5073
git checkout -b update-telemetry
51-
git commit --signoff -m "[oss-health] Update telemetry snapshot $(date -u +'%Y-%m-%d %H:%M:%S')"
74+
git commit --signoff -m "[oss-health] Update telemetry snapshot for ${{ steps.period.outputs.year }}-${{ steps.period.outputs.month }}"
5275
git push --force --set-upstream origin update-telemetry
5376
5477
- name: Open pull request if not exists

‎.github/workflows/hugo.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ jobs:
8181
uses: actions/upload-pages-artifact@v5
8282
with:
8383
path: ./public
84+
# The action drops dot-entries from the artifact by default, which
85+
# would silently 404 /.well-known/atproto-did. That directory is the
86+
# only hidden entry the build produces.
87+
include-hidden-files: true
8488

8589
# Deployment job
8690
deploy:

0 commit comments

Comments
 (0)