Add .woodpecker.yml from template
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
This commit is contained in:
parent
b4ec6fe425
commit
3e7ca237e5
36
.woodpecker.yml
Normal file
36
.woodpecker.yml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
steps:
|
||||||
|
install:
|
||||||
|
image: node:20-alpine
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
when:
|
||||||
|
- event: [push, pull_request]
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: node:20-alpine
|
||||||
|
commands:
|
||||||
|
- npm run build
|
||||||
|
when:
|
||||||
|
- event: [push, pull_request]
|
||||||
|
|
||||||
|
docker:
|
||||||
|
image: woodpeckerci/plugin-kaniko
|
||||||
|
settings:
|
||||||
|
registry: registry.threesix.ai
|
||||||
|
repo: "e2e-fix-1061"
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
|
cache: true
|
||||||
|
skip-tls-verify: true
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: bitnami/kubectl:latest
|
||||||
|
commands:
|
||||||
|
- kubectl set image deployment/e2e-fix-1061 e2e-fix-1061=registry.threesix.ai/e2e-fix-1061:${CI_COMMIT_SHA:0:8} -n projects
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
Loading…
Reference in New Issue
Block a user