openstack-zuul-jobs/tests/prepare-zanata-client.yaml
Ian Wienand 3cdfbc6f67 Move prepare-zanata-client to o-z-j
This role is currently in project-config where it is untested.  Move
it to o-z-j, and rename to prepare-zanata-client for consistency with
other names.  Add integration test.  We will migrate the jobs to the
new name when this merges.

Change-Id: I26ee7057b9ad70507959286acc17d9c7bc1471db
2018-10-03 14:42:17 +02:00

18 lines
474 B
YAML

- name: Test the prepare-zanata-client role
hosts: all
vars:
zanata_api_credentials:
fqdn: translate.openstack.org
server_id: translate.openstack.org
url: https://translate.openstack.org/
username: infra
key: a_fake_key
roles:
- role: prepare-zanata-client
post_tasks:
- name: Check zanata client works
command: "/opt/zanata/zanata-cli-{{ zanata_client_version }}/bin/zanata-cli --version"
changed_when: false