Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
Generate zips for all stacks using berkshelf
Browse files Browse the repository at this point in the history
Related: DEVOPS-23, #1078
  • Loading branch information
baccenfutter authored and till committed Aug 2, 2016
1 parent a1d3961 commit 791fcb9
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 16 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -7,6 +7,7 @@ cache: bundler
script:
- make cs
- make test
- make berkshelf

before_deploy:
- tar cfz easybib-cookbooks.tar.gz * --exclude=easybib-cookbooks.tar.gz --exclude=vendor/
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -8,5 +8,6 @@ gem 'fauxhai', '~>2.3.0'
gem 'test-kitchen', '~>1.0.0.beta.3'
gem 'rubocop', '~>0.37.0'
gem 'aws-sdk', '~>1.0'
gem 'dep-selector-libgecode', '~>1.2.0'
gem 'berkshelf', '~>3.3'
gem 'kitchen-vagrant', :group => :integration
10 changes: 10 additions & 0 deletions Makefile
@@ -1,4 +1,5 @@
rake=bundle exec rake
berks=bundle exec berks

cs:
$(rake) rubocop
Expand All @@ -10,3 +11,12 @@ test:

release:
bundle exec berks package --quiet

berkshelf:
cd stack-api; $(berks) package
cd stack-citationapi; $(berks) package
cd stack-cmbm; $(berks) package
cd stack-easybib; $(berks) package
cd stack-ops; $(berks) package
cd stack-research; $(berks) package
cd stack-service; $(berks) package
2 changes: 0 additions & 2 deletions stack-api/.gitignore
Expand Up @@ -9,10 +9,8 @@ pkg/
# Berkshelf
.vagrant
/cookbooks
Berksfile.lock

# Bundler
Gemfile.lock
bin/*
.bundle/*

Expand Down
2 changes: 0 additions & 2 deletions stack-citationapi/.gitignore
Expand Up @@ -9,10 +9,8 @@ pkg/
# Berkshelf
.vagrant
/cookbooks
Berksfile.lock

# Bundler
Gemfile.lock
bin/*
.bundle/*

Expand Down
2 changes: 0 additions & 2 deletions stack-cmbm/.gitignore
Expand Up @@ -9,10 +9,8 @@ pkg/
# Berkshelf
.vagrant
/cookbooks
Berksfile.lock

# Bundler
Gemfile.lock
bin/*
.bundle/*

Expand Down
2 changes: 0 additions & 2 deletions stack-easybib/.gitignore
Expand Up @@ -9,10 +9,8 @@ pkg/
# Berkshelf
.vagrant
/cookbooks
Berksfile.lock

# Bundler
Gemfile.lock
bin/*
.bundle/*

Expand Down
2 changes: 0 additions & 2 deletions stack-ops/.gitignore
Expand Up @@ -9,10 +9,8 @@ pkg/
# Berkshelf
.vagrant
/cookbooks
Berksfile.lock

# Bundler
Gemfile.lock
bin/*
.bundle/*

Expand Down
2 changes: 0 additions & 2 deletions stack-qa/.gitignore
Expand Up @@ -9,10 +9,8 @@ pkg/
# Berkshelf
.vagrant
/cookbooks
Berksfile.lock

# Bundler
Gemfile.lock
bin/*
.bundle/*

Expand Down
2 changes: 0 additions & 2 deletions stack-research/.gitignore
Expand Up @@ -9,10 +9,8 @@ pkg/
# Berkshelf
.vagrant
/cookbooks
Berksfile.lock

# Bundler
Gemfile.lock
bin/*
.bundle/*

Expand Down
2 changes: 0 additions & 2 deletions stack-service/.gitignore
Expand Up @@ -9,10 +9,8 @@ pkg/
# Berkshelf
.vagrant
/cookbooks
Berksfile.lock

# Bundler
Gemfile.lock
bin/*
.bundle/*

Expand Down

0 comments on commit 791fcb9

Please sign in to comment.