Sha256: 4a12e409b92875eeb179e80c739ecdc5c1261ac6f7ba25be1acf29152abdec59

Contents?: true

Size: 1.39 KB

Versions: 5

Compression:

Stored size: 1.39 KB

Contents

assets:
  rubygems.yml: zerocracy/home#assets/rubygems.yml
  id_rsa: zerocracy/home#assets/heroku-key
  id_rsa.pub: zerocracy/home#assets/heroku-key.pub
  bonus.key: zerocracy/home#assets/zold/bonus.key
install: |
  sudo apt-get -y update
  sudo gem install pdd
release:
  script: |-
    [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
    rm -rf *.gem
    sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb
    bundle install
    rake --quiet
    git add lib/zold/version.rb
    git commit -m "version set to ${tag}"
    gem build zold.gemspec
    chmod 0600 ../rubygems.yml
    gem push *.gem --config-file ../rubygems.yml
    git remote add heroku git@heroku.com:zold.git
    rm -rf ~/.ssh
    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
    sed -i -s 's|Gemfile.lock||g' .gitignore
    bundle update
    trap 'git reset HEAD~1' EXIT
    git add Gemfile.lock
    git add .gitignore
    git fetch
    cp ../bonus.key . && git add bonus.key
    git commit -m 'config' && git push -f heroku $(git symbolic-ref --short HEAD):master
    curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null
architect:
- yegor256
merge:
  script: |-
    bundle install
    rake --quiet
    pdd -f /dev/null -v
deploy:
  script: |-
    echo "There is nothing to deploy"
    exit -1

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zold-0.14.4 .rultor.yml
zold-0.14.3 .rultor.yml
zold-0.14.2 .rultor.yml
zold-0.14.1 .rultor.yml
zold-0.14.0 .rultor.yml