<commit_before>version: '3'

services:
  # https://docs.docker.com/docker-cloud/builds/automated-testing/
  sut:
    image: diamondb_web
    entrypoint: [/wait-for-it.sh, "web:8000", --timeout=30, --strict, --]
    command: go test -v -tags integration github.com/yuuki/diamondb/test/integration/...
    depends_on:
      - web
  web:
    image: diamondb_web
    expose:
      - "8000"
    environment:
      - DIAMONDB_REDIS_ADDRS=redis:6379
      - DIAMONDB_DYNAMODB_ENDPOINT=http://dynamodb:8000
      - DIAMONDB_DYNAMODB_DISABLE_TTL=1
<commit_msg>Add missing wrapper to wait dynamodb on testing<commit_after>version: '3'

services:
  # https://docs.docker.com/docker-cloud/builds/automated-testing/
  sut:
    image: diamondb_web
    entrypoint: [/wait-for-it.sh, "web:8000", --timeout=30, --strict, --]
    command: go test -v -tags integration github.com/yuuki/diamondb/test/integration/...
    depends_on:
      - web
  web:
    image: diamondb_web
    entrypoint: [/wait-for-it.sh, "dynamodb:8000", --timeout=30, --strict, --, /go/src/github.com/yuuki/diamondb/diamondb-server]
    expose:
      - "8000"
    environment:
      - DIAMONDB_REDIS_ADDRS=redis:6379
      - DIAMONDB_DYNAMODB_ENDPOINT=http://dynamodb:8000
      - DIAMONDB_DYNAMODB_DISABLE_TTL=1

{'fraction_non_alphanumeric': 0.1406003159557662, 'fraction_numerical': 0.036334913112164295, 'mean_word_length': 2.996845425867508, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6317507', 'n_tokens_mistral': 530, 'n_tokens_neox': 480, 'n_words': 73}