- phpunit
- code_standards_check
-platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
+# This prevents executing this pipeline at other servers than ci.friendi.ca
+labels:
+ location: friendica
+ type: releaser
+
+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:
repo: friendica/friendica
branch: stable
event: tag
+ volumes:
+ - /etc/hosts:/etc/hosts
create_artifacts:
image: debian
commands:
- export RELEASE="friendica-full-$VERSION"
- export ARTIFACT="$RELEASE.tar.gz"
- tar
- --transform "s,^,$RELEASE/,"
+ --transform "s,^,$RELEASE/,S"
-X mods/release-list-exclude.txt
-T mods/release-list-include.txt
-cvzf ./build/$ARTIFACT