Skip to content

Commit

Permalink
⬆️ updating Goss (#12)
Browse files Browse the repository at this point in the history
* ⬆️ updating Goss
* 🔒 SHA256 for Goss.
  • Loading branch information
bbaassssiiee authored Nov 24, 2019
1 parent 956eb21 commit edbc76c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
1 change: 1 addition & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ provisioner:
config_options:
defaults:
remote_tmp: /tmp
stdout_callback: yaml
playbooks:
converge: playbook.yml
lint:
Expand Down
7 changes: 0 additions & 7 deletions molecule/default/tests/test_git.yml

This file was deleted.

6 changes: 3 additions & 3 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
hosts: all
become: true
vars:
goss_version: v0.3.2
goss_version: v0.3.7
goss_arch: amd64
goss_dst: /usr/local/bin/goss
goss_sha256sum: 357f5c7f2e7949b412bce44349cd32ab19eb3947255a8ac805f884cc2c326059
goss_url: "https://github.com/aelsabbahy/goss/releases/download/{{ goss_version }}/goss-linux-{{ goss_arch }}"
goss_test_directory: /tmp
goss_format: documentation
goss_format: tap
tasks:
- name: Download and install Goss
get_url:
Expand All @@ -37,7 +37,7 @@
register: test_files

- name: Execute Goss tests
shell: "bash -login -c '{{ goss_dst }} -g {{ item }} validate --format {{ goss_format }}'"
command: "{{ goss_dst }} -g {{ item }} validate -f {{ goss_format }}"
register: test_results
with_items: "{{ test_files.stdout_lines }}"

Expand Down

0 comments on commit edbc76c

Please sign in to comment.