项目作者: wcm-io-devops

项目描述 :
Smoke tests for AEM author and AEM publish
高级语言:
项目地址: git://github.com/wcm-io-devops/ansible-conga-aem-smoke-test.git
创建时间: 2018-01-10T17:18:57Z
项目社区:https://github.com/wcm-io-devops/ansible-conga-aem-smoke-test

开源协议:Apache License 2.0

下载


wcm_io_devops.conga_aem_smoke_test

This role runs smoke tests on AEM author and AEM publish instances based
upon a CONGA configuration. The tests use the build in test
functionality of the replication agents.

The following tests are executed:

  • publish test (Author)
  • flush test (Author and Publish)

This role was developed as part of the
wcm.io DevOps Ansible Automation for AEM
to integrate Ansible with
CONGA.

Requirements

This role requires Ansible 2.7 or higher and works with AEM 6.0 or
higher.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

  1. conga_aemst_publish_test_pattern: "succeeded"

The text to search for on the publish test result page.

  1. conga_aemst_publish_test_timeout: 60

The timeout for the publish test.

  1. conga_aemst_flush_test_pattern: "succeeded"

The text to search for on the flush test result page.

  1. conga_aemst_flush_test_timeout: 60

The timeout for the flush test.

  1. conga_aemst_user: "{{ conga_config.quickstart.adminUser.username | default('admin')}}"

The username to use.

  1. conga_aemst_password: "{{ conga_config.quickstart.adminUser.password | default('admin')}}"

The password to use.

Dependencies

This role depends on the
wcm_io_devops.conga_facts role
for accessing the CONGA configuration model.

Compiles the CONGA configuration and runs a smoke test for author and publish

  1. - hosts: localhost
  2. roles:
  3. - wcm_io_devops.conga_maven
  4. # run smoke tests for aem-author
  5. - hosts: "&{{ conga_environment }}:aem-author"
  6. environment: "{{ proxy_env | default({}) }}"
  7. vars:
  8. conga_node: aem-author
  9. conga_role_mapping: aem-cms
  10. roles:
  11. - wcm_io_devops.conga_aem_smoke_test
  12. # run smoke tests for aem-publish
  13. - hosts: "&{{ conga_environment }}:aem-publish"
  14. environment: "{{ proxy_env | default({}) }}"
  15. vars:
  16. conga_node: aem-publish
  17. conga_role_mapping: aem-cms
  18. roles:
  19. - wcm_io_devops.conga_aem_smoke_test