mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
Replace Drone with Woodpecker
This commit is contained in:
parent
867dcd3c8e
commit
8a25e7a351
2 changed files with 28 additions and 0 deletions
|
@ -11,7 +11,20 @@ depends_on:
|
|||
|
||||
platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
|
||||
|
||||
skip_clone: true
|
||||
|
||||
pipeline:
|
||||
clone:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone $CI_REPO_LINK .
|
||||
- git checkout $CI_COMMIT_BRANCH
|
||||
- git fetch origin $CI_COMMIT_REF
|
||||
- git merge $CI_COMMIT_SHA
|
||||
when:
|
||||
repo: friendica/friendica
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
restore_cache:
|
||||
image: meltwater/drone-cache:dev
|
||||
settings:
|
||||
|
|
|
@ -9,7 +9,20 @@ depends_on:
|
|||
|
||||
platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
|
||||
|
||||
skip_clone: true
|
||||
|
||||
pipeline:
|
||||
clone:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone $CI_REPO_LINK .
|
||||
- git checkout $CI_COMMIT_BRANCH
|
||||
- git fetch origin $CI_COMMIT_REF
|
||||
- git merge $CI_COMMIT_SHA
|
||||
when:
|
||||
repo: friendica/friendica
|
||||
branch: stable
|
||||
event: tag
|
||||
restore_cache:
|
||||
image: meltwater/drone-cache:dev
|
||||
settings:
|
||||
|
@ -35,6 +48,8 @@ pipeline:
|
|||
repo: friendica/friendica
|
||||
branch: stable
|
||||
event: tag
|
||||
volumes:
|
||||
- /etc/hosts:/etc/hosts
|
||||
create_artifacts:
|
||||
image: debian
|
||||
commands:
|
||||
|
|
Loading…
Reference in a new issue