drone: check docs/ for trailing whitespace

This commit is contained in:
Andrew Lytvynov 2020-07-08 11:37:04 -07:00 committed by Andrew Lytvynov
parent 76666cbb9d
commit 5edd5809d1
4 changed files with 7 additions and 4 deletions

View file

@ -173,6 +173,9 @@ steps:
git diff --raw ${DRONE_TARGET_BRANCH:-master} | awk '{print $6}' | grep -E '^docs' | grep -v ^$ | cut -d/ -f2 | sort | uniq > /tmp/docs-versions-changed.txt
if [ $(stat --printf="%s" /tmp/docs-versions-changed.txt) -gt 0 ]; then
echo "Changes to docs detected, versions $(cat /tmp/docs-versions-changed.txt | tr '\n' ' ')"
# Check trailing whitespace
make docs-test-whitespace
# Check links
for VERSION in $(cat /tmp/docs-versions-changed.txt); do
if [ -f docs/$VERSION/milv.config.yaml ]; then
cd docs/$VERSION
@ -1113,6 +1116,6 @@ steps:
---
kind: signature
hmac: 098b4e9dccb6bbb075bf39b404b3f5c64e982566fd58a6b4f390fd0b93a7a75d
hmac: d8356b32c0c482315acec3c0dc6603a59cc2fd76a628960cea79197a2d6103f5
...

View file

@ -127,7 +127,7 @@ If you still have questions after reviewing our docs, you can also:
* Join the [Teleport Community](https://community.gravitational.com/c/teleport) to ask questions. Our engineers are available there to help you.
* If you want to contribute to Teleport or file a bug report/issue, you can do so by creating an issue in [Github](https://github.com/gravitational/teleport/).
* If you are interested in [Teleport Enterprise](https://gravitational.com/teleport/docs/enterprise/) or more responsive support during a POC, we can also create a dedicated Slack channel for you during your POC. You can [reach out to us through our website](https://gravitational.com/teleport/) or email us at [sales@gravitational.com](mailto:sales@gravitational.com) to arrange for a POC.
* If you are interested in [Teleport Enterprise](enterprise/index.md) or more responsive support during a POC, we can also create a dedicated Slack channel for you during your POC. You can [reach out to us through our website](https://gravitational.com/teleport/) or email us at [sales@gravitational.com](mailto:sales@gravitational.com) to arrange for a POC.
Teleport is made by [Gravitational](https://gravitational.com/), and we hope you
enjoy using it. If you have comments or questions, feel free to reach out

View file

@ -129,7 +129,7 @@ If you still have questions after reviewing our docs, you can also:
* Join the [Teleport Community](https://community.gravitational.com/c/teleport) to ask questions. Our engineers are available there to help you.
* If you want to contribute to Teleport or file a bug report/issue, you can do so by creating an issue in [Github](https://github.com/gravitational/teleport/).
* If you are interested in [Teleport Enterprise](https://gravitational.com/teleport/docs/enterprise/) or more responsive support during a POC, we can also create a dedicated Slack channel for you during your POC. You can [reach out to us through our website](https://gravitational.com/teleport/) or email us at [sales@gravitational.com](mailto:sales@gravitational.com) to arrange for a POC.
* If you are interested in [Teleport Enterprise](enterprise/introduction.md) or more responsive support during a POC, we can also create a dedicated Slack channel for you during your POC. You can [reach out to us through our website](https://gravitational.com/teleport/) or email us at [sales@gravitational.com](mailto:sales@gravitational.com) to arrange for a POC.
Teleport is made by [Gravitational](https://gravitational.com/), and we hope you
enjoy using it. If you have comments or questions, feel free to reach out