Skip to main content

ankra application

Connect application source repositories to Ankra for analysis, packaging, and deployment.

ankra application add

Add an application by reading a local Git checkout. The command detects the GitHub repository from the selected remote, uses the remote’s default branch when available, and falls back to the current branch. It selects an available GitHub credential automatically when the choice is unambiguous.
Examples
Flags

ankra application branch-files

List the tracked files on the setup branch
Flags

ankra application branches

List the application repository branches
Flags

ankra application chart-versions

List an application’s published chart versions
Flags

ankra application code-security

Show source code security findings
Flags

ankra application container-security

Show container image vulnerability findings
Flags

ankra application delete

Delete an application
Flags

ankra application demo

Deploy, inspect, and stop short-lived demo workspaces for a branch or pull request of an application.

ankra application demo build

Check whether a branch has a demo-ready container image
Flags

ankra application demo config

Read or update the application’s saved demo defaults

ankra application demo config get

Show the saved demo defaults (env, database, migration command, extensions)
Flags

ankra application demo config set

Update the application’s saved demo defaults. The command fetches the current configuration first and applies only the flags you set: —env entries override by name, everything else is carried forward.
Examples
Flags

ankra application demo deploy

Deploy a short-lived demo workspace for a branch or pull request. All flags are optional; only the flags you set are sent, so the backend applies its own defaults for the rest.
Examples
Flags

ankra application demo detail

Show a demo workspace’s record, provisioning steps, and failure detail
Flags

ankra application demo fix

Dispatch the AI pre-setup mission for a failed demo
Flags

ankra application demo list

List the application’s active demo workspaces
Flags

ankra application demo logs

Fetch a bounded tail of the demo container’s logs. One-shot: the command returns after the fetch instead of following the stream.
Flags

ankra application demo stop

Stop and tear down a demo workspace
Flags

ankra application deploy

Deploy a packaged application to a target cluster. The cluster is identified by ID. Use —set key=value (repeatable) to pass deploy inputs declared by the application’s chart.
Examples
Flags

ankra application deployments

List an application’s cluster deployments
Flags

ankra application files

Commit changes to the application’s setup pull request. Each —file maps a repository path to a local file whose contents are uploaded. Use —delete to remove a tracked path.
Examples
Flags

ankra application get

Show an application’s detail
Flags

ankra application installations

List an application’s installation intents
Flags

ankra application jobs

List an application’s platform jobs
Flags

ankra application list

List applications
Flags

ankra application platform

Detect platform operators already present on a target cluster
Flags

ankra application publish-readiness

Report whether the repository can publish to the private Ankra registry
Flags

ankra application pull-request-reviews

Show the AI reviews of the application’s pull requests
Flags

ankra application reconcile

Request an application refresh
Flags

ankra application registry

Inspect and set the container image registry an application publishes to. An application with no declaration publishes into the organisation’s own Ankra registry project. Declare a registry you already operate to have Ankra read image tags, verify builds, and pull demo images from there instead.

ankra application registry clear

Return an application to the organisation’s own Ankra registry. Clears the declaration, so the application publishes into - and is read back from - the organisation’s provisioned registry project again.
Examples
Flags

ankra application registry get

Show the image registry an application publishes to. Reports the stored declaration, whether it is one at all, the host and project it resolves to, and the image repository each component is expected to publish to - so you can compare them against where your builds actually push.
Examples
Flags

ankra application registry set

Point an application at a container image registry you operate. —url is the registry project, as oci://<host>/<project> (the scheme is optional). —credential names an existing registry credential of this organisation; without one Ankra can describe where the images live but cannot read or pull them, so builds keep reporting as never published. Ankra never mints robots for a registry it does not administer, so it will not write your repository’s Actions secrets unless you ask it to with —manage-actions-secrets.
Examples
Flags

ankra application rerun-workflow

Re-trigger a failed workflow run
Flags

ankra application retry

Re-trigger a failed application’s setup
Flags

ankra application upgrade-workflow

Add security scanning steps to the build workflow
Flags

ankra application workflow-run-jobs

List the jobs of a workflow run
Flags

ankra application workflow-runs

List the application’s GitHub Actions workflow runs
Flags