pagure Logo
  • Log In

heroes / salt

Clone
Source Code
GIT
  • Source
  • Issues  0
  • Stats
 Overview  Files  Commits  Branches  Forks  Releases

Files

Branch: production
adjust-ci-pipeline anikitin/mirrorcache anikitin/t_mirrorcache anikitin/web_mirrors__proxy_mirrorcache cboltz-borgbackup cboltz-forums-mysql cboltz-nginx-conftest cboltz-relnotes-15.3 cboltz-scar-sshd doc-o-o estu/new-progress feature/saltify-mx hellcp/paste-sync icc-rm identification-vms lock-module lrupp-production-patch-08358 lrupp/add_identification lrupp/include_narwal4 lrupp/remove_login_interface lrupp/retire lrupp/serve_www lrupp/tune_sysctl man-vm opi_proxy production rm-rklein set-secret-detection-config-1 update-access-crtmgr
  1.   production
  2.   bin
  3.   test_validate.sh
Blob Blame History Raw
#!/bin/bash

# Run various code validation/syntax checks

source bin/get_colors.sh

TESTS=(
    extension.sh
    empty_files.sh
    secrets.sh
    roles.py
    custom_grains.py
    logrotate.sh
)

for _test in ${TESTS[@]}; do
    echo_INFO "## Running test_${_test}"
    if bin/test_${_test}; then
        echo_PASSED
    else
        echo_FAILED
        STATUS=1
    fi
    echo
done

exit $STATUS
Powered by Pagure 5.13.3
Documentation • About this Instance • SSH Hostkey/Fingerprint
© Red Hat, Inc. and others.