Saltstack Official Syslog-NG Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

47 lines
1.3KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. dist: bionic
  5. stages:
  6. - lint
  7. - name: release
  8. if: branch = master AND type != pull_request
  9. jobs:
  10. include:
  11. # Define the `lint` stage (runs `yamllint` and `commitlint`)
  12. - stage: lint
  13. language: node_js
  14. node_js: lts/*
  15. before_install: skip
  16. script:
  17. # Install and run `yamllint`
  18. # Need at least `v1.17.0` for the `yaml-files` setting
  19. - pip install --user yamllint>=1.17.0
  20. - yamllint -s .
  21. # Install and run `commitlint`
  22. - npm install @commitlint/config-conventional -D
  23. - npm install @commitlint/travis-cli -D
  24. - commitlint-travis
  25. # Define the release stage that runs `semantic-release`
  26. - stage: release
  27. language: node_js
  28. node_js: lts/*
  29. before_install: skip
  30. script:
  31. # Update `AUTHORS.md`
  32. - export MAINTAINER_TOKEN=${GH_TOKEN}
  33. - go get github.com/myii/maintainer
  34. - maintainer contributor
  35. # Install all dependencies required for `semantic-release`
  36. - npm install @semantic-release/changelog@3 -D
  37. - npm install @semantic-release/exec@3 -D
  38. - npm install @semantic-release/git@7 -D
  39. deploy:
  40. provider: script
  41. skip_cleanup: true
  42. script:
  43. # Run `semantic-release`
  44. - npx semantic-release@15