backupscript/.woodpecker.yml
2023-07-11 10:38:51 +00:00

35 lines
726 B
YAML

pipeline:
requirements:
image: composer
commands:
- composer install --no-dev
run:
image: php:cli-bookworm
commands:
- ./backup show config.example.yml
dependencies:
image: composer
commands:
- composer install
analyze:
image: php:cli-bookworm
commands:
- make analyze
test:
image: php:cli-bookworm
commands:
- apt update
- apt install rclone
- vendor/bin/phpunit tests
document:
image: phpdoc/phpdoc
commands:
- phpdoc run
upload:
image: woodpeckerci/plugin-s3
settings:
bucket: buildserver
source: output/**/*
target: /backupscript/latest/
path_style: true
endpoint: https://s3.jcktrue.dk