Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci
on:
pull_request:
push:
branches: [main]
branches: [master]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: deploy

on:
push:
branches: [main]
branches: [master]
workflow_dispatch:

permissions:
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# gameplane-website — AI assistant guide

Public marketing + docs site for Gameplane; the `website/` submodule of `GameplanePanel/Gameplane`. Static Astro, strict TypeScript, Tailwind CSS 4, no client framework. Default branch: `main`.
Public marketing + docs site for Gameplane; the `website/` submodule of `GameplanePanel/Gameplane`. Static Astro, strict TypeScript, Tailwind CSS 4, no client framework. Default branch: `master`.

## House rules

- **Design-first:** visual source of truth is `website.fig` in this repo, edited only through OpenPencil (desktop app, `openpencil-mcp`, or `openpencil eval -w` from a [ValgulNecron/open-pencil](https://github.com/ValgulNecron/open-pencil) `master` checkout) or Figma; never read or edit the file directly. Update the design first, then regenerate `website-export/` (one `.fig`, JSON and 2x PNG per screen, plus `screens.json` and `parts.json`) with the main repo's `hack/design/fig-export.ts` (`bun fig-export.ts <website>/website.fig <website>/website-export`) in the same commit. Palette follows the main app's HeroUI theme (`web/src/styles/globals.css` in the main repo).
- **CI verifies:** locally only `npm run build` / `npm run check`; never run lint/tests locally. Fix what CI flags; no suppressions or loosened rules.
- **Git:** signed commits (`git commit -s`), conventional prefixes, one logical unit each; one branch per unit of work, PR to `main`, delete branch after merge. Then bump the submodule pointer in the main repo (`git add website`).
- **Git:** signed commits (`git commit -s`), conventional prefixes, one logical unit each; one branch per unit of work, PR to `master`, delete branch after merge. Then bump the submodule pointer in the main repo (`git add website`).
- **TypeScript:** strict; `no-explicit-any` and `no-floating-promises` are errors.
- **Multi-agent work** follows main-repo rules 13/17/18 (batched agents, sliced briefs, one diff review per batch, scripts for mechanical changes).

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This repo is mounted as the `website/` git submodule of the main [Gameplane](htt

## Deployment

Pushes to `main` deploy to GitHub Pages via `.github/workflows/deploy.yaml`. Pull requests are gated by `.github/workflows/ci.yaml` (lint, type-check, build).
Pushes to `master` deploy to GitHub Pages via `.github/workflows/deploy.yaml`. Pull requests are gated by `.github/workflows/ci.yaml` (lint, type-check, build).

The site is served from the root of the custom domain `gameplane.net` (`CUSTOM_DOMAIN` in `src/config.ts`, `public/CNAME`). All internal links go through `withBase()` from `src/lib/url.ts` — never hardcode root-relative hrefs, so unsetting `CUSTOM_DOMAIN` (base path `/website`) keeps working.

Expand Down
2 changes: 1 addition & 1 deletion src/components/docs/DocsEditPageCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface Props {
}

const { slug, githubUrl = "https://github.com/GameplanePanel/website" } = Astro.props;
const editUrl = `${githubUrl}/edit/main/src/content/docs/${slug}.mdx`;
const editUrl = `${githubUrl}/edit/master/src/content/docs/${slug}.mdx`;
---

<div class="rounded-m border border-border bg-card p-5">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ flowchart TD
monq -- "opt-in" --> mon["ServiceMonitor, PodMonitor, PrometheusRule and dashboard ConfigMap"]
```

**Edge channel (latest development):** To track rolling `:edge` images from the `main` branch instead of a released version:
**Edge channel (latest development):** To track rolling `:edge` images from the `master` branch instead of a released version:

```bash
helm upgrade --install gameplane oci://ghcr.io/gameplanepanel/charts/gameplane \
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/upgrades-migrations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Read the notes for every release between your current version and your target. T

- **Breaking: native credential boundary (Kubernetes 1.30+).** The chart needs Kubernetes 1.30 or later with ValidatingAdmissionPolicy and PodSecurity admission enabled. Before upgrading, migrate existing credentials, uploads and module locale ConfigMaps, remove legacy service-account token Secrets, and bind each private HTTP or Git module credential to its exact source URL with the `gameplane.local/http-source-url` or `gameplane.local/git-source-url` annotation. Fresh installs enforce Restricted Pod Security on game namespaces; releases upgraded with `--reuse-values` can keep `podSecurity.enforceRestricted=false`. See [native credential upgrade instructions](https://github.com/GameplanePanel/Gameplane/blob/v0.4.1/docs/install.md#upgrading-native-api-credentials).
- **Breaking: game probes are pod-local.** GameServer and GameTemplate HTTP and TCP probes now reject an explicit host. Remove the host from existing probes before the next rollout. See [CHANGELOG 0.4.1](https://github.com/GameplanePanel/Gameplane/blob/v0.4.1/CHANGELOG.md#041--2026-11-17).
- **Breaking: ARK: Survival Evolved module 2.x.** The module runs the community image `hermsi/ark-server` (module 2.0.0) instead of a Gameplane-built image. The data volume moves to `/app`, and cluster transfers move to a second 1 GiB volume at `/cluster`. Schedule downtime and move existing worlds before adopting 2.x, rename `MAP_NAME` to `SERVER_MAP`, and remove `RCON_PASSWORD`. Use 2.0.1 or later. The image starts as root, so it does not run with `podSecurity.enforceRestricted: true`. See [module upgrade steps](https://github.com/GameplanePanel/module/tree/main/ark-survival-evolved#upgrading-from-1x).
- **Breaking: ARK: Survival Evolved module 2.x.** The module runs the community image `hermsi/ark-server` (module 2.0.0) instead of a Gameplane-built image. The data volume moves to `/app`, and cluster transfers move to a second 1 GiB volume at `/cluster`. Schedule downtime and move existing worlds before adopting 2.x, rename `MAP_NAME` to `SERVER_MAP`, and remove `RCON_PASSWORD`. Use 2.0.1 or later. The image starts as root, so it does not run with `podSecurity.enforceRestricted: true`. See [module upgrade steps](https://github.com/GameplanePanel/module/tree/master/ark-survival-evolved#upgrading-from-1x).
- **SteamCMD games need amd64 workers.** The SteamCMD base image is built for `linux/amd64` only. ARK: Survival Evolved, Mount & Blade II: Bannerlord, Nuclear Option, Squad and The Isle now require amd64 workers. On mixed clusters, set the `kubernetes.io/arch: amd64` node selector on affected GameServers that still use older templates. See [affected games and upgrade steps](https://github.com/GameplanePanel/Gameplane/blob/v0.4.1/containers/README.md#platform-support).
- **Live Minecraft Java backups.** Before upgrading agents that only support the v1 backup endpoint, let active live backups finish and check their `Unquiesced` condition. See [operator upgrade guidance](https://github.com/GameplanePanel/Gameplane/blob/v0.4.1/docs/operator-operations.md#shared-operation-ownership).
- **Game worker policy takes over legacy games.** When the new placement and resource policy takes over an existing game, the operator drains its Pod before applying placement and resource changes. A verified running revision uses its saved stop sequence; an unversioned game uses its Pod termination grace. See [CHANGELOG 0.4.1](https://github.com/GameplanePanel/Gameplane/blob/v0.4.1/CHANGELOG.md#041--2026-11-17).
Expand Down
2 changes: 1 addition & 1 deletion src/pages/compare.astro
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const rows: CompareRow[] = [

<p class="text-center text-[13px] text-muted-foreground">
Gameplane itself is open-source, licensed AGPL-3.0-or-later — see the
<a class="text-foreground underline hover:text-primary" href={`${GITHUB_URL}/blob/main/LICENSE`}
<a class="text-foreground underline hover:text-primary" href={`${GITHUB_URL}/blob/master/LICENSE`}
>license on GitHub</a
>.
</p>
Expand Down