Skip to content

Commit

Permalink
Merge pull request #21 from leograba/dev-leo
Browse files Browse the repository at this point in the history
Release 0.4.1
  • Loading branch information
leograba authored Jul 13, 2024
2 parents f7fc152 + 6128cbc commit 91f44fe
Show file tree
Hide file tree
Showing 17 changed files with 70 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"torizon_app_root": "/home/torizon",
"tcb.packageName": "__change__",
"tcb.version": "3.8.1",
"project_version": "0.4.0"
"project_version": "0.4.1"
}
2 changes: 1 addition & 1 deletion browser/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"torizon_app_root": "/home/torizon",
"tcb.packageName": "TorizonOSBuildStatusBrowser",
"tcb.version": "3.8.1",
"docker_tag": "0.4.0"
"docker_tag": "0.4.1"
}
2 changes: 1 addition & 1 deletion browser/docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.9"
services:
torizon-os-build-status-browser:
image: leograba/torizon-os-build-status-browser:0.4.0
image: leograba/torizon-os-build-status-browser:0.4.1
2 changes: 1 addition & 1 deletion dataAcquisition/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"torizon_app_root": "/home/torizon",
"tcb.packageName": "TorizonOSBuildStatusDataAcquisition",
"tcb.version": "3.8.1",
"docker_tag": "0.4.0"
"docker_tag": "0.4.1"
}
52 changes: 28 additions & 24 deletions dataAcquisition/docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
version: "3.9"
services:
torizon-os-build-status-data-acquisition:
platform: linux/arm64
environment:
- DEBUG=DEBUG
- DEMO=1
networks:
- influxdbnet
- frontend
Expand All @@ -12,12 +10,35 @@ services:
- "8086"
depends_on:
- influxdb
image: leograba/torizon-os-build-status-data-acquisition:rc
image: leograba/torizon-os-build-status-data-acquisition:0.4.1
environment:
- DEBUG=DEBUG
- DEMO=1
grafana:
platform: linux/arm64
volumes:
- $PWD/debug/grafana-config/grafana.ini:/etc/grafana/grafana.ini
- $PWD/debug/grafana-config/provisioning/datasources/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
- $PWD/debug/grafana-config/provisioning/dashboards/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
- $PWD/debug/grafana-config/provisioning/dashboards/dashboard.json:/var/lib/grafana/dashboards/dashboard.json
ports:
- 3000:3000
networks:
- influxdbnet
- frontend
depends_on:
- influxdb
- torizon-os-build-status-data-acquisition
image: leograba/torizon-os-build-status-grafana:0.4.1
influxdb:
image: leograba/torizon-os-build-status-influxdb:0.4.0
platform: linux/arm64
networks:
- influxdbnet
deploy:
resources:
limits:
memory: 1G
image: leograba/torizon-os-build-status-influxdb:0.4.1
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=torizon
Expand All @@ -27,25 +48,8 @@ services:
- DOCKER_INFLUXDB_INIT_RETENTION=60m
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=T0rizonTh3Ea&IndustrialPlatform
- INFLUXD_LOG_LEVEL=error
grafana:
platform: linux/arm64
ports:
- 3000:3000
networks:
- influxdbnet
- frontend
image: leograba/torizon-os-build-status-grafana:0.4.0
depends_on:
- influxdb
- torizon-os-build-status-data-acquisition
volumes:
- $PWD/debug/grafana-config/grafana.ini:/etc/grafana/grafana.ini
- $PWD/debug/grafana-config/provisioning/datasources/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
- $PWD/debug/grafana-config/provisioning/dashboards/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
- $PWD/debug/grafana-config/provisioning/dashboards/dashboard.json:/var/lib/grafana/dashboards/dashboard.json
networks:
frontend:
internal: false
influxdbnet:
internal: true
version: "3.9"
frontend:
internal: false
8 changes: 6 additions & 2 deletions dataAcquisition/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:

influxdb:
platform: linux/arm64
image: leograba/torizon-os-build-status-influxdb:0.4.0
image: leograba/torizon-os-build-status-influxdb:0.4.1
networks:
- influxdbnet
environment:
Expand All @@ -35,10 +35,14 @@ services:
- DOCKER_INFLUXDB_INIT_RETENTION=60m
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=T0rizonTh3Ea&IndustrialPlatform
- INFLUXD_LOG_LEVEL=error
deploy:
resources:
limits:
memory: 1G

grafana:
platform: linux/arm64
image: leograba/torizon-os-build-status-grafana:0.4.0
image: leograba/torizon-os-build-status-grafana:0.4.1
networks:
- influxdbnet
- frontend
Expand Down
2 changes: 1 addition & 1 deletion dataAcquisition/get-build-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ logger "Polling interval set to $POLL_INTERVAL_SEC seconds" "INFO"
if [[ -n "$DEMO" ]]; then
logger "Demo mode enabled" "INFO"
logger "Generating fake data at every poll interval" "INFO"
FAKEDATECOUNT=30
FAKEDATECOUNT=190
else
logger "Demo mode disabled" "INFO"
fi
Expand Down
14 changes: 9 additions & 5 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.9"
services:

data-acquisition:
image: leograba/torizon-os-build-status-data-acquisition:0.4.0
image: leograba/torizon-os-build-status-data-acquisition:0.4.1
platform: linux/arm64
networks:
- influxdbnet
Expand All @@ -16,7 +16,7 @@ services:
restart: on-failure

influxdb:
image: leograba/torizon-os-build-status-influxdb:0.4.0
image: leograba/torizon-os-build-status-influxdb:0.4.1
platform: linux/arm64
networks:
- influxdbnet
Expand All @@ -32,9 +32,13 @@ services:
volumes:
- "influxdb-storage:/var/lib/influxdb2"
restart: on-failure
deploy:
resources:
limits:
memory: 1G

grafana:
image: leograba/torizon-os-build-status-grafana:0.4.0
image: leograba/torizon-os-build-status-grafana:0.4.1
platform: linux/arm64
networks:
- influxdbnet
Expand All @@ -49,7 +53,7 @@ services:
restart: on-failure

weston:
image: leograba/torizon-os-build-status-weston:0.4.0
image: leograba/torizon-os-build-status-weston:0.4.1
platform: linux/arm
# Required to get udev events from host udevd via netlink
network_mode: host
Expand All @@ -76,7 +80,7 @@ services:
restart: on-failure

browser:
image: leograba/torizon-os-build-status-browser:0.4.0
image: leograba/torizon-os-build-status-browser:0.4.1
platform: linux/arm
environment:
- MACHINE
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ services:
volumes:
- "influxdb-storage:/var/lib/influxdb2"
restart: on-failure
deploy:
resources:
limits:
memory: 1G

grafana:
image: leograba/torizon-os-build-status-grafana:rc
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ services:
volumes:
- "influxdb-volume:/var/lib/influxdb2"
restart: on-failure
deploy:
resources:
limits:
memory: 1G

grafana:
image: ${DOCKER_LOGIN}/torizon-os-build-status-grafana:${TAG}
Expand Down
2 changes: 1 addition & 1 deletion grafana/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"torizon_app_root": "/home/torizon",
"tcb.packageName": "TorizonOSBuildStatusGrafana",
"tcb.version": "3.8.1",
"docker_tag": "0.4.0"
"docker_tag": "0.4.1"
}
4 changes: 2 additions & 2 deletions grafana/docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.9"
services:
torizon-os-build-status-grafana:
image: leograba/torizon-os-build-status-grafana:0.4.0
version: "3.9"
image: leograba/torizon-os-build-status-grafana:0.4.1
2 changes: 1 addition & 1 deletion influxdb/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"torizon_app_root": "/home/torizon",
"tcb.packageName": "TorizonOSBuildStatusInfluxDB",
"tcb.version": "3.8.1",
"docker_tag": "0.4.0"
"docker_tag": "0.4.1"
}
4 changes: 2 additions & 2 deletions influxdb/docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.9"
services:
torizon-os-build-status-influxdb:
image: leograba/torizon-os-build-status-influxdb:0.4.0
image: leograba/torizon-os-build-status-influxdb:0.4.1
version: "3.9"
10 changes: 5 additions & 5 deletions tcb/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.9"
services:

data-acquisition:
image: leograba/torizon-os-build-status-data-acquisition:0.4.0
image: leograba/torizon-os-build-status-data-acquisition:0.4.1
networks:
- influxdbnet
- frontend
Expand All @@ -12,7 +12,7 @@ services:
restart: on-failure

influxdb:
image: leograba/torizon-os-build-status-influxdb:0.4.0
image: leograba/torizon-os-build-status-influxdb:0.4.1
networks:
- influxdbnet
environment:
Expand All @@ -28,7 +28,7 @@ services:
restart: on-failure

grafana:
image: leograba/torizon-os-build-status-grafana:0.4.0
image: leograba/torizon-os-build-status-grafana:0.4.1
networks:
- influxdbnet
- frontend
Expand All @@ -42,7 +42,7 @@ services:
restart: on-failure

weston:
image: leograba/torizon-os-build-status-weston:0.4.0
image: leograba/torizon-os-build-status-weston:0.4.1
# Required to get udev events from host udevd via netlink
network_mode: host
volumes:
Expand All @@ -68,7 +68,7 @@ services:
restart: on-failure

browser:
image: leograba/torizon-os-build-status-browser:0.4.0
image: leograba/torizon-os-build-status-browser:0.4.1
environment:
- MACHINE
security_opt:
Expand Down
2 changes: 1 addition & 1 deletion weston/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"torizon_app_root": "/home/torizon",
"tcb.packageName": "TorizonOSBuildStatusWeston",
"tcb.version": "3.8.1",
"docker_tag": "0.4.0"
"docker_tag": "0.4.1"
}
4 changes: 2 additions & 2 deletions weston/docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.9"
services:
torizon-os-build-status-weston:
image: leograba/torizon-os-build-status-weston:0.4.0
image: leograba/torizon-os-build-status-weston:0.4.1
version: "3.9"

0 comments on commit 91f44fe

Please sign in to comment.