-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into renovate/maven-org.postgresql-postgresql-v…
…ulnerability
- Loading branch information
Showing
2 changed files
with
8 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,21 @@ | ||
docker: | ||
image: yegor256/rultor-image:1.19.0 | ||
assets: | ||
rubygems.yml: yegor256/home#assets/rubygems.yml | ||
s3cfg: yegor256/home#assets/s3cfg | ||
install: | | ||
export PATH=$PATH:/usr/lib/postgresql/10/bin | ||
sudo apt-get -y update | ||
sudo apt-get -y install libpq-dev | ||
export GEM_HOME=~/.ruby | ||
export GEM_PATH=$GEM_HOME:$GEM_PATH | ||
sudo apt-get -y update | ||
sudo gem install pdd -v 0.20.5 | ||
pdd -f /dev/null | ||
sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" | ||
release: | ||
script: |- | ||
bundle install | ||
rake | ||
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 | ||
bundle exec rake | ||
rm -rf *.gem | ||
sed -i "s/1\.0\.snapshot/${tag}/g" lib/pgtk/version.rb | ||
sed -i "s/0\.0\.0/${tag}/g" lib/pgtk/version.rb | ||
git add lib/pgtk/version.rb | ||
git commit -m "version set to ${tag}" | ||
gem build pgtk.gemspec | ||
chmod 0600 ../rubygems.yml | ||
gem push *.gem --config-file ../rubygems.yml | ||
commanders: | ||
- yegor256 | ||
architect: | ||
- yegor256 | ||
merge: | ||
script: |- | ||
bundle install | ||
bundle exec rake | ||
pdd -f /dev/null | ||
deploy: | ||
script: |- | ||
echo "There is nothing to deploy" | ||
exit -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters