Fix CI pipeline

This commit is contained in:
Philipp Holzer 2022-10-21 00:49:38 +02:00
parent 8eca74cfab
commit 94b4ad6279
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
2 changed files with 14 additions and 10 deletions

View file

@ -1,8 +1,3 @@
# This prevents executing this pipeline at other servers than ci.friendi.ca
labels:
location: friendica
type: releaser
skip_clone: true skip_clone: true
pipeline: pipeline:
@ -15,6 +10,7 @@ pipeline:
repo: friendica/friendica-addons repo: friendica/friendica-addons
branch: [ develop, '*-rc' ] branch: [ develop, '*-rc' ]
event: push event: push
instance: releaser.ci.friendi.ca
clone_friendica_addon: clone_friendica_addon:
image: alpine/git image: alpine/git
commands: commands:
@ -29,6 +25,7 @@ pipeline:
repo: friendica/friendica-addons repo: friendica/friendica-addons
branch: [ develop, '*-rc' ] branch: [ develop, '*-rc' ]
event: push event: push
instance: releaser.ci.friendi.ca
restore_cache: restore_cache:
image: meltwater/drone-cache:dev image: meltwater/drone-cache:dev
settings: settings:
@ -44,6 +41,7 @@ pipeline:
repo: friendica/friendica-addons repo: friendica/friendica-addons
branch: [ develop, '*-rc' ] branch: [ develop, '*-rc' ]
event: push event: push
instance: releaser.ci.friendi.ca
composer_install: composer_install:
image: friendicaci/php7.4:php7.4.18 image: friendicaci/php7.4:php7.4.18
commands: commands:
@ -56,6 +54,7 @@ pipeline:
repo: friendica/friendica-addons repo: friendica/friendica-addons
branch: [ develop, '*-rc' ] branch: [ develop, '*-rc' ]
event: push event: push
instance: releaser.ci.friendi.ca
create_artifacts: create_artifacts:
image: debian image: debian
commands: commands:
@ -84,6 +83,7 @@ pipeline:
repo: friendica/friendica-addons repo: friendica/friendica-addons
branch: [ develop, '*-rc' ] branch: [ develop, '*-rc' ]
event: push event: push
instance: releaser.ci.friendi.ca
sign_artifacts: sign_artifacts:
image: plugins/gpgsign image: plugins/gpgsign
settings: settings:
@ -100,6 +100,7 @@ pipeline:
repo: friendica/friendica-addons repo: friendica/friendica-addons
branch: [ develop, '*-rc' ] branch: [ develop, '*-rc' ]
event: push event: push
instance: releaser.ci.friendi.ca
publish_artifacts: publish_artifacts:
image: alpine image: alpine
commands: commands:
@ -110,3 +111,4 @@ pipeline:
repo: friendica/friendica-addons repo: friendica/friendica-addons
branch: [ develop, '*-rc' ] branch: [ develop, '*-rc' ]
event: push event: push
instance: releaser.ci.friendi.ca

View file

@ -1,8 +1,3 @@
# This prevents executing this pipeline at other servers than ci.friendi.ca
labels:
location: friendica
type: releaser
skip_clone: true skip_clone: true
pipeline: pipeline:
@ -14,6 +9,7 @@ pipeline:
when: when:
repo: friendica/friendica-addons repo: friendica/friendica-addons
event: tag event: tag
instance: releaser.ci.friendi.ca
clone_friendica_addon: clone_friendica_addon:
image: alpine/git image: alpine/git
commands: commands:
@ -27,6 +23,7 @@ pipeline:
when: when:
repo: friendica/friendica-addons repo: friendica/friendica-addons
event: tag event: tag
instance: releaser.ci.friendi.ca
restore_cache: restore_cache:
image: meltwater/drone-cache:dev image: meltwater/drone-cache:dev
settings: settings:
@ -41,6 +38,7 @@ pipeline:
when: when:
repo: friendica/friendica-addons repo: friendica/friendica-addons
event: tag event: tag
instance: releaser.ci.friendi.ca
composer_install: composer_install:
image: friendicaci/php7.4:php7.4.18 image: friendicaci/php7.4:php7.4.18
commands: commands:
@ -50,6 +48,7 @@ pipeline:
when: when:
repo: friendica/friendica-addons repo: friendica/friendica-addons
event: tag event: tag
instance: releaser.ci.friendi.ca
volumes: volumes:
- /etc/hosts:/etc/hosts - /etc/hosts:/etc/hosts
create_artifacts: create_artifacts:
@ -79,6 +78,7 @@ pipeline:
when: when:
repo: friendica/friendica-addons repo: friendica/friendica-addons
event: tag event: tag
instance: releaser.ci.friendi.ca
sign_artifacts: sign_artifacts:
image: plugins/gpgsign image: plugins/gpgsign
settings: settings:
@ -94,6 +94,7 @@ pipeline:
when: when:
repo: friendica/friendica-addons repo: friendica/friendica-addons
event: tag event: tag
instance: releaser.ci.friendi.ca
publish_artifacts: publish_artifacts:
image: alpine image: alpine
commands: commands:
@ -103,3 +104,4 @@ pipeline:
when: when:
repo: friendica/friendica-addons repo: friendica/friendica-addons
event: tag event: tag
instance: releaser.ci.friendi.ca