ci: Run spellcheck
This commit is contained in:
parent
4116d01bfb
commit
960c5ad0d5
|
@ -84,6 +84,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.profile}}-${{ matrix.otp }}-${{ matrix.os }}
|
name: ${{ matrix.profile}}-${{ matrix.otp }}-${{ matrix.os }}
|
||||||
path: _packages/${{ matrix.profile}}/*.tar.gz
|
path: _packages/${{ matrix.profile}}/*.tar.gz
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: "${{ matrix.profile }}_schema_dump"
|
||||||
|
path: _build/*/lib/emqx_dashboard/priv/www/static/schema.json
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
@ -204,3 +208,25 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: macos
|
name: macos
|
||||||
path: _packages/**/*.tar.gz
|
path: _packages/**/*.tar.gz
|
||||||
|
|
||||||
|
spellcheck:
|
||||||
|
needs: linux
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
profile:
|
||||||
|
- emqx-edge
|
||||||
|
- emqx
|
||||||
|
- emqx-enterprise
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
container: "ghcr.io/iequ1/emqx-schema-validate:0.2.1"
|
||||||
|
steps:
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
name: Download schema dump
|
||||||
|
with:
|
||||||
|
name: "${{ matrix.profile }}_schema_dump"
|
||||||
|
path: /tmp/
|
||||||
|
- name: Run spellcheck
|
||||||
|
run: |
|
||||||
|
cd /LanguageTool
|
||||||
|
bash start.sh > /dev/null &
|
||||||
|
./emqx_schema_validate /tmp/${{ matrix.profile }}/lib/emqx_dashboard/priv/www/static/schema.json
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
name: Spellcheck
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_run:
|
|
||||||
workflows: [Build slim packages]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
spellcheck_schema:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
fail-fast: true
|
|
||||||
matrix:
|
|
||||||
profile:
|
|
||||||
- emqx-enterprise
|
|
||||||
otp:
|
|
||||||
- 24.2.1-1
|
|
||||||
os:
|
|
||||||
- ubuntu20.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: dawidd6/action-download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.profile }}-${{ matrix.otp }}-${{ matrix.os }}
|
|
||||||
workflow: build_slim_packages.yaml
|
|
||||||
path: .
|
|
||||||
- name: Run spellcheck
|
|
||||||
run: |
|
|
||||||
tar zxf *.tar.gz
|
|
||||||
find . -name schema.json -exec scripts/spellcheck \{\} \;
|
|
|
@ -306,7 +306,7 @@ fields("node") ->
|
||||||
desc =>
|
desc =>
|
||||||
"""
|
"""
|
||||||
Path to the persistent data directory.
|
Path to the persistent data directory.
|
||||||
Possible auto-created sub-directories are:
|
Possible auto-created subdirectories are:
|
||||||
- `mnesia/\<node_name>`: EMQX's built-in database directory.
|
- `mnesia/\<node_name>`: EMQX's built-in database directory.
|
||||||
For example, `mnesia/emqx@127.0.0.1`.
|
For example, `mnesia/emqx@127.0.0.1`.
|
||||||
There should be only one such subdirectory.
|
There should be only one such subdirectory.
|
||||||
|
@ -433,7 +433,7 @@ to <code>rlog</code>.
|
||||||
List of core nodes that the replicant will connect to.<br/>
|
List of core nodes that the replicant will connect to.<br/>
|
||||||
Note: this parameter only takes effect when the <code>backend</code> is set
|
Note: this parameter only takes effect when the <code>backend</code> is set
|
||||||
to <code>rlog</code> and the <code>role</code> is set to <code>replicant</code>.<br/>
|
to <code>rlog</code> and the <code>role</code> is set to <code>replicant</code>.<br/>
|
||||||
This values needs to be defined for manual or static cluster discovery mechanisms.<br/>
|
This value needs to be defined for manual or static cluster discovery mechanisms.<br/>
|
||||||
If an automatic cluster discovery mechanism is being used (such as <code>etcd</code>),
|
If an automatic cluster discovery mechanism is being used (such as <code>etcd</code>),
|
||||||
there is no need to set this value.
|
there is no need to set this value.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue