mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-14 20:38:49 +00:00
Fixup woodpecker
This commit is contained in:
parent
ff763795a3
commit
05f7e4264c
4 changed files with 63 additions and 13 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue