<commit_before>---
  chain:
    -
      name: "get_build_server"
      ref: "linux.dig"
      params:
        hostname: "st2-build-slave-RedHat{{distro_release}}.service.consul"
        rand: true
        count: 1
      publish:
        build_server: "{{get_build_server.result[0]}}"
      on-success: "clone_repo"
    - 
      name: "clone_repo"
      ref: "st2cd.git_clone"
      params: 
        hosts: "{{build_server}}"
        repo: "{{repo}}"
        target: "{{repo_target}}"
        branch: "{{branch}}"
        timeout: 300
      publish:
        repodir: "{{clone_repo[build_server].stdout}}"
      on-success: "version"
    -
      name: "version"
      ref: "st2cd.st2_version"
      params:
        hosts: "{{build_server}}"
        repo: "{{repodir}}"
      publish:
        version: "{{version[build_server].stdout}}"
      on-success: "echo_version"
    -
      name: "echo_version"
      ref: "core.local"
      params:
        cmd: "echo '{{version}}'"
      on-success: "version_hack"
    - 
      name: "version_hack"
      ref: "st2cd.version_hack"
      params: 
        hosts: "{{build_server}}"
        repo: "{{repodir}}"
        build: "{{build}}"
      on-success: "make_rhel_rpms"
    -
      name: "make_rhel_rpms"
      ref: "st2cd.make_rhel_rpms"
      params:
        hosts: "{{build_server}}"
        repo: "{{repodir}}"<commit_msg>Use make_rpms target<commit_after>---
  chain:
    -
      name: "get_build_server"
      ref: "linux.dig"
      params:
        hostname: "st2-build-slave-RedHat{{distro_release}}.service.consul"
        rand: true
        count: 1
      publish:
        build_server: "{{get_build_server.result[0]}}"
      on-success: "clone_repo"
    - 
      name: "clone_repo"
      ref: "st2cd.git_clone"
      params: 
        hosts: "{{build_server}}"
        repo: "{{repo}}"
        target: "{{repo_target}}"
        branch: "{{branch}}"
        timeout: 300
      publish:
        repodir: "{{clone_repo[build_server].stdout}}"
      on-success: "version"
    -
      name: "version"
      ref: "st2cd.st2_version"
      params:
        hosts: "{{build_server}}"
        repo: "{{repodir}}"
      publish:
        version: "{{version[build_server].stdout}}"
      on-success: "echo_version"
    -
      name: "echo_version"
      ref: "core.local"
      params:
        cmd: "echo '{{version}}'"
      on-success: "version_hack"
    - 
      name: "version_hack"
      ref: "st2cd.version_hack"
      params: 
        hosts: "{{build_server}}"
        repo: "{{repodir}}"
        build: "{{build}}"
      on-success: "make_rpms"
    -
      name: "make_rpms"
      ref: "st2cd.make_rpms"
      params:
        hosts: "{{build_server}}"
        repo: "{{repodir}}"
{'fraction_non_alphanumeric': 0.157856093979442, 'fraction_numerical': 0.008076358296622614, 'mean_word_length': 1.9846659364731654, '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': '6938728', 'n_tokens_mistral': 979, 'n_tokens_neox': 960, 'n_words': 169}