Merge pull request #11126 from nupplaphil/feat/woodpecker
Improve woodpecker settings
This commit is contained in:
commit
c10e0a8683
|
@ -11,7 +11,20 @@ depends_on:
|
||||||
|
|
||||||
platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
|
platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
|
||||||
|
|
||||||
|
skip_clone: true
|
||||||
|
|
||||||
pipeline:
|
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:
|
restore_cache:
|
||||||
image: meltwater/drone-cache:dev
|
image: meltwater/drone-cache:dev
|
||||||
settings:
|
settings:
|
||||||
|
|
|
@ -9,7 +9,20 @@ depends_on:
|
||||||
|
|
||||||
platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
|
platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
|
||||||
|
|
||||||
|
skip_clone: true
|
||||||
|
|
||||||
pipeline:
|
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:
|
restore_cache:
|
||||||
image: meltwater/drone-cache:dev
|
image: meltwater/drone-cache:dev
|
||||||
settings:
|
settings:
|
||||||
|
@ -35,6 +48,8 @@ pipeline:
|
||||||
repo: friendica/friendica
|
repo: friendica/friendica
|
||||||
branch: stable
|
branch: stable
|
||||||
event: tag
|
event: tag
|
||||||
|
volumes:
|
||||||
|
- /etc/hosts:/etc/hosts
|
||||||
create_artifacts:
|
create_artifacts:
|
||||||
image: debian
|
image: debian
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user