Clementine-audio-player-Mac.../dist/translations/cloudbuild-push.yaml

33 lines
1.0 KiB
YAML
Raw Permalink Normal View History

2018-09-17 15:36:12 +02:00
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'transifex', '.']
dir: 'dist/translations/transifex'
- name: 'transifex'
secretEnv: ['TX_TOKEN']
args: ['init', '--no-interactive', '--force']
- name: 'gcr.io/clementine-data/slave-ubuntu-zesty-64'
entrypoint: 'cmake'
dir: 'bin'
args: ['..']
- name: 'gcr.io/clementine-data/slave-ubuntu-zesty-64'
entrypoint: 'make'
dir: 'bin'
- name: 'transifex'
secretEnv: ['TX_TOKEN']
args: ['config', 'mapping', '--execute', '-r', 'clementine.clementineplayer', '-f', 'src/translations/translations.pot', '-s', 'en', '-t', 'PO', 'src/translations/<lang>.po']
- name: 'transifex'
secretEnv: ['TX_TOKEN']
args: ['push', '-s']
secrets:
- kmsKeyName: projects/clementine-data/locations/global/keyRings/translations/cryptoKeys/transifex
secretEnv:
TX_TOKEN: CiQAmOiGiwceV26v7vX/yvQQXkMJ7+zwH9Y2zy+B4FtwM1iVdj8SVAD+AEzLJXJ6d+hGZlJPYjbbxL6/wiOhQIZLc+yvFznLSIn6dtCAhFecNqYX+cj+nxuZ/uHR9p72kj7PPsqy54WkWRvbG1Xl4CQX67wy3cqnlRHsqQ==
2018-09-17 15:38:14 +02:00
2018-09-17 15:39:31 +02:00
timeout: 1200s