<commit_before>assets:
  settings.xml: "yegor256/home#assets/rultor/settings.xml"
  pubring.gpg: "yegor256/home#assets/pubring.gpg"
  secring.gpg: "yegor256/home#assets/secring.gpg"
  id_rsa: "yegor256/home#assets/heroku-key"
  id_rsa.pub: "yegor256/home#assets/heroku-key.pub"
  s3cfg: "yegor256/home#assets/s3cfg"

env:
  MAVEN_OPTS: "-XX:MaxPermSize=256m -Xmx1g"

architect:
  - yegor256

install: |
  sudo apt-get install bsdmainutils
  sudo gem install pdd
  cd src/bundle
  sudo bundle install
  cd ../..

deploy:
  script: |
    mvn clean package -Prultor --errors --settings ../settings.xml --batch-mode
    mvn clean
    pdd --source=$(pwd) --verbose --file=rultor.xml
    s3cmd --no-progress put rultor.xml --config=../s3cfg s3://pdd.teamed.io/rultor.xml

release:
  script: |
    mvn versions:set "-DnewVersion=${tag}"
    git commit -am "${tag}"
    cp ../settings.xml settings.xml
    mvn clean package -Pqulice -Prultor --errors --batch-mode
    git remote add heroku <EMAIL>@heroku.com:rultor.git
    mkdir ~/.ssh
    mv ../id_rsa ../id_rsa.pub ~/.ssh
    chmod -R 600 ~/.ssh/*
    echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config
    build=$(git rev-parse --short HEAD)
    sed -i "s/BUILD/${build}/g" src/main/resources/META-INF/MANIFEST.MF
    sed -i "s/BUILD/${build}/g" src/main/resources/log4j.properties
    git add src/main/resources/META-INF/MANIFEST.MF<commit_msg>architect<commit_after>assets:
  settings.xml: "yegor256/home#assets/rultor/settings.xml"
  pubring.gpg: "yegor256/home#assets/pubring.gpg"
  secring.gpg: "yegor256/home#assets/secring.gpg"
  id_rsa: "yegor256/home#assets/heroku-key"
  id_rsa.pub: "yegor256/home#assets/heroku-key.pub"
  s3cfg: "yegor256/home#assets/s3cfg"

env:
  MAVEN_OPTS: "-XX:MaxPermSize=256m -Xmx1g"

architect:
  - yegor256
  - alex-palevsky

install: |
  sudo apt-get install bsdmainutils
  sudo gem install pdd
  cd src/bundle
  sudo bundle install
  cd ../..

deploy:
  script: |
    mvn clean package -Prultor --errors --settings ../settings.xml --batch-mode
    mvn clean
    pdd --source=$(pwd) --verbose --file=rultor.xml
    s3cmd --no-progress put rultor.xml --config=../s3cfg s3://pdd.teamed.io/rultor.xml

release:
  script: |
    mvn versions:set "-DnewVersion=${tag}"
    git commit -am "${tag}"
    cp ../settings.xml settings.xml
    mvn clean package -Pqulice -Prultor --errors --batch-mode
    git remote add heroku <EMAIL>:rultor.git
    mkdir ~/.ssh
    mv ../id_rsa ../id_rsa.pub ~/.ssh
    chmod -R 600 ~/.ssh/*
    echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config
    build=$(git rev-parse --short HEAD)
    sed -i "s/BUILD/${build}/g" src/main/resources/META-INF/MANIFEST.MF
    sed -i "s/BUILD/${build}/g" src/main/resources/log4j.properties
    git add src/main/resources/META-INF/MANIFEST.MF
{'fraction_non_alphanumeric': 0.15545486232136632, 'fraction_numerical': 0.023701638201463926, 'mean_word_length': 2.997214484679666, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, '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': '6757591', 'n_tokens_mistral': 1224, 'n_tokens_neox': 1141, 'n_words': 226}