Skip to content

Commit 1f1c934

Browse files
author
Slavek Kabrda
authored
Fix CI failure by locking multipart-post dependency for kitchen tests (DataDog#740)
1 parent 5f2f2b0 commit 1f1c934

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

kitchen.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ platforms:
2929
- printf <%= File.read('environments/etc/Puppetfile').inspect %> > /home/kitchen/puppet/Puppetfile
3030

3131
- gem install bundler -v '= 1.17.3'
32-
- gem install r10k -v 2.6.7
32+
# multipart-post 2.2.0 breaks r10k 2.6.7, so lock it at 2.1.1 (we can't upgrade r10k because of old Ruby)
33+
- gem install multipart-post:2.1.1 r10k:2.6.7
3334
- cd /home/kitchen/puppet && r10k puppetfile install --moduledir=/tmp/modules
3435

3536
- name: rocky-8-puppet-5
@@ -48,7 +49,7 @@ platforms:
4849
- printf <%= File.read('environments/etc/Puppetfile').inspect %> > /home/kitchen/puppet/Puppetfile
4950

5051
- gem install bundler -v '= 1.17.3'
51-
- gem install r10k -v 2.6.7
52+
- gem install multipart-post:2.1.1 r10k:2.6.7
5253
- cd /home/kitchen/puppet && r10k puppetfile install --moduledir=/tmp/modules
5354

5455
- name: ubuntu-1604-puppet-6
@@ -68,7 +69,7 @@ platforms:
6869
- printf <%= File.read('environments/etc/Puppetfile').inspect %> > /home/kitchen/puppet/Puppetfile
6970

7071
- gem install bundler -v '= 1.17.3'
71-
- gem install r10k -v 2.6.7
72+
- gem install multipart-post:2.1.1 r10k:2.6.7
7273
- cd /home/kitchen/puppet && r10k puppetfile install --moduledir=/tmp/modules
7374

7475
- name: opensuse/leap-15
@@ -92,7 +93,7 @@ platforms:
9293
- mkdir /home/kitchen/puppet
9394
- printf <%= File.read('environments/etc/Puppetfile').inspect %> > /home/kitchen/puppet/Puppetfile
9495

95-
- /opt/puppetlabs/puppet/bin/gem install r10k -v 2.6.7
96+
- /opt/puppetlabs/puppet/bin/gem install multipart-post:2.1.1 r10k:2.6.7
9697
- cd /home/kitchen/puppet && /opt/puppetlabs/puppet/bin/r10k puppetfile install --moduledir=/tmp/modules
9798

9899
verifier:

0 commit comments

Comments
 (0)