Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash php-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") ./test/integration/default/inspec.yml 1:1 warning missing document start "---" (document-start) pillar.example 3:1 warning missing document start "---" (document-start) 7:22 warning truthy value should be one of [false, true] (truthy) 8:22 warning truthy value should be one of [false, true] (truthy) 10:22 warning truthy value should be one of [false, true] (truthy) 16:17 warning truthy value should be one of [false, true] (truthy) 41:12 error wrong indentation: expected 10 but found 11 (indentation) 46:27 warning truthy value should be one of [false, true] (truthy) 70:18 warning truthy value should be one of [false, true] (truthy) 74:19 warning truthy value should be one of [false, true] (truthy) 83:22 warning truthy value should be one of [false, true] (truthy) 97:22 warning truthy value should be one of [false, true] (truthy) 107:89 error line too long (93 > 88 characters) (line-length) 118:20 warning truthy value should be one of [false, true] (truthy) 126:14 error wrong indentation: expected 12 but found 13 (indentation) 126:23 warning truthy value should be one of [false, true] (truthy) 151:20 warning truthy value should be one of [false, true] (truthy) 177:19 warning truthy value should be one of [false, true] (truthy) 197:25 warning truthy value should be one of [false, true] (truthy) ```
преди 5 години
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash php-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") ./test/integration/default/inspec.yml 1:1 warning missing document start "---" (document-start) pillar.example 3:1 warning missing document start "---" (document-start) 7:22 warning truthy value should be one of [false, true] (truthy) 8:22 warning truthy value should be one of [false, true] (truthy) 10:22 warning truthy value should be one of [false, true] (truthy) 16:17 warning truthy value should be one of [false, true] (truthy) 41:12 error wrong indentation: expected 10 but found 11 (indentation) 46:27 warning truthy value should be one of [false, true] (truthy) 70:18 warning truthy value should be one of [false, true] (truthy) 74:19 warning truthy value should be one of [false, true] (truthy) 83:22 warning truthy value should be one of [false, true] (truthy) 97:22 warning truthy value should be one of [false, true] (truthy) 107:89 error line too long (93 > 88 characters) (line-length) 118:20 warning truthy value should be one of [false, true] (truthy) 126:14 error wrong indentation: expected 12 but found 13 (indentation) 126:23 warning truthy value should be one of [false, true] (truthy) 151:20 warning truthy value should be one of [false, true] (truthy) 177:19 warning truthy value should be one of [false, true] (truthy) 197:25 warning truthy value should be one of [false, true] (truthy) ```
преди 5 години
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash php-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") ./test/integration/default/inspec.yml 1:1 warning missing document start "---" (document-start) pillar.example 3:1 warning missing document start "---" (document-start) 7:22 warning truthy value should be one of [false, true] (truthy) 8:22 warning truthy value should be one of [false, true] (truthy) 10:22 warning truthy value should be one of [false, true] (truthy) 16:17 warning truthy value should be one of [false, true] (truthy) 41:12 error wrong indentation: expected 10 but found 11 (indentation) 46:27 warning truthy value should be one of [false, true] (truthy) 70:18 warning truthy value should be one of [false, true] (truthy) 74:19 warning truthy value should be one of [false, true] (truthy) 83:22 warning truthy value should be one of [false, true] (truthy) 97:22 warning truthy value should be one of [false, true] (truthy) 107:89 error line too long (93 > 88 characters) (line-length) 118:20 warning truthy value should be one of [false, true] (truthy) 126:14 error wrong indentation: expected 12 but found 13 (indentation) 126:23 warning truthy value should be one of [false, true] (truthy) 151:20 warning truthy value should be one of [false, true] (truthy) 177:19 warning truthy value should be one of [false, true] (truthy) 197:25 warning truthy value should be one of [false, true] (truthy) ```
преди 5 години
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash php-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") ./test/integration/default/inspec.yml 1:1 warning missing document start "---" (document-start) pillar.example 3:1 warning missing document start "---" (document-start) 7:22 warning truthy value should be one of [false, true] (truthy) 8:22 warning truthy value should be one of [false, true] (truthy) 10:22 warning truthy value should be one of [false, true] (truthy) 16:17 warning truthy value should be one of [false, true] (truthy) 41:12 error wrong indentation: expected 10 but found 11 (indentation) 46:27 warning truthy value should be one of [false, true] (truthy) 70:18 warning truthy value should be one of [false, true] (truthy) 74:19 warning truthy value should be one of [false, true] (truthy) 83:22 warning truthy value should be one of [false, true] (truthy) 97:22 warning truthy value should be one of [false, true] (truthy) 107:89 error line too long (93 > 88 characters) (line-length) 118:20 warning truthy value should be one of [false, true] (truthy) 126:14 error wrong indentation: expected 12 but found 13 (indentation) 126:23 warning truthy value should be one of [false, true] (truthy) 151:20 warning truthy value should be one of [false, true] (truthy) 177:19 warning truthy value should be one of [false, true] (truthy) 197:25 warning truthy value should be one of [false, true] (truthy) ```
преди 5 години
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. stages:
  5. - test
  6. - lint
  7. - name: release
  8. if: branch = master AND type != pull_request
  9. sudo: required
  10. cache: bundler
  11. language: ruby
  12. dist: xenial
  13. services:
  14. - docker
  15. # Make sure the instances listed below match up with
  16. # the `platforms` defined in `kitchen.yml`
  17. env:
  18. matrix:
  19. - INSTANCE: debian-debian-9-develop-py3
  20. # - INSTANCE: debian-ubuntu-1804-develop-py3
  21. # - INSTANCE: redhat-centos-7-develop-py3
  22. # - INSTANCE: redhat-fedora-29-develop-py3
  23. # - INSTANCE: suse-opensuse-leap-15-develop-py3
  24. # - INSTANCE: debian-debian-9-2019-2-py3
  25. - INSTANCE: debian-ubuntu-1804-2019-2-py3
  26. - INSTANCE: redhat-centos-7-2019-2-py3
  27. # - INSTANCE: redhat-fedora-29-2019-2-py3
  28. # - INSTANCE: suse-opensuse-leap-15-2019-2-py3
  29. # - INSTANCE: debian-debian-9-2018-3-py2
  30. # - INSTANCE: debian-ubuntu-1604-2018-3-py2
  31. # - INSTANCE: redhat-centos-7-2018-3-py2
  32. - INSTANCE: redhat-fedora-29-2018-3-py2
  33. - INSTANCE: suse-opensuse-leap-42-2018-3-py2
  34. # - INSTANCE: debian-debian-8-2017-7-py2
  35. # - INSTANCE: debian-ubuntu-1604-2017-7-py2
  36. - INSTANCE: redhat-centos-6-2017-7-py2
  37. # - INSTANCE: redhat-fedora-28-2017-7-py2
  38. # - INSTANCE: suse-opensuse-leap-42-2017-7-py2
  39. script:
  40. - bin/kitchen verify ${INSTANCE}
  41. jobs:
  42. include:
  43. # Define the `lint` stage (runs `yamllint` and `commitlint`)
  44. - stage: lint
  45. language: node_js
  46. node_js: lts/*
  47. before_install: skip
  48. script:
  49. # Install and run `yamllint`
  50. - pip install --user yamllint
  51. # yamllint disable-line rule:line-length
  52. - yamllint -s . .yamllint pillar.example test/salt/pillar/debian.sls test/salt/pillar/redhat.sls test/salt/pillar/suse.sls
  53. # Install and run `commitlint`
  54. - npm install @commitlint/config-conventional -D
  55. - npm install @commitlint/travis-cli -D
  56. - commitlint-travis
  57. # Define the release stage that runs `semantic-release`
  58. - stage: release
  59. language: node_js
  60. node_js: lts/*
  61. before_install: skip
  62. script:
  63. # Update `AUTHORS.md`
  64. - export MAINTAINER_TOKEN=${GH_TOKEN}
  65. - go get github.com/myii/maintainer
  66. - maintainer contributor
  67. # Install all dependencies required for `semantic-release`
  68. - npm install @semantic-release/changelog@3 -D
  69. - npm install @semantic-release/exec@3 -D
  70. - npm install @semantic-release/git@7 -D
  71. deploy:
  72. provider: script
  73. skip_cleanup: true
  74. script:
  75. # Run `semantic-release`
  76. - npx semantic-release@15