Skip to content

Commit

Permalink
Add Salt 2018.3 tests
Browse files Browse the repository at this point in the history
Change-Id: Ic32cd07f358c7e20951ffc3146c1c58ce709d398
  • Loading branch information
Martin819 committed Jul 23, 2018
1 parent 33214c2 commit 56feb35
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ provisioner:
platforms:
- name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
driver_config:
image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
image: <%=ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable'%>
platform: ubuntu

verifier:
Expand Down
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ install:
- bundle install

env:
- PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=single
- PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=single
# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=single
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=single
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=single
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=single
# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=single
# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=single

before_script:
- set -o pipefail
- make test | tail
Expand Down
14 changes: 8 additions & 6 deletions helm/client_installed.sls
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
include:
- .kubectl_installed
{%- set tar_opts = "- options: v" %}
{%- if grains['saltversioninfo'] < [2016, 11] %}
{%- set tar_opts = "- tar_options: v" %}
{%- endif %}
{%- set binary_source = "https://storage.googleapis.com/kubernetes-helm/helm-v" +
config.version + "-" + config.flavor + ".tar.gz" %}
Expand All @@ -19,13 +24,10 @@ include:
- archive_format: tar
- user: root
- group: root
{%- if grains['saltversioninfo'] < [2016, 11] %}
- tar_options: v
{%- else %}
- options: v
{%- endif %}
{{ tar_opts }}
- onlyif:
- test "{{ config.version }}" = "canary" || test ! -e {{ constants.helm.tmp }}/{{ config.flavor }}/helm
- test "{{ config.version }}" -eq "canary" || test ! -e {{ constants.helm.tmp }}/{{ config.flavor }}/helm
{{ config.bin }}:
file.copy:
Expand Down
2 changes: 1 addition & 1 deletion helm/repos_managed.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include:
{%- if "repos" in config %}
repos_managed:
helm_repos.managed:
- present:
- present:
{{ config.repos | yaml(false) | indent(8) }}
- exclusive: true
- helm_home: {{ config.helm_home }}
Expand Down
2 changes: 0 additions & 2 deletions tests/pillar/single.sls
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ helm:
username: admin
password: uberadminpass
gce_service_token: anNvbl90b2tlbg==
repos:
mirantisworkloads: https://mirantisworkloads.storage.googleapis.com/
releases:
zoo1:
enabled: false

0 comments on commit 56feb35

Please sign in to comment.