# CI/CD Pipeline for test-comp-3626 # Components will add their build steps below the marker clone: git: image: woodpeckerci/plugin-git settings: depth: 1 steps: # COMPONENT_STEPS_BELOW # Woodpecker CI step for api service # Add this step to your .woodpecker.yml build-api: image: woodpeckerci/plugin-kaniko settings: registry: registry.threesix.ai repo: test-comp-3626/api tags: - latest - ${CI_COMMIT_SHA:0:8} context: . dockerfile: services/api/Dockerfile cache: true skip-tls-verify: true when: branch: main event: push deploy-api: image: bitnami/kubectl:latest commands: - kubectl set image deployment/test-comp-3626-api api=registry.threesix.ai/test-comp-3626/api:${CI_COMMIT_SHA:0:8} -n projects || echo "No deployment found for api, skipping" when: branch: main event: push - Do not remove this marker verify: image: bitnami/kubectl:latest commands: - echo "Pipeline complete for test-comp-3626" - kubectl get deployments -n projects -l app=test-comp-3626 --no-headers || true when: branch: main event: push