<commit_before>- job:
    name: gate-murano-devstack-dsvm
    node: 'devstack-precise || devstack-trusty'

    wrappers:
      - build-timeout:
          timeout: 65
      - timestamps

    builders:
      - link-logs
      - net-info
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TIMEOUT=60
          export ENABLED_SERVICES=murano,murano-api,murano-engine,tempest
          export PROJECTS="stackforge/murano $PROJECTS"
          export PROJECTS="stackforge/murano-dashboard $PROJECTS"
          export PROJECTS="stackforge/python-muranoclient $PROJECTS"

          function pre_test_hook {
              cd /opt/stack/new/murano/functionaltests
              ./pre_test_hook.sh
          }
          export -f pre_test_hook

          function post_test_hook {
              cd /opt/stack/new/murano/functionaltests
              ./post_test_hook.sh
          }
          export -f post_test_hook

          cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
          ./safe-devstack-vm-gate-wrap.sh

    publishers:
      - devstack-logs
      - console-log

# Murano and Congress integration functional tests
- job:
    name: gate-murano-congress-devstack-dsvm
    node: 'devstack-precise || devstack-trusty'

    wrappers:
      - build-timeout:
          timeout: 65
      - timestamps

    builders:
      - link-logs
      - net-info
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TIMEOUT=60
          export ENABLED_SERVICES=murano,murano-api,murano-engine,tempest,congress,mistral
          export PROJECTS="stackforge/murano $PROJECTS"
          export PROJECTS="stackforge/murano-dashboard $PROJECTS"
          export PROJECTS="stackforge/python-muranoclient $PROJECTS"
          export PROJECTS="stackforge/congress $PROJECTS"
          export PROJECTS="stackforge/mistral $PROJECTS"

          export MURANO_ENABLE_MODEL_POLICY_ENFORCEMENT=True

          function pre_test_hook {
              cd /opt/stack/new/murano/functionaltests
              ./pre_test_hook_congress.sh
              ./pre_test_hook_mistral.sh
              ./pre_test_hook.sh
          }
          export -f pre_test_hook

          function post_test_hook {
              cd /opt/stack/new/murano/functionaltests
              ./post_test_hook.sh congress_mistral
          }
          export -f post_test_hook

          cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
          ./safe-devstack-vm-gate-wrap.sh<commit_msg>Congress client repository clone fix<commit_after>- job:
    name: gate-murano-devstack-dsvm
    node: 'devstack-precise || devstack-trusty'

    wrappers:
      - build-timeout:
          timeout: 65
      - timestamps

    builders:
      - link-logs
      - net-info
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TIMEOUT=60
          export ENABLED_SERVICES=murano,murano-api,murano-engine,tempest
          export PROJECTS="stackforge/murano $PROJECTS"
          export PROJECTS="stackforge/murano-dashboard $PROJECTS"
          export PROJECTS="stackforge/python-muranoclient $PROJECTS"

          function pre_test_hook {
              cd /opt/stack/new/murano/functionaltests
              ./pre_test_hook.sh
          }
          export -f pre_test_hook

          function post_test_hook {
              cd /opt/stack/new/murano/functionaltests
              ./post_test_hook.sh
          }
          export -f post_test_hook

          cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
          ./safe-devstack-vm-gate-wrap.sh

    publishers:
      - devstack-logs
      - console-log

# Murano and Congress integration functional tests
- job:
    name: gate-murano-congress-devstack-dsvm
    node: 'devstack-precise || devstack-trusty'

    wrappers:
      - build-timeout:
          timeout: 65
      - timestamps

    builders:
      - link-logs
      - net-info
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TIMEOUT=60
          export ENABLED_SERVICES=murano,murano-api,murano-engine,tempest,congress,mistral
          export PROJECTS="stackforge/murano $PROJECTS"
          export PROJECTS="stackforge/murano-dashboard $PROJECTS"
          export PROJECTS="stackforge/python-muranoclient $PROJECTS"
          export PROJECTS="stackforge/congress $PROJECTS"
          export PROJECTS="stackforge/python-congressclient $PROJECTS"
          export PROJECTS="stackforge/mistral $PROJECTS"
          export PROJECTS="stackforge/python-mistralclient $PROJECTS"

          export MURANO_ENABLE_MODEL_POLICY_ENFORCEMENT=True

          function pre_test_hook {
              cd /opt/stack/new/murano/functionaltests
              ./pre_test_hook_congress.sh
              ./pre_test_hook_mistral.sh
              ./pre_test_hook.sh
          }
          export -f pre_test_hook

          function post_test_hook {
              cd /opt/stack/new/murano/functionaltests
              ./post_test_hook.sh congress_mistral
          }
          export -f post_test_hook

          cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
          ./safe-devstack-vm-gate-wrap.sh
{'fraction_non_alphanumeric': 0.08674963396778916, 'fraction_numerical': 0.0029282576866764276, 'mean_word_length': 1.92089791555318, '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': '6853429', 'n_tokens_mistral': 1812, 'n_tokens_neox': 1700, 'n_words': 263}