inframan.yaml to the repository. Merging that pull request is your first release.
Before you begin
- A Ready infrastructure with at least one application node pool. See Create an infrastructure.
- GitHub connected, with the app installed on the repository.
- A
Dockerfilefor each service. - Optionally, an active custom domain for each service that should be public. You can add one later.
Create it in the console
1
Start
Go to Applications and click New application.
2
Pick the code
Choose the GitHub account, the GitHub repository and the Branch. Inframan reads the repository while it shows Detecting project structure….If the repository’s
inframan.yaml declares several applications, choose one in Application.3
Name it
Enter the Application name and the Namespace, which defaults to the name. Both are permanent: Inframan uses them to find the application’s workloads, so they can’t change after creation.
4
Choose where it runs
Under Pipelines, every pipeline is selected, each tagged with its infrastructure’s tag. The pipelines you leave selected decide which infrastructures the application is created on and which pushes deploy it. See Pipelines.
5
Review the services
Services shows a card for each service Inframan detected, with its Port, Domain (or None (internal)), Path and start command. Click Configure on a card for its Environment, Scaling and Network settings.Secrets can’t be set here. Add them after creation. See Environment variables and secrets.
6
Open the pull request
Click Open PR for N services, choose the Base branch the pull request should target, and create it.Inframan opens a pull request titled Inframan: register <application> that adds
inframan.yaml to the root of the repository.7
Merge to release
Review the file and merge. The merge is a push to the base branch, so it releases on every selected pipeline whose branch pattern matches it. Watch it on the application’s Deployments tab, or in the commit’s status checks on GitHub.
How services are detected
- With an
inframan.yaml: itsservices:are the application’s services, exactly. An invalid file is refused with the reason, so fix it and push before creating the application. - Without one: Inframan looks for a
Dockerfileand for language files such aspackage.json,go.mod,requirements.txt,Gemfile,pom.xmlandCargo.toml, at the root and one directory down. Two or more directories with these files make a monorepo with one service per directory.
inframan.yaml. See Services and runtimes.
Names
The application name must be lowercase, unique in the instance, and matchapplication: in inframan.yaml. Inframan doesn’t rewrite a name you give it.
Create it with an AI assistant
A connected assistant reads the repository withdetect_repository, then creates the application with create_application from the repository’s inframan.yaml. It refuses a file that’s invalid, or one that leaves out node_pool when the infrastructure has several application pools. See Connect an AI assistant.