2023-05-31 09:07:39 +00:00
|
|
|
pipeline:
|
|
|
|
requirements:
|
|
|
|
image: composer
|
|
|
|
commands:
|
2023-05-31 09:42:39 +00:00
|
|
|
- composer install --no-dev
|
|
|
|
run:
|
2023-06-15 14:10:17 +00:00
|
|
|
image: php:cli-bookworm
|
2023-05-31 09:07:39 +00:00
|
|
|
commands:
|
2023-05-31 09:42:39 +00:00
|
|
|
- ./backup show config.example.yml
|
2023-06-15 14:10:17 +00:00
|
|
|
dependencies:
|
2023-05-31 09:42:39 +00:00
|
|
|
image: composer
|
|
|
|
commands:
|
|
|
|
- composer install
|
2023-06-15 14:10:17 +00:00
|
|
|
analyze:
|
|
|
|
image: php:cli-bookworm
|
2023-06-13 09:44:53 +00:00
|
|
|
commands:
|
2023-06-15 14:10:17 +00:00
|
|
|
- make analyze
|
|
|
|
test:
|
|
|
|
image: php:cli-bookworm
|
|
|
|
commands:
|
|
|
|
- apt update
|
|
|
|
- apt install rclone
|
2023-07-11 10:38:51 +00:00
|
|
|
- vendor/bin/phpunit tests
|
|
|
|
document:
|
|
|
|
image: phpdoc/phpdoc
|
|
|
|
commands:
|
|
|
|
- phpdoc run
|
|
|
|
upload:
|
|
|
|
image: woodpeckerci/plugin-s3
|
|
|
|
settings:
|
|
|
|
bucket: buildserver
|
2023-07-11 10:41:06 +00:00
|
|
|
access_key:
|
|
|
|
from_secret: access_key_id
|
|
|
|
secret_key:
|
|
|
|
from_secret: secret_access_key
|
2023-07-11 10:38:51 +00:00
|
|
|
source: output/**/*
|
2023-07-11 11:18:23 +00:00
|
|
|
target: /backupscript/@latest/
|
2023-07-11 10:38:51 +00:00
|
|
|
path_style: true
|
2023-07-11 11:18:23 +00:00
|
|
|
strip_prefix: output/
|
2023-07-11 10:38:51 +00:00
|
|
|
endpoint: https://s3.jcktrue.dk
|