tree-test-1770068050/.woodpecker.yml
jordan cac59379de
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add app-astro component: landing
2026-02-02 21:34:14 +00:00

49 lines
1.3 KiB
YAML

# CI/CD Pipeline for tree-test-1770068050
# 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 landing Astro app
# Add this step to your .woodpecker.yml
build-landing:
image: woodpeckerci/plugin-kaniko
settings:
registry: registry.threesix.ai
repo: tree-test-1770068050/landing
tags:
- latest
- ${CI_COMMIT_SHA:0:8}
context: .
dockerfile: apps/landing/Dockerfile
cache: true
skip-tls-verify: true
when:
branch: main
event: push
deploy-landing:
image: bitnami/kubectl:latest
commands:
- kubectl set image deployment/tree-test-1770068050-landing landing=registry.threesix.ai/tree-test-1770068050/landing:${CI_COMMIT_SHA:0:8} -n projects || echo "Deployment not found, skipping"
when:
branch: main
event: push
# Do not remove the marker above - component steps are inserted here
verify:
image: bitnami/kubectl:latest
commands:
- echo "Pipeline complete for tree-test-1770068050"
- kubectl get deployments -n projects -l app=tree-test-1770068050 --no-headers || true
when:
branch: main
event: push