Commit 97700170 authored by Marin Jankovski's avatar Marin Jankovski

Include 14.04 in testing.

parent f53ed9ba
......@@ -6,8 +6,8 @@ describe "gitlab::backup" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
let(:chef_run) do
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::backup")
......@@ -23,7 +23,7 @@ describe "gitlab::backup" do
end
describe "when in development environment" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "development"
runner.converge("gitlab::backup")
......@@ -38,7 +38,7 @@ describe "gitlab::backup" do
describe "under centos" do
["5.8", "6.4"].each do |version|
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::backup")
......@@ -54,7 +54,7 @@ describe "gitlab::backup" do
end
describe "when in development environment" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "development"
runner.converge("gitlab::backup")
......
......@@ -5,7 +5,7 @@ describe "gitlab::clone" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -11,7 +11,7 @@ describe "gitlab::database_mysql" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -11,8 +11,8 @@ describe "gitlab::database_postgresql" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
let(:chef_run) do
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.node.set['gitlab']['database_adapter'] = "postgresql"
......@@ -44,7 +44,7 @@ describe "gitlab::database_postgresql" do
describe "under centos" do
["5.8", "6.4"].each do |version|
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.node.set['gitlab']['database_adapter'] = "postgresql"
......
......@@ -5,7 +5,7 @@ describe "gitlab::default" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -5,8 +5,8 @@ describe "gitlab::deploy" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
let(:chef_run) do
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::deploy")
......@@ -22,7 +22,7 @@ describe "gitlab::deploy" do
end
describe "when in development environment" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "development"
runner.converge("gitlab::deploy")
......@@ -42,7 +42,7 @@ describe "gitlab::deploy" do
describe "under centos" do
["5.8", "6.4"].each do |version|
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::deploy")
......@@ -58,7 +58,7 @@ describe "gitlab::deploy" do
end
describe "when in development environment" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "development"
runner.converge("gitlab::deploy")
......
......@@ -5,8 +5,8 @@ describe "gitlab::gems" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
let(:chef_run) do
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::gems")
......@@ -40,7 +40,7 @@ describe "gitlab::gems" do
end
describe "for development" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "development"
runner.converge("gitlab::gems")
......@@ -56,7 +56,7 @@ describe "gitlab::gems" do
end
describe "when using mysql" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.node.set['gitlab']['database_adapter'] = "mysql"
......@@ -77,7 +77,7 @@ describe "gitlab::gems" do
end
describe "when using postgres" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.node.set['gitlab']['database_adapter'] = "postgresql"
......@@ -154,7 +154,7 @@ describe "gitlab::gems" do
describe "under centos" do
["5.8", "6.4"].each do |version|
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::gems")
......@@ -188,7 +188,7 @@ describe "gitlab::gems" do
end
describe "for development" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "development"
runner.converge("gitlab::gems")
......@@ -204,7 +204,7 @@ describe "gitlab::gems" do
end
describe "when using mysql" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.node.set['gitlab']['database_adapter'] = "mysql"
......@@ -225,7 +225,7 @@ describe "gitlab::gems" do
end
describe "when using postgres" do
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.node.set['gitlab']['database_adapter'] = "postgresql"
......
......@@ -5,7 +5,7 @@ describe "gitlab::git" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -5,7 +5,7 @@ describe "gitlab::gitlab_shell_clone" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -5,7 +5,7 @@ describe "gitlab::gitlab_shell_install" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -5,7 +5,7 @@ describe "gitlab::install" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......@@ -440,7 +440,7 @@ describe "gitlab::install" do
end
describe "under centos" do
["5.8", "6.4"].each do |version|
["7.0", "6.5"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -5,7 +5,7 @@ describe "gitlab::nginx" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -5,7 +5,7 @@ describe "gitlab::packages" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) { ChefSpec::Runner.new(platform: "ubuntu", version: version).converge("gitlab::packages") }
before do
......
......@@ -5,7 +5,7 @@ describe "gitlab::ruby" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) { ChefSpec::Runner.new(platform: "ubuntu", version: version).converge("gitlab::ruby") }
before do
......
......@@ -5,7 +5,7 @@ describe "gitlab::setup" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
......
......@@ -5,8 +5,8 @@ describe "gitlab::start" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
let(:chef_run) do
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::start")
......@@ -25,7 +25,7 @@ describe "gitlab::start" do
describe "under centos" do
["5.8", "6.4"].each do |version|
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::start")
......
......@@ -5,8 +5,8 @@ describe "gitlab::users" do
describe "under ubuntu" do
["12.04", "10.04"].each do |version|
let(:chef_run) do
["14.04", "12.04", "10.04"].each do |version|
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "ubuntu", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::users")
......@@ -24,7 +24,7 @@ describe "gitlab::users" do
describe "under centos" do
["5.8", "6.4"].each do |version|
let(:chef_run) do
let(:chef_run) do
runner = ChefSpec::Runner.new(platform: "centos", version: version)
runner.node.set['gitlab']['env'] = "production"
runner.converge("gitlab::users")
......
Markdown is supported
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