7 # This prevents executing this pipeline at other servers than ci.friendi.ca
18 - git clone $CI_REPO_LINK .
19 - git checkout $CI_COMMIT_BRANCH
20 - git fetch origin $CI_COMMIT_REF
21 - git merge $CI_COMMIT_SHA
23 repo: friendica/friendica
24 branch: [ develop, '*-rc' ]
27 image: meltwater/drone-cache:dev
31 cache_key: "{{ .Repo.Name }}_php7.4_{{ arch }}_{{ os }}"
32 archive_format: "gzip"
36 - /tmp/drone-cache:/tmp/cache
38 repo: friendica/friendica
39 branch: [ develop, '*-rc' ]
42 image: friendicaci/php7.4:php7.4.18
44 - export COMPOSER_HOME=.composer
46 - composer install --no-dev --optimize-autoloader
48 - /etc/hosts:/etc/hosts
50 repo: friendica/friendica
51 branch: [ develop, '*-rc' ]
57 - apt-get install bzip2
59 - export VERSION="$(cat VERSION)"
60 - export RELEASE="friendica-full-$VERSION"
61 - export ARTIFACT="$RELEASE.tar.gz"
63 --transform "s,^,$RELEASE/,S"
64 -X mods/release-list-exclude.txt
65 -T mods/release-list-include.txt
66 -cvzf ./build/$ARTIFACT
68 - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
71 - cat "$ARTIFACT.sum256"
72 - sha256sum "$ARTIFACT"
74 repo: friendica/friendica
75 branch: [ develop, '*-rc' ]
78 image: plugins/gpgsign
83 from_secret: gpg_password
90 repo: friendica/friendica
91 branch: [ develop, '*-rc' ]
96 - cp -fr build/* /tmp/friendica_files/
98 - files:/tmp/friendica_files
100 repo: friendica/friendica
101 branch: [ develop, '*-rc' ]