Skip to content

Commit bb199b1

Browse files
authored
Merge pull request #198 from myii/chore/standardise-structure
ci: use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround
2 parents a2846ed + 13e4e58 commit bb199b1

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: ft=yaml
33
---
4+
dist: bionic
45
stages:
56
- test
67
- lint
@@ -10,7 +11,6 @@ stages:
1011
sudo: required
1112
cache: bundler
1213
language: ruby
13-
dist: xenial
1414

1515
services:
1616
- docker

kitchen.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ platforms:
4343
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
4444
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
4545
run_command: /usr/lib/systemd/systemd
46+
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
47+
# => SCP did not finish successfully (255): (Net::SCP::Error)
48+
transport:
49+
max_ssh_sessions: 1
4650
- name: amazonlinux-2-develop-py2
4751
driver:
4852
image: netmanagers/salt-develop-py2:amazonlinux-2
@@ -67,6 +71,10 @@ platforms:
6771
driver:
6872
image: netmanagers/salt-2019.2-py3:opensuse-leap-15
6973
run_command: /usr/lib/systemd/systemd
74+
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
75+
# => SCP did not finish successfully (255): (Net::SCP::Error)
76+
transport:
77+
max_ssh_sessions: 1
7078
- name: amazonlinux-2-2019-2-py2
7179
driver:
7280
image: netmanagers/salt-2019.2-py2:amazonlinux-2
@@ -88,6 +96,10 @@ platforms:
8896
driver:
8997
image: netmanagers/salt-2018.3-py2:opensuse-leap-15
9098
run_command: /usr/lib/systemd/systemd
99+
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
100+
# => SCP did not finish successfully (255): (Net::SCP::Error)
101+
transport:
102+
max_ssh_sessions: 1
91103
- name: amazonlinux-2-2018-3-py2
92104
driver:
93105
image: netmanagers/salt-2018.3-py2:amazonlinux-2
@@ -110,6 +122,10 @@ platforms:
110122
driver:
111123
image: netmanagers/salt-2017.7-py2:opensuse-leap-15
112124
run_command: /usr/lib/systemd/systemd
125+
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
126+
# => SCP did not finish successfully (255): (Net::SCP::Error)
127+
transport:
128+
max_ssh_sessions: 1
113129
- name: amazonlinux-2-2017-7-py2
114130
driver:
115131
image: netmanagers/salt-2017.7-py2:amazonlinux-2
@@ -133,22 +149,6 @@ verifier:
133149
- cli
134150

135151
suites:
136-
- name: default
137-
includes:
138-
- NONE
139-
provisioner:
140-
state_top:
141-
base:
142-
'*':
143-
- php
144-
pillars:
145-
top.sls:
146-
base:
147-
'*':
148-
- php
149-
verifier:
150-
inspec_tests:
151-
- path: test/integration/default
152152
- name: debian
153153
includes:
154154
- debian-10-develop-py3

0 commit comments

Comments
 (0)