BREAKING CHANGE: don't proxy source gems
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
by using our own repo as proxy, we were caching source gems. if the build fails, bundle would try to get the latest source version and fail.
This commit is contained in:
parent
3e5e5e4f92
commit
c70e9afc3a
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ OS_VERSION="$(os-version)"
|
||||||
RUBY_GEMS="${OS_VERSION}.${ID}.gems.${SUTTY}"
|
RUBY_GEMS="${OS_VERSION}.${ID}.gems.${SUTTY}"
|
||||||
|
|
||||||
cd cache/
|
cd cache/
|
||||||
gem fetch --source=https://${RUBY_GEMS} --platform=ruby --version ${GEM_VERSION} ${GEM_NAME}
|
gem fetch --source=https://rubygems.org --platform=ruby --version ${GEM_VERSION} ${GEM_NAME}
|
||||||
|
|
||||||
cd ../gems/
|
cd ../gems/
|
||||||
gem compile -V --prune --strip "strip --strip-unneeded" ${GEM_COMPILER_FLAGS} "../cache/${GEM_NAME}-${GEM_VERSION}.gem"
|
gem compile -V --prune --strip "strip --strip-unneeded" ${GEM_COMPILER_FLAGS} "../cache/${GEM_NAME}-${GEM_VERSION}.gem"
|
||||||
|
|
Loading…
Reference in a new issue