<commit_before>install: |-
  sudo apt-get install bsdmainutils
  sudo gem install pdd
  sudo gem install est
architect:
- ggajos
- yegor256
- karato
assets:
  secring.gpg: yegor256/home#assets/secring.gpg
  id_rsa: yegor256/home#assets/heroku-key
  settings.xml: yegor256/home#assets/nerodesk/settings.xml
  pubring.gpg: yegor256/home#assets/pubring.gpg
  id_rsa.pub: yegor256/home#assets/heroku-key.pub
  s3cfg: yegor256/home#assets/s3cfg
merge:
  script: |-
    mvn help:system clean install -Pqulice,cobertura -Pnerodesk --errors --settings ../settings.xml
    mvn clean site -Psite --errors --settings ../settings.xml
    mvn clean
    pdd --source=$(pwd) --verbose --file=/dev/null
deploy:
  script: |-
    mvn clean package -Pnerodesk -Pqulice,cobertura --errors --settings ../settings.xml --batch-mode
    mvn clean
    pdd --source=$(pwd) --verbose --file=nerodesk.xml
    s3cmd --no-progress put nerodesk.xml --config=../s3cfg s3://pdd.teamed.io/nerodesk.xml
    est --dir=$(pwd)/est --verbose --file=nerodesk.xml --format=xml
    s3cmd --no-progress put nerodesk.xml --config=../s3cfg s3://est.teamed.io/nerodesk.xml
env:
  MAVEN_OPTS: -XX:MaxPermSize=256m -Xmx1g
release:
  script: |-
    mvn versions:set "-DnewVersion=${tag}"
    git commit -am "${tag}"
    cp ../settings.xml settings.xml
    mvn clean package -Pqulice -Pnerodesk --errors --batch-mode
    git remote add heroku <EMAIL>:nerodesk.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
    git add src/main/resources/log4j.properties
    git commit -m 'build number set'
    git add settings.xml
    git commit -m 'settings.xml'
    git fetch --unshallow
    git push -f heroku $(git symbolic-ref --short HEAD):master<commit_msg>updated merge/commanders list<commit_after>install: |-
  sudo apt-get install bsdmainutils
  sudo gem install pdd
  sudo gem install est
architect:
- ggajos
- yegor256
- karato
assets:
  secring.gpg: yegor256/home#assets/secring.gpg
  id_rsa: yegor256/home#assets/heroku-key
  settings.xml: yegor256/home#assets/nerodesk/settings.xml
  pubring.gpg: yegor256/home#assets/pubring.gpg
  id_rsa.pub: yegor256/home#assets/heroku-key.pub
  s3cfg: yegor256/home#assets/s3cfg
merge:
  script: |-
    mvn help:system clean install -Pqulice,cobertura -Pnerodesk --errors --settings ../settings.xml
    mvn clean site -Psite --errors --settings ../settings.xml
    mvn clean
    pdd --source=$(pwd) --verbose --file=/dev/null
  commanders:
  - ggajos
  - darkled
  - caarlos0
  - carlosmiranda
  - maurezen
  - krzyk
  - longtimeago
  - alevohin
deploy:
  script: |-
    mvn clean package -Pnerodesk -Pqulice,cobertura --errors --settings ../settings.xml --batch-mode
    mvn clean
    pdd --source=$(pwd) --verbose --file=nerodesk.xml
    s3cmd --no-progress put nerodesk.xml --config=../s3cfg s3://pdd.teamed.io/nerodesk.xml
    est --dir=$(pwd)/est --verbose --file=nerodesk.xml --format=xml
    s3cmd --no-progress put nerodesk.xml --config=../s3cfg s3://est.teamed.io/nerodesk.xml
env:
  MAVEN_OPTS: -XX:MaxPermSize=256m -Xmx1g
release:
  script: |-
    mvn versions:set "-DnewVersion=${tag}"
    git commit -am "${tag}"
    cp ../settings.xml settings.xml
    mvn clean package -Pqulice -Pnerodesk --errors --batch-mode
    git remote add heroku <EMAIL>:nerodesk.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
    git add src/main/resources/log4j.properties
    git commit -m 'build number set'
    git add settings.xml
    git commit -m 'settings.xml'
    git fetch --unshallow
    git push -f heroku $(git symbolic-ref --short HEAD):master
{'fraction_non_alphanumeric': 0.1433255269320843, 'fraction_numerical': 0.018032786885245903, 'mean_word_length': 2.886260236578708, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 32}, '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': '6830401', 'n_tokens_mistral': 1696, 'n_tokens_neox': 1595, 'n_words': 362}