<commit_before>version: 2
jobs:
  build:
    working_directory: /root/project
    docker:
      # Primary container where all steps run
      - image: elderhq/java-circle-image:20170502-1
      # Secondary container with a test eventstore instance
      - image: eventstore/eventstore:21.10.2-buster-slim
        environment:
          EVENTSTORE_CLUSTER_SIZE: 1
          EVENTSTORE_RUN_PROJECTIONS: All
          EVENTSTORE_START_STANDARD_PROJECTIONS: true
          EVENTSTORE_EXT_TCP_PORT: 1113
          EVENTSTORE_HTTP_PORT: 2113
          EVENTSTORE_INSECURE: true
          EVENTSTORE_ENABLE_EXTERNAL_TCP: true
          EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP: true
    steps:
      - checkout
      - run:
          name: Building and running unit tests
          command: . infra/run-tests.sh
      - run:
          name: (Maybe) Running Sonar in preview mode
          command: |
            if [ -n "$CI_PULL_REQUEST" ]; then
              echo "Running Sonar in preview mode for PR $CI_PULL_REQUEST"
              . infra/runsonar-preview.sh
            else
              echo "Not relevant, skipping step"
            fi
      - run:
          name: (Maybe) publishing to maven central or internal nexus
          command: |
            if [[ "${CIRCLE_TAG}" =~ v[0-9]+(\.[0-9]+)* ]]; then
              echo "Publishing to maven central (tag is $CIRCLE_TAG)"
              . infra/publish-artifacts-central.sh
            elif [ -n "${CIRCLE_TAG}" ]; then
              echo "Publishing to internal maven (tag is $CIRCLE_TAG)"
              . infra/publish-artifacts-internal.sh<commit_msg>Setting up docker engine again<commit_after>version: 2
jobs:
  build:
    working_directory: /root/project
    docker:
      # Primary container where all steps run
      - image: elderhq/java-circle-image:20170502-1
      # Secondary container with a test eventstore instance
      - image: eventstore/eventstore:21.10.2-buster-slim
        environment:
          EVENTSTORE_CLUSTER_SIZE: 1
          EVENTSTORE_RUN_PROJECTIONS: All
          EVENTSTORE_START_STANDARD_PROJECTIONS: true
          EVENTSTORE_EXT_TCP_PORT: 1113
          EVENTSTORE_HTTP_PORT: 2113
          EVENTSTORE_INSECURE: true
          EVENTSTORE_ENABLE_EXTERNAL_TCP: true
          EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP: true
    steps:
      - checkout
      - setup_remote_docker
      - run:
          name: Building and running unit tests
          command: . infra/run-tests.sh
      - run:
          name: (Maybe) Running Sonar in preview mode
          command: |
            if [ -n "$CI_PULL_REQUEST" ]; then
              echo "Running Sonar in preview mode for PR $CI_PULL_REQUEST"
              . infra/runsonar-preview.sh
            else
              echo "Not relevant, skipping step"
            fi
      - run:
          name: (Maybe) publishing to maven central or internal nexus
          command: |
            if [[ "${CIRCLE_TAG}" =~ v[0-9]+(\.[0-9]+)* ]]; then
              echo "Publishing to maven central (tag is $CIRCLE_TAG)"
              . infra/publish-artifacts-central.sh
            elif [ -n "${CIRCLE_TAG}" ]; then
              echo "Publishing to internal maven (tag is $CIRCLE_TAG)"
              . infra/publish-artifacts-internal.sh
{'fraction_non_alphanumeric': 0.08084844758684291, 'fraction_numerical': 0.017214878573624345, 'mean_word_length': 1.9315315315315316, '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': '1262904', 'n_tokens_mistral': 1017, 'n_tokens_neox': 948, 'n_words': 242}