<commit_before>version: 0.2

phases:
  # install:
  #   runtime-versions:
  #     # Not necessary, we're using docker
  #     #golang: 1.15
  pre_build:
    commands:
      - aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/a2r0u6x1
  build:
    commands:
      - echo Build started on `date`
      - docker build -t tagioalisi-bot .
      - docker tag tagioalisi-bot:latest public.ecr.aws/a2r0u6x1/tagioalisi-bot:latest
  post_build:
    commands:
      - echo Build completed on `date`
      - docker push public.ecr.aws/a2r0u6x1/tagioalisi-bot:latest<commit_msg>Print docker/aws versions<commit_after>version: 0.2

phases:
  # install:
  #   runtime-versions:
  #     # Not necessary, we're using docker
  #     #golang: 1.15
  pre_build:
    commands:
      - 'echo Versions:'
      - docker version
      - aws --version
      - aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/a2r0u6x1
  build:
    commands:
      - echo Build started on `date`
      - docker build -t tagioalisi-bot .
      - docker tag tagioalisi-bot:latest public.ecr.aws/a2r0u6x1/tagioalisi-bot:latest
  post_build:
    commands:
      - echo Build completed on `date`
      - docker push public.ecr.aws/a2r0u6x1/tagioalisi-bot:latest
{'fraction_non_alphanumeric': 0.10788690476190477, 'fraction_numerical': 0.026785714285714284, 'mean_word_length': 2.520942408376963, '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': '3250762', 'n_tokens_mistral': 502, 'n_tokens_neox': 480, 'n_words': 107}