Aram Akhavan
6cc9ff7fc5
Update docker building ( #961 )
...
* Remove old entry and dependencies from Makefile
* Update Dockerfiles to only COPY needed files for faster builds and better caching
* Test the docker files getting built from the Makefile in CI
2026-03-14 22:11:33 -07:00
slydetector
afbf1450c2
Build and distribute latest smartmontools 7.5 as part of image ( #924 )
...
Co-authored-by: slydetector <slydetector>
Co-authored-by: Aram Akhavan <1147328+kaysond@users.noreply.github.com >
2026-03-08 13:24:23 -07:00
Aram Akhavan
d433a6a54e
Bump base image to debian trixie ( #935 )
...
CIoses #929
2026-02-21 19:55:21 -08:00
Aram Akhavan
02996d6288
Bump influxdb to 2.8 ( #933 )
...
Closes #863
2026-02-21 16:02:10 -08:00
mcarbonne
6362512406
Update go to 1.25 ( #875 )
...
Closes #872
* update go to 1.25
* update deprecated gomock
* remove deprecated ioutil
* update (and fix) ci
* add golang lint (as warning)
* enable formatters + freeze golang version
2026-02-08 20:46:36 -08:00
Impact
a182c691fb
Unify docker restart policy among docs and example files.
2025-05-06 05:07:56 +00:00
Jason Kulatunga
6e349244d1
Update example.hubspoke.docker-compose.yml
2025-01-04 17:41:51 -07:00
Jason Kulatunga
67c0af9f59
fix amd64 s6_arch.
2024-04-05 14:11:11 -07:00
Jason Kulatunga
f74d9c108a
fixing cron in #602
...
Updated s6overlay to v3
Note: xz-utils was added as a requirement for s6-overlay (using safe 5.4.1 instead of compromised 5.6.x versions)
2024-04-05 10:01:04 -07:00
Jason Kulatunga
3490a2ffc2
Merge pull request #597 from joserebelo/sigterm
...
Use exec on scrutiny-collector cron to ensure signal handling
2024-03-12 21:08:16 -07:00
Drop Signal
6a9b89b38a
fixed missing &&
2024-03-12 21:39:36 -05:00
Drop Signal
543f376015
performing requested changes
2024-03-09 21:37:11 -06:00
José Rebelo
ca7bd2c151
Use exec on scrutiny-collector cron to ensure signal handling
...
This way SIGTERM gets propagated and the container terminates
gracefully.
2024-03-09 22:46:07 +00:00
Drop Signal
1e74e96658
rebase to debian 12 (bookworm)
2024-03-08 22:30:43 -06:00
PrplHaz4
56df7b5797
Add COLLECTOR_HOST_ID env var to hubspoke example
...
Added COLLECTOR_HOST_ID environment variable to hubspoke example
2024-01-15 16:51:10 -05:00
Aram Akhavan
a8621d2bb0
Update permissions setting in Dockerfile.web
...
This fixes issues with assets loading when you run as non root users
2023-09-29 11:51:47 -07:00
Jason Kulatunga
0b50305f38
fix invalid COPY instruction.
2023-04-07 00:00:11 -07:00
Jason Kulatunga
ee3d719c3a
simplify docker image build
...
changes contributed by @modem7
fixes #461
2023-04-06 23:57:15 -07:00
Jason Kulatunga
8c3afc31f4
Merge pull request #449 from adamantike/fix/delete-influxdb-deb-from-docker-image
2023-04-05 23:25:52 -07:00
Michael Manganiello
fb7848f341
Delete temporary deb file from omnibus Docker image
...
This considerably reduces the Docker image size for the `omnibus` variant:
```
scrutiny-omnibus-master latest cd7a7dde100b 9 minutes ago 538MB
scrutiny-omnibus-fix-applied latest 5f7ac124ef50 6 minutes ago 431MB
```
2023-02-22 16:25:09 -03:00
Michael Manganiello
007857afd5
Upgrade to Go 1.20
...
With the release of Go 1.20, version 1.18 is not supported anymore. This
change upgrades the project to Go 1.20.
2023-02-19 21:18:51 -03:00
Jason Kulatunga
ad4b117f6e
fixes #412
...
Added ability to trigger collector at startup.
Disabled by default, (enable by setting `-e COLLECTOR_RUN_STARTUP=true`)
Added COLLECTOR_RUN_STARTUP_SLEEP env variable to specify seconds before calling scrutiny collector on first run, default sleep value = 1s.
2023-01-11 17:41:09 -08:00
Jason Kulatunga
6ca4bd4912
fix the WORKDIR for collector image.
...
fixes #335
2022-07-13 21:56:58 -07:00
Jason Kulatunga
5ea149d878
upgrading to go 1.18 for generics (and lodash-like library).
...
devices with an empty wwn should be filtered out (not uploaded during device registration, skipped when attempting to upload metrics).
added a migration to delete existing device entries with an empty `wwn`
fixes #314
2022-07-09 18:28:49 -07:00
Jason Kulatunga
772b4f6528
fix influxdb install.
2022-07-06 21:39:33 -07:00
Jason Kulatunga
4a16ca0d5a
wip, migrate all scripts to new build pattern (Makefile + multiple GH agents).
2022-07-06 21:39:33 -07:00
Jason Kulatunga
316ce856f7
cleanup, remove -race flag when testing (requires CGO)
2022-07-06 21:39:33 -07:00
Jason Kulatunga
7a0b9c9e0d
trying to fix docker image build.
2022-06-10 08:20:13 -07:00
Jason Kulatunga
44b3d982dd
trying to fix docker image build.
2022-06-10 08:19:25 -07:00
Jason Kulatunga
892e9685f3
attempting to fix https://github.com/AnalogJ/scrutiny/issues/281 by removing static flag in artifact build
2022-06-09 19:34:16 -07:00
Jason Kulatunga
cb47dd7185
revert s6-overlay changes.
2022-06-07 22:03:02 -07:00
Jason Kulatunga
f8bb185854
trying to fix seg fault issues. Attempting to consolidate on debian-bullseye for runtime docker images.
2022-06-07 21:29:15 -07:00
Jason Kulatunga
6005b8609a
trying to fix docker image builds (take 1h+ right now).
...
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
2022-06-04 12:22:07 -07:00
Jason Kulatunga
ca7772250c
fix s6-overlay overwriting bin symlinks:
...
https://github.com/just-containers/s6-overlay/tree/v2.1.0.1#bin-and-sbin-are-symlinks
adding a makefile to build docker images locally.
2022-06-02 21:06:43 -07:00
Jason Kulatunga
965fbb08da
trying to fix installation.
2022-06-02 11:35:30 -07:00
Jason Kulatunga
e16933eeac
trying to fix installation.
2022-06-02 11:06:15 -07:00
Jason Kulatunga
4d0fc0eae8
trying to fix installation.
2022-06-02 10:49:22 -07:00
Jason Kulatunga
8296a973b8
trying to fix installation.
2022-06-02 10:48:44 -07:00
Jason Kulatunga
19a9957755
using ARG DEBIAN_FRONTEND=noninteractive
2022-06-02 10:40:28 -07:00
Jason Kulatunga
766a73455e
update the base image for docker iamges to ubuntu:latest - which follows the LTS.
...
fixes #274
2022-06-02 10:04:36 -07:00
Jason Kulatunga
3971b37abc
attempting to fix docker image build by generating frontend version information before docker build.
2022-05-27 12:59:32 -07:00
Jason Kulatunga
cf1bd3ea6b
trying to fix docker build, so it includes git sha info.
2022-05-27 00:13:34 -07:00
Jason Kulatunga
c7c55ab95c
trying to fix docker build, so it includes git sha info.
2022-05-26 23:44:13 -07:00
Jason Kulatunga
d7ddf01ea0
trying to fix docker build, so it includes git sha info.
2022-05-26 23:04:57 -07:00
Jason Kulatunga
c539af1a67
trying to fix docker build, so it includes git sha info.
2022-05-26 22:53:00 -07:00
Jason Kulatunga
d93d24b52d
using npm run commands for building angular application (supports pre steps).
...
Automatically embed the application version in the UI.
2022-05-26 22:37:45 -07:00
Jason Kulatunga
aa786c0db8
upgrade to go 1.17
2022-05-18 09:40:52 -07:00
Jason Kulatunga
a35c3bae08
make 50-cron-config and entrypoint-collector.sh mirrors of each other. This is for ease of maintainability.
...
related #121
2022-05-14 22:04:46 -07:00
Jason Kulatunga
a004f85145
fixing cron.
...
related #121
2022-05-12 15:24:51 -07:00
Jason Kulatunga
5dc79134b2
cron file consistent logging (still broken)
2022-05-12 13:20:54 -07:00