emqx/.github/workflows/elixir_apps_check.yaml
Kjell Winblad 74c33cd4e5 feat(rule_engine): add jq function to the rule engine
This commit adds a function to the rule engine that alows users
to transform text or JSON objects using [jq filter programs][1].

[jq][1] is a command line tool that can be used to transform
and filter JSON text using jq's built-in language. The rule engine
function that is added with this commit uses the
[Erlang jq NIF library][2] that wraps the jq C library in an
Erlang NIF function.

[1]: https://stedolan.github.io/jq/
[2]: https://github.com/emqx/jq
2022-05-04 17:09:16 +02:00

55 lines
1.5 KiB
YAML

---
name: Check Elixir Release Applications
on: [pull_request, push]
jobs:
elixir_apps_check:
runs-on: ubuntu-latest
# just use the latest builder
container: "ghcr.io/emqx/emqx-builder/5.0-14:1.13.3-24.2.1-1-ubuntu20.04"
strategy:
fail-fast: false
matrix:
release_type:
- cloud
- edge
package_type:
- bin
- pkg
edition_type:
- community
- enterprise
exclude:
- release_type: edge
package_type: bin
edition_type: enterprise
- release_type: edge
package_type: pkg
edition_type: enterprise
steps:
- name: fix_git_permission
run: git config --global --add safe.directory '/__w/emqx/emqx'
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: ensure rebar
run: ./scripts/ensure-rebar3.sh
- name: Work around https://github.com/actions/checkout/issues/766
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: check applications
run: ./scripts/check-elixir-applications.exs
- name: check applications started with emqx_machine
run: ./scripts/check-elixir-emqx-machine-boot-discrepancies.exs
env:
EMQX_RELEASE_TYPE: ${{ matrix.release_type }}
EMQX_PACKAGE_TYPE: ${{ matrix.package_type }}
EMQX_EDITION_TYPE: ${{ matrix.edition_type }}
...