Browse Source

Merge branch 'issue-33' of github.com:nmasse-itix/threescale-cicd into issue-33

pull/34/head
Nicolas Massé 7 years ago
parent
commit
988081281f
  1. 1
      tests/3scale-saas-with-hosted-apicast-apikey.yml
  2. 2
      tests/3scale-saas-with-hosted-apicast-multi-environment.yml
  3. 1
      tests/3scale-saas-with-hosted-apicast-oidc.yml
  4. 1
      tests/3scale-saas-with-hosted-apicast-with-basePath.yml
  5. 3
      tests/3scale-saas-with-hosted-apicast-with-cors-policy.yml
  6. 3
      tests/3scale-saas-with-hosted-apicast-with-smoketest-in-extra-vars.yml
  7. 1
      tests/3scale-saas-with-hosted-apicast-without-smoketest.yml

1
tests/3scale-saas-with-hosted-apicast-apikey.yml

@ -8,6 +8,7 @@
threescale_cicd_openapi_file_format: 'JSON' threescale_cicd_openapi_file_format: 'JSON'
threescale_cicd_api_backend_hostname: echo-api.3scale.net threescale_cicd_api_backend_hostname: echo-api.3scale.net
threescale_cicd_openapi_smoketest_operation: GET_beer threescale_cicd_openapi_smoketest_operation: GET_beer
threescale_cicd_api_base_system_name: beer_catalog_apikey
tasks: tasks:
# Test a first deployment # Test a first deployment
- import_role: - import_role:

2
tests/3scale-saas-with-hosted-apicast-multi-environment.yml

@ -8,7 +8,7 @@
threescale_cicd_openapi_file_format: 'JSON' threescale_cicd_openapi_file_format: 'JSON'
threescale_cicd_api_backend_hostname: echo-api.3scale.net threescale_cicd_api_backend_hostname: echo-api.3scale.net
threescale_cicd_openapi_smoketest_operation: GET_beer threescale_cicd_openapi_smoketest_operation: GET_beer
threescale_cicd_api_base_system_name: beer_catalog threescale_cicd_api_base_system_name: beer_catalog_envs
tasks: tasks:
# Deploy in DEV # Deploy in DEV
- import_role: - import_role:

1
tests/3scale-saas-with-hosted-apicast-oidc.yml

@ -5,6 +5,7 @@
gather_facts: no gather_facts: no
vars: vars:
threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-oidc.yaml' threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-oidc.yaml'
threescale_cicd_api_base_system_name: echo_api_oidc
tasks: tasks:
# Test a first deployment # Test a first deployment
- import_role: - import_role:

1
tests/3scale-saas-with-hosted-apicast-with-basePath.yml

@ -5,6 +5,7 @@
gather_facts: no gather_facts: no
vars: vars:
threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-with-basePath.yaml' threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-with-basePath.yaml'
threescale_cicd_api_base_system_name: echo_api_with_basepath
tasks: tasks:
# Test a first deployment # Test a first deployment
- import_role: - import_role:

3
tests/3scale-saas-with-hosted-apicast-with-cors-policy.yml

@ -1,12 +1,13 @@
--- ---
- name: Deploy the Echo API to a 3scale SaaS instance, with hosted APIcasts and no smoketests - name: Deploy the Echo API to a 3scale SaaS instance, with hosted APIcasts and CORS
hosts: threescale hosts: threescale
gather_facts: no gather_facts: no
vars: vars:
threescale_cicd_openapi_smoketest_operation: Echo threescale_cicd_openapi_smoketest_operation: Echo
threescale_cicd_apicast_policies_cors: yes threescale_cicd_apicast_policies_cors: yes
threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-bare.yaml' threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-bare.yaml'
threescale_cicd_api_base_system_name: echo_api_cors
tasks: tasks:
# Deploy the service # Deploy the service
- import_role: - import_role:

3
tests/3scale-saas-with-hosted-apicast-with-smoketest-in-extra-vars.yml

@ -1,11 +1,12 @@
--- ---
- name: Deploy the Echo API to a 3scale SaaS instance, with hosted APIcasts and no smoketests - name: Deploy the Echo API to a 3scale SaaS instance, with hosted APIcasts and smoketests in extra vars
hosts: threescale hosts: threescale
gather_facts: no gather_facts: no
vars: vars:
threescale_cicd_openapi_smoketest_operation: Echo threescale_cicd_openapi_smoketest_operation: Echo
threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-bare.yaml' threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-bare.yaml'
threescale_cicd_api_base_system_name: echo_api_bare_extra
tasks: tasks:
# Deploy the service # Deploy the service
- import_role: - import_role:

1
tests/3scale-saas-with-hosted-apicast-without-smoketest.yml

@ -6,6 +6,7 @@
vars: vars:
# There is no "threescale_cicd_openapi_smoketest_operation" variable # There is no "threescale_cicd_openapi_smoketest_operation" variable
threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-bare.yaml' threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-bare.yaml'
threescale_cicd_api_base_system_name: echo_api_no_smoketests
tasks: tasks:
# Deploy the service # Deploy the service
- import_role: - import_role:

Loading…
Cancel
Save