-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Verifier to deploy without BLI
This is a big change but the net effect is that we can now deploy the verifier using just a Python script. BLI was a good experiment but this is the only project that ended up using it. While here, I moved all Dock-related scripts in the `dock` directory, and all Jenkins-related scripts in the `jenkins` directory. Change-Id: Ifdaadef30f58fd82a65848de52c20e3bab621d45 Reviewed-on: https://code.brigade.zone/19525 Tested-by: Leeroy Jenkins <[email protected]> Reviewed-by: Shane da Silva <[email protected]>
- Loading branch information
Showing
17 changed files
with
165 additions
and
257 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
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
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Specifies the gems available during an Overcommit hook run. | ||
# | ||
# After updating this file, run: | ||
# | ||
# bundle install --gemfile=.overcommit_gems.rb | ||
# | ||
# ...to update the associated lock file. | ||
|
||
source 'https://rubygems.org' do | ||
gem 'overcommit', '0.37.0' | ||
end |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
childprocess (0.5.9) | ||
ffi (~> 1.0, >= 1.0.11) | ||
ffi (1.9.14) | ||
iniparse (1.4.2) | ||
overcommit (0.37.0) | ||
childprocess (~> 0.5.8) | ||
iniparse (~> 1.4) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
overcommit (= 0.37.0)! | ||
|
||
BUNDLED WITH | ||
1.12.5 |
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,22 +1,8 @@ | ||
# Defines the set up steps necessary to create an image to use Dock with this | ||
# repository, allowing you to easily develop or test the Verifier. | ||
# Defines the set of steps needed to create an image suitable for deploying the | ||
# Verifier to Marathon. | ||
|
||
FROM brigade/ruby:2.3.1-latest | ||
FROM brigade/centos:7.2.1511-latest | ||
|
||
# Install Docker-related software. We can't just mount the host executables in | ||
# the container since the host may be a Mac and thus using a different build | ||
***REMOVED*** | ||
| tar -xzf - -C /usr/local/bin --strip-components=1 \ | ||
***REMOVED*** | ||
| tar -xzf - -C /usr/local/bin \ | ||
&& chmod +x /usr/local/bin/docker-compose | ||
|
||
RUN yum install -y \ | ||
# Needed to install virtualenv via easy_install | ||
python-setuptools \ | ||
# Used by Chronos job to do monthly imports | ||
pv \ | ||
|
||
# Used to maintain isolated Python environment in the repo | ||
&& easy_install virtualenv \ | ||
&& yum clean all | ||
# Copy all source code into the container | ||
# See the .dockerignore file for a list of files that are excluded | ||
ADD . /src |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Exclude all files from the Docker build context by default. | ||
# This speeds up the start time of any `dock` command. | ||
# | ||
# Whitelist files/patterns for inclusion by prepending "!" to them. | ||
* |
Oops, something went wrong.