Fixup woodpecker

This commit is contained in:
Philipp 2021-12-30 19:26:35 +01:00
parent ff763795a3
commit 05f7e4264c
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
4 changed files with 63 additions and 13 deletions

View file

@ -3,9 +3,6 @@ matrix:
- PHP_MAJOR_VERSION: 7.4
PHP_VERSION: 7.4.18
depends_on:
- code_standards_check
platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
skip_clone: true
@ -32,18 +29,33 @@ pipeline:
repo: friendica/friendica-addons
branch: stable
event: tag
restore_cache:
image: meltwater/drone-cache:dev
settings:
backend: "filesystem"
restore: true
cache_key: "{{ .Repo.Name }}_php${PHP_MAJOR_VERSION}_{{ arch }}_{{ os }}"
archive_format: "gzip"
mount:
- '.composer'
volumes:
- /tmp/drone-cache:/tmp/cache
when:
repo: friendica/friendica-addons
branch: stable
event: tag
composer_install:
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
commands:
- export COMPOSER_HOME=.composer
- composer validate
- composer install --no-dev --optimize-autoloader
volumes:
- /etc/hosts:/etc/hosts
when:
repo: friendica/friendica-addons
branch: stable
event: tag
volumes:
- /etc/hosts:/etc/hosts
create_artifacts:
image: debian
commands: