<commit_before>version: "2"
services:

  notification:
    image: openlmis/notification:${OL_NOTIFICATION_VERSION}
    mem_limit: 512m
    env_file: settings.env
    environment:
      JAVA_OPTS: '-Xmx256m -Dlogging.config=/logback.xml'
    volumes:
      - './logback.xml:/logback.xml'
    depends_on: [log]

  contract_tests:
    mem_limit: 768m
    image: openlmis/dev:${DOCKER_DEV_IMAGE_VERSION}
    environment:
      GRADLE_OPTS: '-Xmx256m'
    env_file: settings.env
    volumes:
      - '.:/app'
      - 'gradlecache:/gradle'
    links:
    - db
    - log
    - nginx
    - consul
    - auth
    - referencedata
    - notification

    entrypoint:
      - 'gradle'
      - 'clean'
      - 'waitFor'
      - '-Pcontainers=
        ${BASE_URL}/auth
        ,${BASE_URL}/notification
        ,${BASE_URL}/referencedata'
      - 'cucumber'
      - '-Ptags=@UserTests,@ApiKeyTests,@IdealStockAmountTests,@FacilityTypeTests,@ProgramTests,@SupervisoryNodeTests'
      - '--stacktrace'<commit_msg>OLMIS-4386: added --no-daemon option to reference data tests<commit_after>version: "2"
services:

  notification:
    image: openlmis/notification:${OL_NOTIFICATION_VERSION}
    mem_limit: 512m
    env_file: settings.env
    environment:
      JAVA_OPTS: '-Xmx256m -Dlogging.config=/logback.xml'
    volumes:
      - './logback.xml:/logback.xml'
    depends_on: [log]

  contract_tests:
    mem_limit: 768m
    image: openlmis/dev:${DOCKER_DEV_IMAGE_VERSION}
    environment:
      GRADLE_OPTS: '-Xmx256m'
    env_file: settings.env
    volumes:
      - '.:/app'
      - 'gradlecache:/gradle'
    links:
    - db
    - log
    - nginx
    - consul
    - auth
    - referencedata
    - notification

    entrypoint:
      - 'gradle'
      - 'clean'
      - 'waitFor'
      - '-Pcontainers=
        ${BASE_URL}/auth
        ,${BASE_URL}/notification
        ,${BASE_URL}/referencedata'
      - 'cucumber'
      - '-Ptags=@UserTests,@ApiKeyTests,@IdealStockAmountTests,@FacilityTypeTests,@ProgramTests,@SupervisoryNodeTests'
      - '--stacktrace'
      - '--no-daemon'
{'fraction_non_alphanumeric': 0.12942317014057197, 'fraction_numerical': 0.014541929229277752, 'mean_word_length': 2.405940594059406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '2247381', 'n_tokens_mistral': 772, 'n_tokens_neox': 725, 'n_words': 107}