forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update stack testing CI playbooks and shell scripts (elastic#42)
- Loading branch information
Showing
4 changed files
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# | ||
# @author: Liza Dayoub | ||
|
||
if [ $CI_BUILD == "true" ]; then | ||
export ES_BUILD_OSS=$CI_OSS | ||
if [ $ES_BUILD_OSS == "true" ]; then | ||
export AIT_ANSIBLE_PLAYBOOK="${AIT_ROOTDIR}/playbooks/stack_testing/install_no_xpack.yml" | ||
else | ||
export AIT_ANSIBLE_PLAYBOOK="${AIT_ROOTDIR}/playbooks/stack_testing/install_xpack.yml" | ||
fi | ||
# This will eventually be added to the CI_ stuff | ||
export ES_BUILD_PKG_EXT=tar | ||
export AIT_VM=vagrant_vm | ||
fi | ||
|
||
source jenkins_build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#---------------------------------------------------------------------------------------------------------------------- | ||
# Playbook: Install products without x-pack | ||
# | ||
# Author: liza.dayoub@elastic.co | ||
#---------------------------------------------------------------------------------------------------------------------- | ||
|
||
- hosts: "{{ uut | default(lookup('env','AIT_UUT')) }}" | ||
|
||
vars_files: | ||
- "{{ es_var_file | default(lookup('env','ANSIBLE_GROUP_VARS')) }}" | ||
|
||
roles: | ||
- { role: elasticsearch, ait_role: elasticsearch_install_config_start_verify } | ||
- { role: kibana, ait_role: kibana_install_config_start_verify } | ||
- { role: logstash, ait_role: logstash_install_config_start_verify } | ||
- { role: filebeat, ait_role: filebeat_install_config_start_verify_import_dashboards } | ||
- { role: metricbeat, ait_role: metricbeat_install_config_start_verify_import_dashboards } | ||
- { role: packetbeat, ait_role: packetbeat_install_config_start_verify_import_dashboards } | ||
- { role: apm_server, ait_role: apm_server_install_config_start_verify_import_dashboards } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#---------------------------------------------------------------------------------------------------------------------- | ||
# Playbook: Install products with x-pack | ||
# | ||
# Author: liza.dayoub@elastic.co | ||
#---------------------------------------------------------------------------------------------------------------------- | ||
|
||
- hosts: "{{ uut | default(lookup('env','AIT_UUT')) }}" | ||
|
||
vars_files: | ||
- "{{ es_var_file | default(lookup('env','ANSIBLE_GROUP_VARS')) }}" | ||
|
||
roles: | ||
- { role: xpack_elasticsearch, ait_role: xpack_elasticsearch_install_gencert_config_start_verify } | ||
- { role: xpack_kibana, ait_role: xpack_kibana_install_config_start_verify } | ||
- { role: xpack_logstash, ait_role: xpack_logstash_install_config_start_verify } | ||
- { role: xpack_filebeat, ait_role: xpack_filebeat_install_config_start_verify_import_dashboards } | ||
- { role: xpack_metricbeat, ait_role: xpack_metricbeat_install_config_start_verify_import_dashboards } | ||
- { role: xpack_packetbeat, ait_role: xpack_packetbeat_install_config_start_verify_import_dashboards } | ||
- { role: xpack_apm_server, ait_role: xpack_apm_server_install_config_start_verify_import_dashboards } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters