mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-15 04:48:49 +00:00
Fixup woodpecker
This commit is contained in:
parent
ff763795a3
commit
05f7e4264c
4 changed files with 63 additions and 13 deletions
|
@ -3,10 +3,6 @@ matrix:
|
|||
- PHP_MAJOR_VERSION: 7.4
|
||||
PHP_VERSION: 7.4.18
|
||||
|
||||
depends_on:
|
||||
- code_standards_check
|
||||
- messages.po_check
|
||||
|
||||
platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
|
||||
|
||||
skip_clone: true
|
||||
|
@ -33,6 +29,21 @@ pipeline:
|
|||
repo: friendica/friendica-addons
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
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: [ develop, '*-rc' ]
|
||||
event: push
|
||||
composer_install:
|
||||
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
|
||||
commands:
|
||||
|
@ -50,10 +61,10 @@ pipeline:
|
|||
commands:
|
||||
- apt-get update
|
||||
- apt-get install bzip2
|
||||
- mkdir ./build
|
||||
- export VERSION="$(cat VERSION)"
|
||||
- export RELEASE="friendica-addons-$VERSION"
|
||||
- export ARTIFACT="$RELEASE.tar.gz"
|
||||
- mkdir ./build
|
||||
- tar
|
||||
--exclude='.tx'
|
||||
--exclude='.git'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue