Commit 7ef6fb59 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Merge branch 'master' into upstream_packages

parents 02e4d5fd ce29ceec
---
stages:
- rubocop
- foodcritic
- chefspec
- kitchen
rubocop:
stage: rubocop
script:
- rake rubocop
foodcritic:
stage: foodcritic
script:
- rake foodcritic
chefspec:
stage: chefspec
script:
- rake chefspec
allow_failure: true
kitchen:
stage: kitchen
resource_group: $CI_JOB_NAME-$CI_PROJECT_NAME
script:
- kitchen test $SUITE-$PLATFORM
after_script:
# make sure failed runs are cleaned up too:
- kitchen destroy $SUITE-$PLATFORM
parallel:
matrix:
- PLATFORM:
# - jessie
- stretch
- buster
SUITE:
- $CI_PROJECT_NAME
.post:
script:
- kitchen destroy
......@@ -7,8 +7,8 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
source_url 'https://git.gsi.de:chef/cookbooks/cernvm-fs/'
issues_url 'https://git.gsi.de:chef/cookbooks/cernvm-fs/issues'
version "0.5.0"
version "1.0.0"
depends "sys", '>= 1.51.0'
depends "apache2", '< 6.0'
depends "apache2", '< 8.0'
supports "debian", ">= 7.0"
Vagrant.configure(2) do |config|
# install the Debian-provided Chef package
config.vm.provision "shell", inline: <<-SHELL
config.vm.provision 'shell', inline: <<-SHELL
sudo apt-get -qq update
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install chef
sudo DEBIAN_FRONTEND=noninteractive apt-get -qq -y install chef
sudo gem install chef-vault --version '< 4'
SHELL
# configure proxy if required:
if Vagrant.has_plugin?('vagrant-proxyconf')
config.proxy.http = 'http://proxy.gsi.de:3128/'
config.proxy.https = 'http://proxy.gsi.de:3128/'
config.proxy.no_proxy = 'localhost,127.0.0.1,.gsi.de'
end
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment