<commit_before>general:
  branches:
    ignore:
      - gh\-pages
      - /pull\/.*/

machine:
  services:
    - docker
  environment:
    GOPATH: /home/ubuntu:$GOPATH
    SRCDIR: /home/ubuntu/src/github.com/weaveworks/weave
    PATH: $PATH:$HOME/.local/bin
    CLOUDSDK_CORE_DISABLE_PROMPTS: 1

dependencies:
  cache_directories:
    - "~/docker"
  post:
    - "sudo apt-get update && sudo apt-get install bc jq"
    - bin/setup-circleci-secrets "$SECRET_PASSWORD"
    - "mkdir -p $(dirname $SRCDIR) && cp -r $(pwd)/ $SRCDIR"
    - "cd $SRCDIR; git submodule update --init"
    - cd $SRCDIR/test; ./gce.sh make_template:
        parallel: false
    - "cd $SRCDIR/build; ../tools/rebuild-image weaveworks/weavebuild . Dockerfile build.sh && touch $SRCDIR/.build.uptodate"<commit_msg>Revert "Do not fetch Google Cloud SDK"<commit_after>general:
  branches:
    ignore:
      - gh\-pages
      - /pull\/.*/

machine:
  services:
    - docker
  environment:
    GOPATH: /home/ubuntu:$GOPATH
    SRCDIR: /home/ubuntu/src/github.com/weaveworks/weave
    PATH: $PATH:$HOME/.local/bin:$HOME/google-cloud-sdk/bin/
    CLOUDSDK_CORE_DISABLE_PROMPTS: 1

dependencies:
  cache_directories:
    - "~/docker"
  post:
    - "sudo apt-get update && sudo apt-get install bc jq"
    - curl https://sdk.cloud.google.com | bash
    - bin/setup-circleci-secrets "$SECRET_PASSWORD"
    - "mkdir -p $(dirname $SRCDIR) && cp -r $(pwd)/ $SRCDIR"
    - "cd $SRCDIR; git submodule update --init"
    - cd $SRCDIR/test; ./gce.sh make_template:
        parallel: false
    - "cd $SRCDIR/build; ../tools/rebuild-image weaveworks/weavebuild . Dockerfile build.sh && touch $SRCDIR/.build.uptodate"
{'fraction_non_alphanumeric': 0.1482593037214886, 'fraction_numerical': 0.0012004801920768306, 'mean_word_length': 2.696230598669623, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '7404531', 'n_tokens_mistral': 644, 'n_tokens_neox': 616, 'n_words': 126}