11 - git clone $CI_REPO_LINK .
12 - git checkout $CI_COMMIT_BRANCH
13 - git fetch origin $CI_COMMIT_REF
14 - git merge $CI_COMMIT_SHA
16 repo: friendica/friendica
19 instance: releaser.ci.friendi.ca
21 image: meltwater/drone-cache:dev
25 cache_key: "{{ .Repo.Name }}_php7.4_{{ arch }}_{{ os }}"
26 archive_format: "gzip"
30 - /tmp/drone-cache:/tmp/cache
32 repo: friendica/friendica
35 instance: releaser.ci.friendi.ca
37 image: friendicaci/php7.4:php7.4.18
39 - export COMPOSER_HOME=.composer
41 - composer install --no-dev --optimize-autoloader
43 repo: friendica/friendica
46 instance: releaser.ci.friendi.ca
48 - /etc/hosts:/etc/hosts
53 - apt-get install bzip2
55 - export VERSION="$(cat VERSION)"
56 - export RELEASE="friendica-full-$VERSION"
57 - export ARTIFACT="$RELEASE.tar.gz"
59 --transform "s,^,$RELEASE/,S"
60 -X mods/release-list-exclude.txt
61 -T mods/release-list-include.txt
62 -cvzf ./build/$ARTIFACT
64 - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
67 - cat "$ARTIFACT.sum256"
68 - sha256sum "$ARTIFACT"
70 repo: friendica/friendica
73 instance: releaser.ci.friendi.ca
75 image: plugins/gpgsign
80 from_secret: gpg_password
87 repo: friendica/friendica
90 instance: releaser.ci.friendi.ca
94 - cp -fr build/* /tmp/friendica_files/
96 - files:/tmp/friendica_files
98 repo: friendica/friendica
101 instance: releaser.ci.friendi.ca