Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test « scripts « project_with_checksum_lock « test « bundler-checksum « gems « vendor - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9b6d83591f877cc5dc01f3622b587ee0042cab6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -x
set -e

# Ensure that each gem has a checksum entry
ruby -I ../../lib ../../bin/bundler-checksum lint

# Check there's no differences after re-initialising
ruby -I ../../lib ../../bin/bundler-checksum init
git diff --exit-code Gemfile.checksum

# Verify against rubygems.org
ruby -I ../../lib ../../bin/bundler-checksum verify

# Test installing with bundler-checksum
export BUNDLER_CHECKSUM_VERIFICATION_OPT_IN=1
bundle install