seninel部署
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. version: 2
  2. jobs:
  3. integration-test:
  4. docker:
  5. - image: circleci/openjdk:8-jdk
  6. working_directory: ~/sentinel
  7. environment:
  8. MAVEN_OPTS: -Xmx3200m
  9. steps:
  10. - checkout
  11. # Run tests
  12. - run: mvn integration-test
  13. document-lint:
  14. docker:
  15. # this image is build from Dockerfile
  16. # https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile
  17. - image: pouchcontainer/pouchlinter:v0.1.2
  18. working_directory: ~/sentinel
  19. steps:
  20. - checkout
  21. - run:
  22. name: use markdownlint v0.5.0 to lint markdown file (https://github.com/markdownlint/markdownlint)
  23. command: |
  24. find ./ -name "*.md" | grep -v vendor | grep -v commandline | grep -v .github | grep -v swagger | grep -v api | xargs mdl -r ~MD010,~MD013,~MD024,~MD029,~MD033,~MD036
  25. # - run:
  26. # name: use markdown-link-check(https://github.com/tcort/markdown-link-check) to check links in markdown files
  27. # command: |
  28. # set +e
  29. # for name in $(find . -name \*.md | grep -v vendor | grep -v CHANGELOG); do
  30. # if [ -f $name ]; then
  31. # markdown-link-check -q $name;
  32. # if [ $? -ne 0 ]; then
  33. # code=1
  34. # fi
  35. # fi
  36. # done
  37. # bash -c "exit $code";
  38. # - run:
  39. # name: use opensource tool client9/misspell to correct commonly misspelled English words
  40. # command: |
  41. # find ./* -name "*" | grep -v vendor | xargs misspell -error
  42. # - run:
  43. # name: use ShellCheck (https://github.com/koalaman/shellcheck) to check the validateness of shell scripts in pouch repo
  44. # command: |
  45. # find ./ -name "*.sh" | grep -v vendor | xargs shellcheck
  46. workflows:
  47. version: 2
  48. ci:
  49. jobs:
  50. - integration-test
  51. - document-lint