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
Copy file name to clipboardExpand all lines: CLAUDE.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,14 @@ GitHub template repository for creating new services on the Javabin platform.
8
8
|------|---------|
9
9
|`app.yaml`| Platform service configuration — compute, routing, resources, auth |
10
10
|`Dockerfile`| Multi-stage build (Java/Temurin by default, adapt for your runtime) |
11
+
|`.github/workflows/deploy.yml`| CI entrypoint — calls `javabin.yml` reusable workflow |
11
12
|`README.md`| Starter README with getting-started steps |
12
13
13
14
## How to Use
14
15
15
16
1. Click **"Use this template"** on GitHub to create a new repo under `javaBin/`
16
17
2. Edit `app.yaml` — set your service name, team, compute settings, routing, and any resources
17
-
3.Register your app by opening a PR to [javaBin/registry](https://github.com/javaBin/registry)with `apps/{name}.yaml`
18
+
3.Ensure your team is registered in [javaBin/registry](https://github.com/javaBin/registry)(`teams/{name}.yaml`) and add the repo to your GitHub team
18
19
4. Push to `main` — the platform CI builds, plans, reviews, and deploys automatically
19
20
20
21
## app.yaml Fields
@@ -36,10 +37,10 @@ The default Dockerfile uses `eclipse-temurin:21` for a Java/Maven project. Repla
36
37
37
38
## CI
38
39
39
-
This template does not include a workflow file. The platform's reusable workflow is called from `javaBin/platform/.github/workflows/javabin.yml`. Your repo just needs to be registered — CI is automatic.
40
+
This template includes `.github/workflows/deploy.yml` which calls the platform's reusable workflow `javaBin/platform/.github/workflows/javabin.yml@main`. No additional workflow config needed.
40
41
41
42
## Related
42
43
43
44
-[javaBin/platform](https://github.com/javaBin/platform) — shared infrastructure and reusable modules
44
-
-[javaBin/registry](https://github.com/javaBin/registry) — app and team registration
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ A Javabin platform service.
5
5
## Getting Started
6
6
7
7
1.**Create from template**: Click "Use this template" on GitHub
8
-
2.**Register your app**: Open a PR to [javaBin/registry](https://github.com/javaBin/registry) adding `apps/your-service.yaml`
8
+
2.**Register your team**: If not already registered, open a PR to [javaBin/registry](https://github.com/javaBin/registry) adding `teams/your-team.yaml`, then add this repo to your GitHub team
9
9
3.**Customize `app.yaml`**: Set your service name, team, compute, and routing
10
10
4.**Push to main**: The platform CI pipeline builds, plans, reviews, and deploys automatically
0 commit comments