Skip to content

chore(mqtt): use developer's cloudflared tunnel on :7883 by default #34

chore(mqtt): use developer's cloudflared tunnel on :7883 by default

chore(mqtt): use developer's cloudflared tunnel on :7883 by default #34

Workflow file for this run

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

Check failure on line 38 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
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