<commit_before>---
- hosts: localhost
  connection: local
  name: "Executes install, enrollment, and testing in one playbook"
  sudo: yes
  gather_facts: yes
  pre_tasks:
    - set_fact: baremetal_csv_file="/tmp/baremetal.csv"
      when: baremetal_csv_file is not defined
  roles:
    - role: bifrost-create-vm-nodes
    - role: ironic-install
      cleaning: false
      testing: true
    - role: ironic-enroll
      testing: true
    - role: bifrost-validate-host-for-deploy
- hosts: localhost
  connection: local
  name: "Executes install, enrollment, and testing in one playbook"
  sudo: no
  gather_facts: yes
  roles:
    - role: bifrost-configdrives
    - role: bifrost-setup-nodes
    - role: bifrost-prepare-for-test
# The testvm Host group is added by bifrost-prepare-for-test based
# on the contents of the CSV file.
- hosts: testvm
  name: "Tests connectivity to the VM"
  sudo: no
  gather_facts: yes
  remote_user: ubuntu
  roles:
    - role: bifrost-test-vm
- hosts: localhost
  connection: local
  name: "Unprovisions the test node"
  sudo: no
  gather_facts: no
  roles:
    - role: bifrost-unprovision-nodes
- hosts: localhost
  connection: local
  name: "Unprovisions the test node"
  sudo: no
  gather_facts: no
  roles:
    - role: ironic-delete
<commit_msg>Automatically set ci_testing flag<commit_after>---
- hosts: localhost
  connection: local
  name: "Executes install, enrollment, and testing in one playbook"
  sudo: yes
  gather_facts: yes
  pre_tasks:
    - name: "Set default baremetal.csv file if not already defined"
      set_fact:
         baremetal_csv_file: "/tmp/baremetal.csv"
      when: baremetal_csv_file is not defined
    - name: "Set ci_testing flag if a list of changes are found in the environment variables"
      set_fact:
         ci_testing: true
      when: lookup('env', 'ZUUL_CHANGES') != ""
  roles:
    - role: bifrost-create-vm-nodes
    - role: ironic-install
      cleaning: false
      testing: true
    - role: ironic-enroll
      testing: true
    - role: bifrost-validate-host-for-deploy
- hosts: localhost
  connection: local
  name: "Executes install, enrollment, and testing in one playbook"
  sudo: no
  gather_facts: yes
  roles:
    - role: bifrost-configdrives
    - role: bifrost-setup-nodes
    - role: bifrost-prepare-for-test
# The testvm Host group is added by bifrost-prepare-for-test based
# on the contents of the CSV file.
- hosts: testvm
  name: "Tests connectivity to the VM"
  sudo: no
  gather_facts: yes
  remote_user: ubuntu
  roles:
    - role: bifrost-test-vm
- hosts: localhost
  connection: local
  name: "Unprovisions the test node"
  sudo: no
  gather_facts: no
  roles:
    - role: bifrost-unprovision-nodes
- hosts: localhost
  connection: local
  name: "Unprovisions the test node"
  sudo: no
  gather_facts: no
  roles:
    - role: ironic-delete

{'fraction_non_alphanumeric': 0.08796622097114708, 'fraction_numerical': 0.0, 'mean_word_length': 3.0155367231638417, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5771949', 'n_tokens_mistral': 981, 'n_tokens_neox': 923, 'n_words': 294}