|
|
|
|
|
|
|
|
- sudo apt-get install python3-pip python3-setuptools python3-wheel -y |
|
|
- sudo apt-get install python3-pip python3-setuptools python3-wheel -y |
|
|
# Install and run `salt-lint` |
|
|
# Install and run `salt-lint` |
|
|
- pip3 install --user salt-lint |
|
|
- pip3 install --user salt-lint |
|
|
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$' |
|
|
|
|
|
|
|
|
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$\|\.tst$' |
|
|
| xargs -I {} salt-lint {} |
|
|
| xargs -I {} salt-lint {} |
|
|
# Install and run `yamllint` |
|
|
# Install and run `yamllint` |
|
|
# Need at least `v1.17.0` for the `yaml-files` setting |
|
|
# Need at least `v1.17.0` for the `yaml-files` setting |
|
|
- pip3 install --user yamllint>=1.17.0 |
|
|
- pip3 install --user yamllint>=1.17.0 |
|
|
- yamllint -s . |
|
|
- yamllint -s . |
|
|
# Install and run `commitlint` |
|
|
# Install and run `commitlint` |
|
|
- npm install @commitlint/config-conventional -D |
|
|
|
|
|
- npm install @commitlint/travis-cli -D |
|
|
|
|
|
|
|
|
- npm i -D @commitlint/config-conventional |
|
|
|
|
|
@commitlint/travis-cli |
|
|
- commitlint-travis |
|
|
- commitlint-travis |
|
|
# Run the `rubocop` linter in a separate job that is allowed to fail |
|
|
# Run the `rubocop` linter in a separate job that is allowed to fail |
|
|
# Once these lint errors are fixed, this can be merged into a single job |
|
|
# Once these lint errors are fixed, this can be merged into a single job |
|
|
|
|
|
|
|
|
# Make sure the instances listed below match up with |
|
|
# Make sure the instances listed below match up with |
|
|
# the `platforms` defined in `kitchen.yml` |
|
|
# the `platforms` defined in `kitchen.yml` |
|
|
# - env: INSTANCE=default-debian-10-master-py3 |
|
|
# - env: INSTANCE=default-debian-10-master-py3 |
|
|
- env: INSTANCE=default-ubuntu-1804-develop-py3 |
|
|
|
|
|
# - env: INSTANCE=default-centos-7-develop-py3 |
|
|
|
|
|
# - env: INSTANCE=default-fedora-30-develop-py3 |
|
|
|
|
|
# - env: INSTANCE=default-opensuse-leap-15-develop-py3 |
|
|
|
|
|
# - env: INSTANCE=default-amazonlinux-2-develop-py2 |
|
|
|
|
|
# - env: INSTANCE=default-arch-base-latest-develop-py2 |
|
|
|
|
|
- env: INSTANCE=default-debian-9-2019-2-py3 |
|
|
|
|
|
|
|
|
- env: INSTANCE=default-ubuntu-1804-master-py3 |
|
|
|
|
|
# - env: INSTANCE=default-centos-8-master-py3 |
|
|
|
|
|
# - env: INSTANCE=default-fedora-31-master-py3 |
|
|
|
|
|
# - env: INSTANCE=default-opensuse-leap-151-master-py3 |
|
|
|
|
|
# - env: INSTANCE=default-amazonlinux-2-master-py2 |
|
|
|
|
|
# - env: INSTANCE=default-arch-base-latest-master-py2 |
|
|
|
|
|
- env: INSTANCE=default-debian-10-2019-2-py3 |
|
|
|
|
|
# - env: INSTANCE=default-debian-9-2019-2-py3 |
|
|
# - env: INSTANCE=default-ubuntu-1804-2019-2-py3 |
|
|
# - env: INSTANCE=default-ubuntu-1804-2019-2-py3 |
|
|
- env: INSTANCE=default-centos-7-2019-2-py3 |
|
|
|
|
|
# - env: INSTANCE=default-fedora-30-2019-2-py3 |
|
|
|
|
|
# - env: INSTANCE=default-opensuse-leap-15-2019-2-py3 |
|
|
|
|
|
|
|
|
- env: INSTANCE=default-centos-8-2019-2-py3 |
|
|
|
|
|
# - env: INSTANCE=default-fedora-31-2019-2-py3 |
|
|
|
|
|
# - env: INSTANCE=default-opensuse-leap-151-2019-2-py3 |
|
|
|
|
|
# - env: INSTANCE=default-centos-7-2019-2-py2 |
|
|
# - env: INSTANCE=default-amazonlinux-2-2019-2-py2 |
|
|
# - env: INSTANCE=default-amazonlinux-2-2019-2-py2 |
|
|
# - env: INSTANCE=default-arch-base-latest-2019-2-py2 |
|
|
# - env: INSTANCE=default-arch-base-latest-2019-2-py2 |
|
|
|
|
|
- env: INSTANCE=default-fedora-30-2018-3-py3 |
|
|
# - env: INSTANCE=default-debian-9-2018-3-py2 |
|
|
# - env: INSTANCE=default-debian-9-2018-3-py2 |
|
|
# - env: INSTANCE=default-ubuntu-1604-2018-3-py2 |
|
|
# - env: INSTANCE=default-ubuntu-1604-2018-3-py2 |
|
|
# - env: INSTANCE=default-centos-7-2018-3-py2 |
|
|
# - env: INSTANCE=default-centos-7-2018-3-py2 |
|
|
- env: INSTANCE=default-fedora-29-2018-3-py2 |
|
|
|
|
|
- env: INSTANCE=default-opensuse-leap-15-2018-3-py2 |
|
|
|
|
|
|
|
|
- env: INSTANCE=default-opensuse-leap-151-2018-3-py2 |
|
|
# - env: INSTANCE=default-amazonlinux-2-2018-3-py2 |
|
|
# - env: INSTANCE=default-amazonlinux-2-2018-3-py2 |
|
|
- env: INSTANCE=default-arch-base-latest-2018-3-py2 |
|
|
- env: INSTANCE=default-arch-base-latest-2018-3-py2 |
|
|
# - env: INSTANCE=default-debian-8-2017-7-py2 |
|
|
# - env: INSTANCE=default-debian-8-2017-7-py2 |
|
|
- env: INSTANCE=default-ubuntu-1604-2017-7-py2 |
|
|
- env: INSTANCE=default-ubuntu-1604-2017-7-py2 |
|
|
# - env: INSTANCE=default-centos-6-2017-7-py2 |
|
|
# - env: INSTANCE=default-centos-6-2017-7-py2 |
|
|
# - env: INSTANCE=default-fedora-29-2017-7-py2 |
|
|
|
|
|
# - env: INSTANCE=default-opensuse-leap-15-2017-7-py2 |
|
|
|
|
|
|
|
|
# - env: INSTANCE=default-fedora-30-2017-7-py2 |
|
|
|
|
|
# - env: INSTANCE=default-opensuse-leap-151-2017-7-py2 |
|
|
# - env: INSTANCE=default-amazonlinux-2-2017-7-py2 |
|
|
# - env: INSTANCE=default-amazonlinux-2-2017-7-py2 |
|
|
# - env: INSTANCE=default-arch-base-latest-2017-7-py2 |
|
|
# - env: INSTANCE=default-arch-base-latest-2017-7-py2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- maintainer contributor |
|
|
- maintainer contributor |
|
|
|
|
|
|
|
|
# Install all dependencies required for `semantic-release` |
|
|
# Install all dependencies required for `semantic-release` |
|
|
- npm install @semantic-release/changelog@3 -D |
|
|
|
|
|
- npm install @semantic-release/exec@3 -D |
|
|
|
|
|
- npm install @semantic-release/git@7 -D |
|
|
|
|
|
|
|
|
- npm i -D @semantic-release/changelog@3 |
|
|
|
|
|
@semantic-release/exec@3 |
|
|
|
|
|
@semantic-release/git@7 |
|
|
deploy: |
|
|
deploy: |
|
|
provider: script |
|
|
provider: script |
|
|
skip_cleanup: true |
|
|
skip_cleanup: true |