ci: use woodpecker kaniko plugin instead of direct executor
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f6a2b61b16
commit
60f98f3c18
@ -2,7 +2,6 @@
|
|||||||
# Builds and deploys rdev-api, rdev-worker, and rdev-claudebox
|
# Builds and deploys rdev-api, rdev-worker, and rdev-claudebox
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- ®istry "registry.threesix.ai"
|
|
||||||
- &when_main
|
- &when_main
|
||||||
branch: main
|
branch: main
|
||||||
event: push
|
event: push
|
||||||
@ -17,43 +16,49 @@ steps:
|
|||||||
|
|
||||||
# Build rdev-api image
|
# Build rdev-api image
|
||||||
build-api:
|
build-api:
|
||||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
image: woodpeckerci/plugin-kaniko
|
||||||
commands:
|
settings:
|
||||||
- /kaniko/executor
|
registry: registry.threesix.ai
|
||||||
--context=/woodpecker/src
|
repo: rdev/api
|
||||||
--dockerfile=Dockerfile.api
|
tags:
|
||||||
--destination=registry.threesix.ai/rdev/api:${CI_COMMIT_SHA:0:8}
|
- latest
|
||||||
--destination=registry.threesix.ai/rdev/api:latest
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
--cache=true
|
context: .
|
||||||
--skip-tls-verify
|
dockerfile: Dockerfile.api
|
||||||
|
cache: true
|
||||||
|
skip_tls_verify: true
|
||||||
when:
|
when:
|
||||||
<<: *when_main
|
<<: *when_main
|
||||||
|
|
||||||
# Build rdev-worker image
|
# Build rdev-worker image
|
||||||
build-worker:
|
build-worker:
|
||||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
image: woodpeckerci/plugin-kaniko
|
||||||
commands:
|
settings:
|
||||||
- /kaniko/executor
|
registry: registry.threesix.ai
|
||||||
--context=/woodpecker/src
|
repo: rdev/worker
|
||||||
--dockerfile=Dockerfile.worker
|
tags:
|
||||||
--destination=registry.threesix.ai/rdev/worker:${CI_COMMIT_SHA:0:8}
|
- latest
|
||||||
--destination=registry.threesix.ai/rdev/worker:latest
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
--cache=true
|
context: .
|
||||||
--skip-tls-verify
|
dockerfile: Dockerfile.worker
|
||||||
|
cache: true
|
||||||
|
skip_tls_verify: true
|
||||||
when:
|
when:
|
||||||
<<: *when_main
|
<<: *when_main
|
||||||
|
|
||||||
# Build rdev-claudebox image
|
# Build rdev-claudebox image
|
||||||
build-claudebox:
|
build-claudebox:
|
||||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
image: woodpeckerci/plugin-kaniko
|
||||||
commands:
|
settings:
|
||||||
- /kaniko/executor
|
registry: registry.threesix.ai
|
||||||
--context=/woodpecker/src
|
repo: rdev/claudebox
|
||||||
--dockerfile=Dockerfile
|
tags:
|
||||||
--destination=registry.threesix.ai/rdev/claudebox:${CI_COMMIT_SHA:0:8}
|
- latest
|
||||||
--destination=registry.threesix.ai/rdev/claudebox:latest
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
--cache=true
|
context: .
|
||||||
--skip-tls-verify
|
dockerfile: Dockerfile
|
||||||
|
cache: true
|
||||||
|
skip_tls_verify: true
|
||||||
when:
|
when:
|
||||||
<<: *when_main
|
<<: *when_main
|
||||||
|
|
||||||
@ -72,4 +77,3 @@ steps:
|
|||||||
- kubectl rollout status statefulset/claudebox -n rdev --timeout=300s
|
- kubectl rollout status statefulset/claudebox -n rdev --timeout=300s
|
||||||
when:
|
when:
|
||||||
<<: *when_main
|
<<: *when_main
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user