chore(mqtt): use developer's cloudflared tunnel on :7883 by default #34
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| jobs: | ||
| go: | ||
| name: go ${{ matrix.module }} | ||
| runs-on: ubuntu-22.04 | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| module: [cloud, agent] | ||
| defaults: | ||
| run: | ||
| working-directory: ${{ matrix.module }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: "1.22" | ||
| cache-dependency-path: ${{ matrix.module }}/go.sum | ||
| - run: go vet ./... | ||
| - run: go test -race -count=1 ./... | ||
| installer-smoke: | ||
| name: lab stack smoke | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: bring up CI cluster | ||
| run: make ci-up | ||
| timeout-minutes: 6 | ||
| - name: probe CI ports | ||
| run: | | ||
| <<<<<<< HEAD | ||
| for port in 25432 27233 21883 25050; do | ||
| ======= | ||
| for port in 5432 7233 1883 5001; do | ||
| >>>>>>> a2155cf (working cloud components) | ||
| for i in $(seq 1 30); do | ||
| nc -z localhost "$port" && break | ||
| sleep 2 | ||
| done | ||
| nc -z localhost "$port" || { echo "port $port never came up"; exit 1; } | ||
| done | ||
| - name: tear down | ||
| if: always() | ||
| run: make ci-down | ||
| python-lint: | ||
| name: bridge lint | ||
| runs-on: ubuntu-22.04 | ||
| defaults: | ||
| run: | ||
| working-directory: bridge | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
| - run: python -m pip install ruff | ||
| - run: ruff check bridge_node | ||