Fix invalid cmd: syntax in GitHub Actions mosquitto service containers (#996)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thomasnordquist <7721625+thomasnordquist@users.noreply.github.com>
This commit is contained in:
7
.github/workflows/docker-browser.yml
vendored
7
.github/workflows/docker-browser.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
services:
|
services:
|
||||||
# MQTT broker for testing
|
# MQTT broker for testing
|
||||||
mosquitto:
|
mosquitto:
|
||||||
image: eclipse-mosquitto:2
|
image: ghcr.io/thomasnordquist/mqtt-explorer-ui-tests:latest
|
||||||
ports:
|
ports:
|
||||||
- 1883:1883
|
- 1883:1883
|
||||||
options: >-
|
options: >-
|
||||||
@@ -45,8 +45,9 @@ jobs:
|
|||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
--entrypoint sh
|
--entrypoint mosquitto
|
||||||
cmd: -c "mkdir -p /mosquitto/config && echo 'listener 1883' > /mosquitto/config/mosquitto.conf && echo 'allow_anonymous true' >> /mosquitto/config/mosquitto.conf && exec mosquitto -c /mosquitto/config/mosquitto.conf"
|
-c
|
||||||
|
/etc/mosquitto/conf.d/default.conf
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@@ -176,7 +176,7 @@ jobs:
|
|||||||
TESTS_MQTT_BROKER_PORT: 1883
|
TESTS_MQTT_BROKER_PORT: 1883
|
||||||
services:
|
services:
|
||||||
mosquitto:
|
mosquitto:
|
||||||
image: eclipse-mosquitto:2
|
image: ghcr.io/thomasnordquist/mqtt-explorer-ui-tests:latest
|
||||||
ports:
|
ports:
|
||||||
- 1883:1883
|
- 1883:1883
|
||||||
options: >-
|
options: >-
|
||||||
@@ -184,8 +184,9 @@ jobs:
|
|||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
--entrypoint sh
|
--entrypoint mosquitto
|
||||||
cmd: -c "mkdir -p /mosquitto/config && echo 'listener 1883' > /mosquitto/config/mosquitto.conf && echo 'allow_anonymous true' >> /mosquitto/config/mosquitto.conf && exec mosquitto -c /mosquitto/config/mosquitto.conf"
|
-c
|
||||||
|
/etc/mosquitto/conf.d/default.conf
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user