diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index eeb1086..5d74fc0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: ci on: pull_request: push: - branches: [main] + branches: [master] permissions: contents: read diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 85fc71a..55e6c13 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -2,7 +2,7 @@ name: deploy on: push: - branches: [main] + branches: [master] workflow_dispatch: permissions: diff --git a/AGENTS.md b/AGENTS.md index 3923015..901f379 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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.fig /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). diff --git a/README.md b/README.md index e5b5160..48f11f8 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/components/docs/DocsEditPageCard.astro b/src/components/docs/DocsEditPageCard.astro index 69e6355..415c21d 100644 --- a/src/components/docs/DocsEditPageCard.astro +++ b/src/components/docs/DocsEditPageCard.astro @@ -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`; ---
diff --git a/src/content/docs/installation.mdx b/src/content/docs/installation.mdx index e092500..c948268 100644 --- a/src/content/docs/installation.mdx +++ b/src/content/docs/installation.mdx @@ -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 \ diff --git a/src/content/docs/upgrades-migrations.mdx b/src/content/docs/upgrades-migrations.mdx index 22258be..0d8fdca 100644 --- a/src/content/docs/upgrades-migrations.mdx +++ b/src/content/docs/upgrades-migrations.mdx @@ -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). diff --git a/src/pages/compare.astro b/src/pages/compare.astro index 193a8e8..85ef534 100644 --- a/src/pages/compare.astro +++ b/src/pages/compare.astro @@ -245,7 +245,7 @@ const rows: CompareRow[] = [

Gameplane itself is open-source, licensed AGPL-3.0-or-later — see the - license on GitHub.