ci: Switch to static gem build names in non-shared dirs

Having multiple different VMs building gems inside a shared dir was
causing them to collide, making the second build always fail.
This commit is contained in:
Paul Hinze 2022-04-25 14:51:11 -05:00
parent 93eaf6c885
commit f748c42921
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -27,8 +27,8 @@ git config --global url."https://${HASHIBOT_USERNAME}:${HASHIBOT_TOKEN}@github.c
gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)"
make
bundle install
gem build vagrant.gemspec
gem install vagrant*.gem
gem build -o /tmp/vagrant.gem vagrant.gemspec
gem install /tmp/vagrant.gem
popd
@ -40,6 +40,6 @@ pushd vagrant-spec
# necessary. Once this branch lands we can remove this line and build from main.
git checkout vagrant-ruby
gem build vagrant-spec.gemspec
gem install vagrant-spec*.gem
gem build -o /tmp/vagrant-spec.gem vagrant-spec.gemspec
gem install /tmp/vagrant-spec.gem
popd