mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-07-05 11:13:53 +00:00
35 lines
759 B
YAML
35 lines
759 B
YAML
---
|
|
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:
|
|
- 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
|
|
image: friendicaci/transifex
|
|
commands:
|
|
- /xgettext-addon.sh
|
|
- name: Check update necessary
|
|
image: friendicaci/transifex
|
|
commands:
|
|
- /check-addons.sh
|