A simple DNS hook that lets Dehydrated talk to the PowerDNS API.
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.

40 lines
595B

  1. language: bash
  2. stages:
  3. - lint
  4. - test
  5. services:
  6. - docker
  7. env:
  8. - VERBOSE=true
  9. jobs:
  10. include:
  11. - stage: lint
  12. name: shellcheck
  13. script:
  14. - shellcheck --version
  15. - shellcheck **/*.sh
  16. - stage: test
  17. name: bash latest
  18. env:
  19. - IMAGE=bash:latest
  20. script: &bash
  21. - docker pull "$IMAGE"
  22. - docker run -v "$PWD:/mnt" "$IMAGE" /mnt/test.sh
  23. - stage: test
  24. name: bash 5
  25. env:
  26. - IMAGE=bash:5
  27. script: *bash
  28. - stage: test
  29. name: bash 4
  30. env:
  31. - IMAGE=bash:4
  32. script: *bash