Getting started¶
From "I have code" to "my application runs in development" in six steps.
1. Get access¶
For everything on the platform you log in to Keycloak with your ONCOnnect account (https://accounts.ccc-onconnect.de). What you can see and do depends on your Keycloak groups:
| Group | Effect |
|---|---|
/apps/<project> |
Developer permissions in the project: create and change components, build, promote, view logs and metrics. Access to the project's test addresses *.test.ccc-onconnect.de. |
any group below /apps or /platform |
Access to the portal https://platform.ccc-onconnect.de |
You request membership in a project group in group management at https://groups.ccc-onconnect.de. No further activation is needed — as soon as you are a member, you have access.
Log in again after joining
Groups are part of the login token. After your groups change, log out once and log in again, otherwise you keep seeing the old state (e.g. a 403 page).
2. Have a project created¶
New projects are created by the platform team. Please provide:
- a short name in lower case (e.g.
kma) — it becomes part of every hostname and cannot be changed later, - a display name and a short description,
- the people who need access.
As soon as the project exists, the platform sets up automatically:
| What | Where |
|---|---|
| Git repository (private, with README) | https://gitlab.ccc-onconnect.de/onconnect/apps/<project> |
| Keycloak group with developer permissions | /apps/<project> |
| One namespace with a resource quota per environment | dp-onconnect-<project>-<environment>-… |
| TLS certificates for all hostnames | <project>.app.…, <project>.development.test.…, <project>.staging.test.… |
| CI credentials for the OpenChoreo API | CI/CD variables OPENCHOREO_CLIENT_ID / OPENCHOREO_CLIENT_SECRET in the repository |
Sign in to https://gitlab.ccc-onconnect.de with your Keycloak account to reach the repository. If you lack access to the repository there, contact the platform team.
3. Add a Dockerfile and workload.yaml to the repository¶
Builds always use a Dockerfile in the repository. Next to it belongs a
workload.yaml that describes which port your application listens on and where
it should be reachable. Minimal:
apiVersion: openchoreo.dev/v1alpha1
metadata:
name: web # name of the component
endpoints:
- name: http
type: HTTP
port: 8080 # port the container listens on
visibility:
- project
- internal # development/staging via *.test.ccc-onconnect.de
- external # production via <project>.app.ccc-onconnect.de
All fields are described in workload.yaml, notes on the Dockerfile in Build.
No secrets in the repository
Passwords, tokens and keys never belong in the repository — not in
workload.yaml either. See Configuration and secrets.
Push both to main.
4. Create a component¶
In the portal under your project → Create Component (or as YAML, see Projects and components):
- Choose the type:
web-applicationfor anything that serves browsers,servicefor APIs. - Build: workflow
dockerfile-builder, repositoryhttps://gitlab.ccc-onconnect.de/onconnect/apps/<project>.git, branchmain, secretgit-<project>(created by the platform team), Dockerfile path./Dockerfile. - Enable Auto Deploy.
- Under Published endpoints, set the path the endpoint appears under — usually
/for a single component.
5. Start the first build¶
In the portal under Component → Build → start build. The build fetches main,
builds the image, stores it in the internal registry and generates the workload from
it. You can follow the progress and the logs of every step in the portal.
6. Check in development¶
After a successful build, the platform deploys the release to development automatically. Your application is then reachable at
— after login and only for members of /apps/<project>. How to continue to staging
and production is described in Deploy and promote.