You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
842 B
23 lines
842 B
---
|
|
|
|
- name: Deploy the Echo API to a 3scale SaaS instance, with hosted APIcasts and no smoketests
|
|
hosts: threescale
|
|
gather_facts: no
|
|
vars:
|
|
# There is no "threescale_cicd_openapi_smoketest_operation" variable
|
|
threescale_cicd_openapi_file: '{{ playbook_dir }}/api-contracts/echo-api-bare.yaml'
|
|
tasks:
|
|
- name: Generate a random system_name for this test run
|
|
import_tasks: "common/random-system-name.yml"
|
|
|
|
- name: Compute custom public base urls for APIcast self-managed environments
|
|
include_vars: "common/apicast-selfmanaged-vars.yml"
|
|
when: apicast_staging_domain is defined or apicast_production_domain is defined
|
|
|
|
# Deploy the service
|
|
- import_role:
|
|
name: 'nmasse-itix.threescale-cicd'
|
|
# Delete the service
|
|
- import_role:
|
|
name: 'nmasse-itix.threescale-cicd'
|
|
tasks_from: 'cleanup'
|
|
|