ci(travis): standardise `saltcheck` comments

* Automated using https://github.com/myii/ssf-formula/pull/83
This commit is contained in:
Imran Iqbal 2019-10-23 18:52:16 +01:00
parent 6e54c3f406
commit e23276b72a
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
1 changed files with 3 additions and 2 deletions

View File

@ -16,8 +16,9 @@ script:
# yamllint disable rule:line-length # yamllint disable rule:line-length
# Converge and verify the instance; `saltcheck` relies upon the `converge` as well # Converge and verify the instance; `saltcheck` relies upon the `converge` as well
- bin/kitchen verify "${INSTANCE}" - bin/kitchen verify "${INSTANCE}"
# If a `develop` instance, get the appropriate version of `saltcheck.py` & # If a `develop` instance, get the appropriate version of `saltcheck.py` (temporary)
# `cron.py` (temporary) # Likewise, use a custom `cron.py` temporarily until the upstream PR is merged:
# - https://github.com/saltstack/salt/pull/55016
- if [ ! -z $(echo "${INSTANCE}" | grep \\-develop-) ]; then - if [ ! -z $(echo "${INSTANCE}" | grep \\-develop-) ]; then
bin/kitchen exec "${INSTANCE}" -c bin/kitchen exec "${INSTANCE}" -c
"sudo curl -o \$(find /usr/lib/ -type d -name modules | grep packages/salt/modules)/saltcheck.py "sudo curl -o \$(find /usr/lib/ -type d -name modules | grep packages/salt/modules)/saltcheck.py