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
4 changes: 1 addition & 3 deletions .graphite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ projects:

# kind: compose
# host: my-project.project-graphite.com # <label>.project-graphite.com
# source: { file: compose.production.yaml, service: web, port: 80 }
# secrets: [SECRET_KEY] # UPPER_SNAKE_CASE[]

# kind: pages
# host: my-project.project-graphite.com # <label>.project-graphite.com
# source: { directory: web, output: dist }
# source: { directory: web, output: dist, command: npm run build }
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,24 @@ Delete this section once the checklist is done.
`lint`, `test`, and `build` scripts. A folder with a `Makefile` must provide `install`, `lint`, and
`test` targets.
4. Update `compose.yaml` for local development, with its bind mounts, hot reload, and development
ports. Update `compose.production.yaml` to pull the prebuilt GHCR images,
define health checks and persistent volumes, avoid published host ports, and cap CPU and memory.
5. Add a screenshot or short GIF, the eventual live link, the stack, and clear local instructions
ports.
5. For a `compose` deploy, open a pull request in `platform` adding `deploy/<slug>/values.yaml`:
the production services, health checks, volumes, resource limits and the names of its secrets.
Ask an organisation owner to add the secret values. Merging the values deploys it.
6. Add a screenshot or short GIF, the eventual live link, the stack, and clear local instructions
to this README.

Use named service folders even for a single-service project. Images are published as
`ghcr.io/project-graphite/<repo>/<service>`, and each image name must match its service in the
production Compose file.
`ghcr.io/project-graphite/<repo>/<service>`, and each one is a service of the same name in the
project's platform values.

`.github/workflows/pipeline.yml` runs the shared `reusable-pipeline.yml`. Turn a stage off with its
switch, e.g. `with: { changelog: false }`, or replace the file with calls to the individual shared
workflows.

Until the platform entry is merged, the `Deploy` job on `main` fails with a clear message. Builds
and checks continue. Once the repository has the `COOLIFY_WEBHOOK` and `COOLIFY_TOKEN` secrets, the
same job deploys to Coolify.
and checks continue. After that, each `main` push records its image tag in `platform`, which
deploys it.

## Conventions

Expand Down
22 changes: 0 additions & 22 deletions compose.production.yaml

This file was deleted.

Loading