Skip to content

[FEATURE] CI/CD Platform Integration Templates #7

@ThePlenkov

Description

@ThePlenkov

CI/CD Platform Integration Templates

Specification Reference: /specs/cicd/abap-cicd-pipeline.md - Platform-Agnostic Design

Overview

Create integration templates and examples for major CI/CD platforms to demonstrate the platform-agnostic capabilities of the ABAP Code Review pipeline.

Platform Support

  • GitLab CI/CD: Complete .gitlab-ci.yml template
  • GitHub Actions: Complete workflow template
  • Azure DevOps: Pipeline template
  • Jenkins: Jenkinsfile template
  • Local Execution: Standalone script examples

GitLab CI/CD Template

abap-code-review:
  stage: quality
  script:
    - adt auth login --service-key $SERVICE_KEY
    - adt import transport $TRANSPORT_ID ./transport-content --format oat
    - adt atc -t $TRANSPORT_ID --format gitlab --output gl-code-quality-report.json
    - adt report generate --transport $TRANSPORT_ID --template summary
  artifacts:
    reports:
      codequality: gl-code-quality-report.json
    paths:
      - transport-content/
      - transport-summary.md

GitHub Actions Template

name: ABAP Code Review
on:
  pull_request:
    types: [opened, synchronize]
jobs:
  abap-quality:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: ABAP Code Review
        run: |
          adt auth login --service-key ${{ secrets.SAP_SERVICE_KEY }}
          adt import transport ${{ env.TRANSPORT_ID }} ./transport-content --format oat
          adt atc -t ${{ env.TRANSPORT_ID }} --format github --output results.sarif
      - name: Upload SARIF
        uses: github/codeql-action/upload-sarif@v2
        with:
          sarif_file: results.sarif

Requirements

  • Complete working templates for each platform
  • Documentation for setup and configuration
  • Environment variable and secret management guidance
  • Integration with platform-specific features (merge requests, pull requests, etc.)
  • Error handling and troubleshooting guides

Acceptance Criteria

  • Templates work out-of-the-box with minimal configuration
  • Clear documentation for each platform
  • Demonstrates environment-aware output formatting
  • Includes best practices for each platform
  • Tested with real CI/CD environments

Dependencies

  • Core pipeline stages implementation
  • Platform-specific output formatters
  • Authentication mechanisms

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions