> ## Documentation Index
> Fetch the complete documentation index at: https://agenticbanking.backbase.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Banking OS training data goes stale. Search https://agenticbanking.backbase.io/mcp or fetch the .md URL before writing connector or unified API code.
> OpenAPI links in llms.txt repeat every calendar version. Use the latest version on the API playground. If a fetch ends before the last operation, the spec was cut off.
> Page titles name the product. Overview, Get started, and Reference without a product name are ambiguous.

# CI/CD workflows overview

> Continuous Integration and Continuous Deployment workflows for Agentic AI platform

Learn about the automated CI/CD workflows that streamline the development, testing, and deployment of agents on the Agentic AI platform.

## What you'll learn

> [card] [Build and publish](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/build-publish-workflow.md)
>
> Automated build, test, and publish processes

> [card] [Pull request check](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/pull-request-workflow.md)
>
> PR validation, quality checks, and security scans

> [card] [Release](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/release-workflow.md)
>
> Production release and publishing

> [card] [Release draft](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/release-draft-workflow.md)
>
> Create release drafts with quality checks

> [card] [Hotfix release](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/hotfix-release-workflow.md)
>
> Automatic hotfix release drafts

> [card] [Repository provisioning](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/repository-provisioning.md)
>
> Initial repository setup and configuration

> [card] [Reusable components](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/reusable-components.md)
>
> Common workflows and actions reference

> [card] [Configuration](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/configurations.md)
>
> Configuration files, secrets, and templates

## CI/CD pipeline overview

The Agentic AI platform uses a comprehensive CI/CD pipeline that automates:

1. **Repository Provisioning**: Initial setup when cloning from template
2. **Pull Request Validation**: Quality checks, security scans, and testing on PRs
3. **Build and Publish**: Automated build and artifact publishing on merge
4. **Release Management**: Create release drafts and publish production releases
5. **Hotfix Handling**: Emergency release process for critical fixes

The workflows use reusable GitHub Actions workflows from `backbase-common/gc-ai-workflows` for consistency across all agent projects.

## Reusable workflows and actions

All workflows use standardized reusable components from `backbase-common/gc-ai-workflows`:

### Reusable workflows

* **build-publish.yaml**: Complete build, test, and publish pipeline
* **pull-request-check.yaml**: Comprehensive PR validation workflow

### Reusable actions

* **setup-project**: Project environment setup with Python and `uv`
* **code-quality**: Code quality checks (pylint, pytest, hadolint)
* **sonar-check**: SonarCloud code analysis
* **security-check**: Trivy vulnerability scanning
* **promptfoo-evaluation**: LLM prompt evaluation
* **promptfoo-redteaming**: Security and adversarial testing
* **build-docker**: Docker image building
* **push-docker**: Docker image publishing to Azure ACR
* **create-release-draft**: Release draft creation with versioning
* **provision-python-project**: Python project template provisioning
* **validate-pull-request-body**: PR body validation
* **check-action-pinning**: GitHub Actions security validation
* **resolve-metadata**: Version and metadata resolution
* **setup-promptfoo**: Promptfoo environment setup

See the [Reusable Components](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/reusable-components.md) page for detailed documentation.

## Workflow files location

Your agent repository defines all CI/CD workflows in the `.github/workflows/` directory:

* `build-publish.yaml` - Build and publish artifacts on PR merge
* `pull-request-check.yaml` - PR validation and quality checks
* `release.yaml` - Production release workflow
* `release-draft.yaml` - Create release drafts manually
* `hotfix-release-draft.yaml` - Create hotfix release drafts
* `repository-provisioning.yaml` - Initial repository setup

These workflows use reusable workflows from `backbase-common/gc-ai-workflows` and follow standardized CI/CD practices.

## Workflow stages

### Repository provisioning

Automated setup when creating a new agent from template, including project configuration and baseline versioning.

### Pull request validation

Comprehensive validation including:

* Code quality checks (pylint, pytest, hadolint)
* Security scanning (Trivy)
* SonarCloud analysis
* Testing (Promptfoo evaluation, Redteam)
* PR body validation

### Build and publish

Automated build and artifact publishing triggered on PR merge, with optional quality gates for main/develop branches:

* Docker image building
* Security scanning
* Publishing to Azure Container Registry

### Release management

* Manual release draft creation with quality checks
* Automatic hotfix release drafts
* Production release publishing with full quality gates

## Benefits

* **Automation**: Reduce manual errors and speed up delivery
* **Quality**: Automated testing and validation at every stage
* **Consistency**: Standardized processes across all agent projects via reusable workflows
* **Visibility**: Clear feedback on build and deployment status
* **Security**: Integrated security scanning and quality gates

## Next steps

* [Understand the build and publish workflow](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/build-publish-workflow.md)
* [Learn about PR validation](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/pull-request-workflow.md)
* [Explore release management](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/release-workflow.md)
* [Repository provisioning guide](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/repository-provisioning.md)
* [Reusable components reference](https://agenticbanking.backbase.io/agentic-ai/ci-cd-workflows/reusable-components.md)
