Skip to content

Commit

Permalink
Added fixes for messaging and debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
oblodgett committed Apr 8, 2020
1 parent 700cc98 commit 3e5c31a
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 34 deletions.
2 changes: 1 addition & 1 deletion launch_2.0.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@

rescue:
- fail:
msg: 'Tasked Failed Terminating instances'
msg: 'Tasked Failed Terminating instances'

#- name: Terminations
# hosts: local
Expand Down
9 changes: 5 additions & 4 deletions playbook_run_api_integration_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,19 @@
- include_tasks: tasks/setup_docker.yml
- include_tasks: tasks/run_api_integration_testing.yml
- set_fact:
failed_flag: "passed"
failed_flag: "passed"
rescue:
- debug:
msg: "Error Detected Failing Build"
msg: "Error Detected Failing Build"
- set_fact:
failed_flag: "failed"
failed_flag: "failed"

- import_playbook: playbook_terminate_instance.yml

- name: Check Failures
hosts: launched
gather_facts: False
tasks:
- fail: msg="The execution has failed because of errors."
- fail:
msg: "The execution has failed because of errors."
when: failed_flag == "failed"
9 changes: 5 additions & 4 deletions playbook_run_cacher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,19 @@
- include_tasks: tasks/run_cacher.yml
- include_tasks: tasks/push_cacher_image.yml
- set_fact:
failed_flag: "passed"
failed_flag: "passed"
rescue:
- debug:
msg: "Error Detected Failing Build"
msg: "Error Detected Failing Build"
- set_fact:
failed_flag: "failed"
failed_flag: "failed"

- import_playbook: playbook_terminate_instance.yml

- name: Check Failures
hosts: launched
gather_facts: False
tasks:
- fail: msg="The execution has failed because of errors."
- fail:
msg: "The execution has failed because of errors."
when: failed_flag == "failed"
9 changes: 5 additions & 4 deletions playbook_run_file_gener.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,19 @@
- include_tasks: tasks/start_neo_data.yml
- include_tasks: tasks/run_file_gener.yml
- set_fact:
failed_flag: "passed"
failed_flag: "passed"
rescue:
- debug:
msg: "Error Detected Failing Build"
msg: "Error Detected Failing Build"
- set_fact:
failed_flag: "failed"
failed_flag: "failed"

- import_playbook: playbook_terminate_instance.yml

- name: Check Failures
hosts: launched
gather_facts: False
tasks:
- fail: msg="The execution has failed because of errors."
- fail:
msg: "The execution has failed because of errors."
when: failed_flag == "failed"
9 changes: 5 additions & 4 deletions playbook_run_indexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,20 @@
- include_tasks: tasks/start_neo_data.yml
- include_tasks: tasks/run_indexer.yml
- set_fact:
failed_flag: "passed"
failed_flag: "passed"
rescue:
- debug:
msg: "Error Detected Failing Build"
msg: "Error Detected Failing Build"
- set_fact:
failed_flag: "failed"
failed_flag: "failed"

- import_playbook: playbook_terminate_instance.yml

- name: Check Failures
hosts: launched
gather_facts: False
tasks:
- fail: msg="The execution has failed because of errors."
- fail:
msg: "The execution has failed because of errors."
when: failed_flag == "failed"

9 changes: 5 additions & 4 deletions playbook_run_indexer_integration_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,19 @@
- include_tasks: tasks/setup_docker.yml
- include_tasks: tasks/run_indexer_integration_testing.yml
- set_fact:
failed_flag: "passed"
failed_flag: "passed"
rescue:
- debug:
msg: "Error Detected Failing Build"
msg: "Error Detected Failing Build"
- set_fact:
failed_flag: "failed"
failed_flag: "failed"

- import_playbook: playbook_terminate_instance.yml

- name: Check Failures
hosts: launched
gather_facts: False
tasks:
- fail: msg="The execution has failed because of errors."
- fail:
msg: "The execution has failed because of errors."
when: failed_flag == "failed"
9 changes: 5 additions & 4 deletions playbook_run_loader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,20 @@
- include_tasks: tasks/run_loader.yml
- include_tasks: tasks/push_neo_image.yml
- set_fact:
failed_flag: "passed"
failed_flag: "passed"

rescue:
- debug:
msg: "Error Detected Failing Build"
msg: "Error Detected Failing Build"
- set_fact:
failed_flag: "failed"
failed_flag: "failed"

- import_playbook: playbook_terminate_instance.yml

- name: Check Failures
hosts: launched
gather_facts: False
tasks:
- fail: msg="The execution has failed because of errors."
- fail:
msg: "The execution has failed because of errors."
when: failed_flag == "failed"
9 changes: 5 additions & 4 deletions playbook_run_loader_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,20 @@
- include_tasks: tasks/start_neo_env.yml
- include_tasks: tasks/run_loader_integration_tests.yml
- set_fact:
failed_flag: "passed"
failed_flag: "passed"
rescue:
- debug:
msg: "Error Detected Failing Build"
msg: "Error Detected Failing Build"
- set_fact:
failed_flag: "failed"
failed_flag: "failed"

- import_playbook: playbook_terminate_instance.yml

- name: Check Failures
hosts: launched
gather_facts: False
tasks:
- fail: msg="The execution has failed because of errors."
- fail:
msg: "The execution has failed because of errors."
when: failed_flag == "failed"

10 changes: 5 additions & 5 deletions playbook_run_qc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
- include_tasks: tasks/start_neo_data.yml
- include_tasks: tasks/run_qc.yml
- set_fact:
failed_flag: "passed"
failed_flag: "passed"
rescue:
- debug:
msg: "Error Detected Failing Build"
msg: "Error Detected Failing Build"
- set_fact:
failed_flag: "failed"
failed_flag: "failed"

- import_playbook: playbook_terminate_instance.yml

- name: Check Failures
hosts: launched
gather_facts: False
tasks:
- fail: msg="The execution has failed because of errors."
- fail:
msg: "The execution has failed because of errors."
when: failed_flag == "failed"

0 comments on commit 3e5c31a

Please sign in to comment.