Skip to content

Commit

Permalink
feat(kitchen): use workaround to prevent opensuse-leap-15 SCP failures
Browse files Browse the repository at this point in the history
* Workaround to avoid intermittent failures on `opensuse-leap-15`:
  - SCP did not finish successfully (255):  (Net::SCP::Error)
* Based on:
  - https://stackoverflow.com/a/47880689
  • Loading branch information
myii committed Sep 7, 2019
1 parent 4b3b166 commit c0a86f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ ssf_node_anchors:
# release phase via. `pre-commit_semantic-release.sh`
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
title: 'ci(travis): use `dist: bionic`'
# yamllint disable-line rule:line-length
title: 'ci: use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround'
body: '* Automated using https://github.com/myii/ssf-formula/pull/22'
github:
owner: saltstack-formulas
Expand Down
6 changes: 6 additions & 0 deletions ssf/files/default/kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ platforms:
{%- elif os == 'centos' and os_ver == 6 %}
run_command: /sbin/init
{%- endif %}
{%- if [os, os_ver] == ['opensuse/leap', 15] %}
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
# => SCP did not finish successfully (255): (Net::SCP::Error)
transport:
max_ssh_sessions: 1
{%- endif %}
{%- endif %}
{%- endfor %}

Expand Down

0 comments on commit c0a86f1

Please sign in to comment.