2021-12-30 12:51:35 +00:00
|
|
|
skip_clone: true
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
clone_friendica_base:
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
2024-08-20 16:07:51 +00:00
|
|
|
- git config --global user.email "no-reply@friendi.ca"
|
|
|
|
- git config --global user.name "Friendica"
|
|
|
|
- git config --global --add safe.directory $CI_WORKSPACE
|
2021-12-30 12:51:35 +00:00
|
|
|
- git clone https://github.com/friendica/friendica.git .
|
|
|
|
- git checkout $CI_COMMIT_BRANCH
|
|
|
|
when:
|
|
|
|
event: pull_request
|
|
|
|
clone_friendica_addon:
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
2022-02-24 22:16:55 +00:00
|
|
|
- git config --global user.email "no-reply@friendi.ca"
|
|
|
|
- git config --global user.name "Friendica"
|
2024-03-22 14:53:47 +00:00
|
|
|
- git clone $CI_REPO_CLONE_URL addon
|
2021-12-30 12:51:35 +00:00
|
|
|
- cd addon/
|
|
|
|
- git checkout $CI_COMMIT_BRANCH
|
|
|
|
- git fetch origin $CI_COMMIT_REF
|
|
|
|
- git merge $CI_COMMIT_SHA
|
|
|
|
when:
|
|
|
|
event: pull_request
|
|
|
|
build_xgettext:
|
|
|
|
image: friendicaci/transifex
|
|
|
|
commands:
|
|
|
|
- /xgettext-addon.sh
|
|
|
|
when:
|
|
|
|
event: pull_request
|
|
|
|
check:
|
|
|
|
image: friendicaci/transifex
|
|
|
|
commands:
|
|
|
|
- /check-addons.sh
|
|
|
|
when:
|
|
|
|
event: pull_request
|
2021-12-30 18:26:35 +00:00
|
|
|
|
|
|
|
branches:
|
2021-12-30 18:28:50 +00:00
|
|
|
exclude: [ stable ]
|