2021-05-17 19:40:14 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: Check messages.po
|
|
|
|
|
|
|
|
clone:
|
|
|
|
disable: true
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: clone friendica base
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git clone https://github.com/friendica/friendica.git .
|
|
|
|
- git checkout $DRONE_COMMIT_BRANCH
|
|
|
|
- name: clone friendica addon
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
2021-05-21 20:16:36 +00:00
|
|
|
- git clone $DRONE_REPO_LINK addon
|
|
|
|
- cd addon/
|
|
|
|
- git checkout $DRONE_COMMIT_BRANCH
|
|
|
|
- git fetch origin $DRONE_COMMIT_REF
|
|
|
|
- git merge $DRONE_COMMIT_SHA
|
|
|
|
- name: Run Xgettext for addons
|
2021-05-17 19:40:14 +00:00
|
|
|
image: friendicaci/transifex
|
|
|
|
commands:
|
2021-05-21 20:16:36 +00:00
|
|
|
- /xgettext-addon.sh
|
2021-05-17 19:40:14 +00:00
|
|
|
- name: Check update necessary
|
2021-05-21 20:16:36 +00:00
|
|
|
image: friendicaci/transifex
|
2021-05-17 19:40:14 +00:00
|
|
|
commands:
|
2021-05-21 20:16:36 +00:00
|
|
|
- /check-addons.sh
|