- phpunit
- code_standards_check
+# This prevents executing this pipeline at other servers than ci.friendi.ca
+labels:
+ location: friendica
+ type: releaser
+
skip_clone: true
-pipeline:
+steps:
clone:
image: alpine/git
commands:
- - git clone $CI_REPO_LINK .
+ - git clone $CI_REPO_CLONE_URL .
- git checkout $CI_COMMIT_BRANCH
- git fetch origin $CI_COMMIT_REF
- git merge $CI_COMMIT_SHA
repo: friendica/friendica
branch: stable
event: tag
- instance: releaser.ci.friendi.ca
restore_cache:
image: meltwater/drone-cache:dev
settings:
repo: friendica/friendica
branch: stable
event: tag
- instance: releaser.ci.friendi.ca
composer_install:
- image: friendicaci/php7.4:php7.4.18
+ image: friendicaci/php7.4:php7.4.33
commands:
- export COMPOSER_HOME=.composer
- composer validate
repo: friendica/friendica
branch: stable
event: tag
- instance: releaser.ci.friendi.ca
volumes:
- /etc/hosts:/etc/hosts
create_artifacts:
repo: friendica/friendica
branch: stable
event: tag
- instance: releaser.ci.friendi.ca
sign_artifacts:
image: plugins/gpgsign
settings:
repo: friendica/friendica
branch: stable
event: tag
- instance: releaser.ci.friendi.ca
publish_artifacts:
image: alpine
commands:
repo: friendica/friendica
branch: stable
event: tag
- instance: releaser.ci.friendi.ca