Browse documentation
Deploy from CI
Run source deployments without giving CI sandbox infrastructure credentials.
View MarkdownCI should upload agent source to Salambo. It should not build the hosted sandbox image or receive platform registry and sandbox credentials.
Required CI authority
CI needs:
- the Salambo application URL;
- a scoped Salambo API key;
- secret environment variables referenced by
salambo.yaml.
Store these in the organization or repository secret manager.
Example workflow
export SALAMBO_API_KEY="$CI_SALAMBO_API_KEY"
export OPENAI_API_KEY="$CI_OPENAI_API_KEY"
salambo auth set \
--api-url "$SALAMBO_BASE_URL" \
--key "$SALAMBO_API_KEY" \
--profile ci
salambo doctor --profile ci
salambo manifest --path . --json
salambo deploy --profile ci
salambo smoke "CI deployment smoke test" --profile cisalambo doctor checks the same hosted source-deployment contract used by manifest and deploy. It does not require Docker, Compose, or sandbox infrastructure credentials.
Responsibility split
| CI | Hosted deployment worker |
|---|---|
| Validate source and config | Resolve the managed base release |
| Compile the manifest | Generate the managed build context |
| Upload the source archive | Build the sandbox image |
| Create the deployment | Prepare the managed runtime |
| Supply declared provider secrets | Activate the immutable deployment |
Recommended gates
- Run project tests.
- Run
salambo doctorwith the deployment credentials and declared secrets. - Compile the manifest.
- Deploy from a clean commit.
- Wait for the deployment to become ready.
- Run one bounded hosted smoke test.
- Keep the previous deployment available for rollback.
Do not use personal keys for shared CI. Use organization-owned authority with only the required scopes.