You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc4dd5a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AGENTS.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,12 +45,14 @@ Instead, add a "Discovering data" section directing the agent to call `list_data
45
45
46
46
## Branch and deployment workflow
47
47
48
-
**`main` is the live branch.** The `padus` deployment on k8s clones from `main` at pod startup — whatever is on `main` is what runs in production.
48
+
**`main` is the live branch.** The k8s Deployment defined in `k8s/deployment.yaml` clones from `main` at pod startup — whatever is on `main` is what runs in production.
49
+
50
+
> ⚠️ **Read the Deployment name and namespace from `k8s/deployment.yaml` — never copy them from an example in this doc.** Every fork has its own name (the manifest's `metadata.name` / `metadata.namespace`). The commands below reference the manifest file directly (`-f k8s/deployment.yaml`) so you physically cannot restart the wrong app. If you must use `deployment/<name>` form, get `<name>` from the manifest first: `kubectl get -f k8s/deployment.yaml`.
49
51
50
52
Workflow for testing CDN pin updates or config changes:
51
53
1. Create a `test/` branch, make changes, verify jsDelivr serves the new SHA.
52
54
2. Merge the `test/` branch to `main` (fast-forward is fine).
53
-
3. Restart the deployment: `kubectl rollout restart deployment/padus -n biodiversity`
55
+
3. Restart the deployment: `kubectl rollout restart -f k8s/deployment.yaml` (reads name + namespace from the manifest).
54
56
55
57
Do **not** merge to main before verifying the CDN SHA is live — jsDelivr can take up to an hour to index a new tag.
56
58
@@ -70,8 +72,9 @@ The pod's init container clones the GitHub repo at startup. **Push to GitHub fir
0 commit comments