<commit_before>version: 2

defaults:

  container: &default_container
    working_directory: ~/build
    docker:
      - image: circleci/openjdk:8-jdk

  release_filter: &release_filter
    filters:
      tags:
        only: /.*/


jobs:

  build_and_deploy_image:
     <<: *default_container
     steps:
       - checkout
       - setup_remote_docker:
           version: 17.05.0-ce
       - run:
           name: Build and deploy docker image
           command: |
             docker build -t build/kafka-namager -f ./Dockerfile ./
             docker login -u $DOCKER_USER -p $DOCKER_PASS
             docker tag build/kafka-namager hlebalbau/kafka-namager:$CIRCLE_TAG
             docker push hlebalbau/kafka-namager:$CIRCLE_TAG
             docker tag build/cm-stream-api hlebalbau/kafka-namager:latest
             docker push hlebalbau/kafka-namager:latest


workflows:
  version: 2<commit_msg>Fix circle ci release filter<commit_after>version: 2

defaults:

  container: &default_container
    working_directory: ~/build
    docker:
      - image: circleci/openjdk:8-jdk

  release_filter: &release_filter
    filters:
      tags:
        only: /.*/
      branches:
        ignore: /.*/


jobs:

  build_and_deploy_image:
     <<: *default_container
     steps:
       - checkout
       - setup_remote_docker:
           version: 17.05.0-ce
       - run:
           name: Build and deploy docker image
           command: |
             docker build -t build/kafka-namager -f ./Dockerfile ./
             docker login -u $DOCKER_USER -p $DOCKER_PASS
             docker tag build/kafka-namager hlebalbau/kafka-namager:$CIRCLE_TAG
             docker push hlebalbau/kafka-namager:$CIRCLE_TAG
             docker tag build/cm-stream-api hlebalbau/kafka-namager:latest
             docker push hlebalbau/kafka-namager:latest


workflows:
  version: 2
{'fraction_non_alphanumeric': 0.08620689655172414, 'fraction_numerical': 0.008620689655172414, 'mean_word_length': 2.0392798690671032, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7179167', 'n_tokens_mistral': 630, 'n_tokens_neox': 590, 'n_words': 125}