5 # This prevents executing this pipeline at other servers than ci.friendi.ca
16 - git clone $CI_REPO_LINK .
17 - git checkout $CI_COMMIT_BRANCH
18 - git fetch origin $CI_COMMIT_REF
19 - git merge $CI_COMMIT_SHA
21 repo: friendica/friendica
25 image: meltwater/drone-cache:dev
29 cache_key: "{{ .Repo.Name }}_php7.4_{{ arch }}_{{ os }}"
30 archive_format: "gzip"
34 - /tmp/drone-cache:/tmp/cache
36 repo: friendica/friendica
40 image: friendicaci/php7.4:php7.4.33
42 - export COMPOSER_HOME=.composer
44 - composer install --no-dev --optimize-autoloader
46 repo: friendica/friendica
50 - /etc/hosts:/etc/hosts
55 - apt-get install bzip2
57 - export VERSION="$(cat VERSION)"
58 - export RELEASE="friendica-full-$VERSION"
59 - export ARTIFACT="$RELEASE.tar.gz"
61 --transform "s,^,$RELEASE/,S"
62 -X mods/release-list-exclude.txt
63 -T mods/release-list-include.txt
64 -cvzf ./build/$ARTIFACT
66 - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
69 - cat "$ARTIFACT.sum256"
70 - sha256sum "$ARTIFACT"
72 repo: friendica/friendica
76 image: plugins/gpgsign
81 from_secret: gpg_password
88 repo: friendica/friendica
94 - cp -fr build/* /tmp/friendica_files/
96 - files:/tmp/friendica_files
98 repo: friendica/friendica