Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8_jenkins #27

Merged
merged 1 commit into from Nov 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec/acceptance/kubernetes_spec.rb
Expand Up @@ -28,7 +28,7 @@ class {'kubernetes':
end
end

context 'appliction deployment' do
context 'application deployment' do

it 'can deploy an application into a namespace and expose it' do
shell('sleep 180')
Expand All @@ -53,4 +53,4 @@ class {'kubernetes':
end
end
end
end
end
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Expand Up @@ -97,7 +97,7 @@
on(host, "apt install ruby-bundler --yes", acceptable_exit_codes: [0]).stdout
on(host, "apt-get install ruby-dev --yes", acceptable_exit_codes: [0]).stdout
on(host, "apt-get install build-essential curl git m4 python-setuptools ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev --yes", acceptable_exit_codes: [0]).stdout
on(host, "cd /etc/puppetlabs/code/modules/kubernetes;bundle install", acceptable_exit_codes: [0]).stdout
on(host, "cd /etc/puppetlabs/code/modules/kubernetes;rm -rf Gemfile.lock;bundle install --path vendor/bundle", acceptable_exit_codes: [0]).stdout
# Creating certs
on(host, "export PATH=$PATH:/usr/local/go/bin;export PATH=$PATH:/root/go/bin;cd /etc/puppetlabs/code/modules/kubernetes/tooling;./kube_tool.rb -f kubernetes -i #{vmipaddr} -b #{vmipaddr} -e \"etcd-#{vmhostname}=http://#{vmipaddr}:2380\" -t \"%{::ipaddress_ens160}\" -a \"%{::ipaddress_ens160}\" -d true", acceptable_exit_codes: [0]).stdout
create_remote_file(host, "/etc/hosts", hosts_file)
Expand Down