Skip to content

Commit e3e5c6a

Browse files
Set kitchen-transport-speedy as transport for ec2 kitchen
1 parent fb6e593 commit e3e5c6a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ end
2020

2121
group :aws do
2222
gem 'kitchen-ec2'
23+
gem 'kitchen-transport-speedy'
2324
end

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ This repo contains the AWS ParallelCluster Chef cookbook used in AWS ParallelClu
1111
## About kitchen tests
1212

1313
Kitchen is used to automatically test cookbooks across any combination of platforms and test suites.
14-
It requires cinc-workstation to be installed on your environment:
14+
It requires cinc-workstation to be installed on your environment:
1515

16-
curl -L https://omnitruck.cinc.sh/install.sh | sudo bash -s -- -P cinc-workstation -v 23
16+
`curl -L https://omnitruck.cinc.sh/install.sh | sudo bash -s -- -P cinc-workstation -v 23`
1717

18+
To speedup the transfer of files when kitchens are run on ec2 instances, the [transport](https://docs.chef.io/workstation/config_yml_kitchen/#transport-settings) selected is `kitchen-transport-speedy` https://github.com/criteo/kitchen-transport-speedy.
1819

19-
In order to test on docker containers, you also need docker installed on your environment.
20+
To install `kitchen-transport-speedy` in the kitchen embedded ruby environment: `/opt/cinc-workstation/embedded/bin/gem install kitchen-transport-speedy`
2021

22+
In order to test on docker containers, you also need docker installed on your environment.
2123

2224
### Helpers
2325

kitchen.ec2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ driver:
3232
transport:
3333
ssh_key: <%= ENV['KITCHEN_SSH_KEY_PATH'] %>
3434
compression: true
35+
name: speedy_ssh
3536

3637
provisioner:
3738
name: chef_zero

0 commit comments

Comments
 (0)