Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .builder/pipelines/checkout-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Demonstrates #237 runner-side checkout: the job image (eclipse-temurin) has NO git, and there is
# NO `git clone` step — builder's checkout: true clones the repo into the workspace via a git
# init-container before the steps run (GitLab/GitHub model).
name: Checkout demo
on: [manual]
checkout: true
jobs:
show:
image: eclipse-temurin:21-jdk
steps:
- run: |
echo "=== workspace (cloned by builder, not by a step) ==="
ls -la
echo "=== git in this image? (expect: not found) ==="
command -v git || echo "no git in image — checkout still worked"
test -f pom.xml && echo "CHECKOUT OK: pom.xml present"
Loading