29 lines
559 B
YAML
29 lines
559 B
YAML
|
# .woodpecker.yml
|
||
|
platform: linux/arm64
|
||
|
|
||
|
pipeline:
|
||
|
build:
|
||
|
image: node:18-alpine
|
||
|
commands:
|
||
|
- apk add git
|
||
|
- npm ci
|
||
|
- mkdir build
|
||
|
- npm run prepublish
|
||
|
- npm run bundleRelease
|
||
|
test:
|
||
|
image: node:18-alpine
|
||
|
commands:
|
||
|
- apk add openssl
|
||
|
- sh genSelfSignedCert.sh
|
||
|
- node tests/ws.js ci
|
||
|
- node tests/post.js ci
|
||
|
|
||
|
|
||
|
services:
|
||
|
database:
|
||
|
image: mariadb
|
||
|
environment:
|
||
|
- MYSQL_DATABASE=outbag
|
||
|
- MYSQL_USER=outbag
|
||
|
- MYSQL_PASSWORD=12345678
|
||
|
- MYSQL_ROOT_PASSWORD=12345678
|