71 Commits

Author SHA1 Message Date
Martin Tahiraj
6cfb9df309 feat(ci): add docker tool configuration to Jenkins pipeline 2026-04-08 15:10:52 +02:00
Martin Tahiraj
fdd336fe6e feat(ci): improve pipelineEvent with dynamic title, context and results
- context: 'ha-addons_build'
- title: 'Build degli addon HA: <addon1, addon2>: Completato/Fallito'
- results: mappa addon  {status, available, file} derivata da buildMap

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-02 15:48:37 +02:00
Martin Tahiraj
3e21e423bf fix(jenkins): update webhook token in Generic Trigger configuration 2026-04-02 15:38:09 +02:00
Martin Tahiraj
4e096de6c9 fix(ci): use correct registry credential ID 'REGISTRY'
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-02 14:52:04 +02:00
Martin Tahiraj
c8dbd399ce refactor(ci): extract inline scripts to ci/scripts/
- ci/scripts/read_meta.py     legge version|build_from da config.yaml/json
- ci/scripts/update_repo.py   upserta repository.json
- ci/scripts/lint_addon.sh    hadolint + yaml/json + shellcheck
- ci/scripts/git_push_repo.sh  commit e push di repository.json

Rimuove writeFile /tmp/ dal Jenkinsfile

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-02 14:46:17 +02:00
Martin Tahiraj
88fe792ca0 fix(jenkins): use GIT_TOKEN as credential ID for Gitea
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-02 14:41:54 +02:00
Martin Tahiraj
b6dc2aefe4 refactor(jenkins): remove redundant Checkout stage
Declarative Pipeline with agent any already runs 'Declarative: Checkout SCM'
automatically before user stages  the explicit stage('Checkout') was cloning
the repo a second time for no reason. Remove it entirely; capture GIT_COMMIT_SHA
and GIT_PREV_SHA at the top of stage('Detect') using the already-present workspace.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-02 14:39:39 +02:00
Martin Tahiraj
18f8d38796 fix(jenkins): move credentials out of environment block to avoid pipeline abort
credentials() in the pipeline-level environment{} block causes an immediate
abort before any stage runs if the credential ID does not exist in Jenkins.
The node is released, post{} runs without a node context, and sh steps fail
with 'Required context class hudson.FilePath is missing'.

Fix: remove REGISTRY_CREDS and GITEA_CREDS from environment{}, replace with
withCredentials() inside the stages that actually need them (Build & Push,
Publish). Wrap post{cleanup} sh calls in try/catch as a safety net.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-02 14:34:48 +02:00
Martin Tahiraj
b9b35f7b41 fix(jenkins): update trigger method to use pollSCM and provide upgrade recommendations for Generic Webhook Trigger 2026-04-02 14:07:53 +02:00
Martin Tahiraj
c62240d0de fix(jenkins): update default GITEA_USER and improve variable naming in notification logic 2026-04-02 13:01:10 +02:00
Martin Tahiraj
90793f500b feat(jenkins): add CI/CD pipeline for HA add-ons with linting, building, and publishing 2026-04-02 12:05:55 +02:00
Martin Tahiraj
33d6e9eb9d Merge branch 'main' of https://git.mt-home.uk/martin/HomeAssistantAddons 2026-04-02 11:59:13 +02:00
Martin Tahiraj
0cf4e15de4 fix readmes 2026-04-02 11:58:49 +02:00
f9b188660f Delete .claude/settings.local.json 2026-04-02 11:56:47 +02:00
Martin Tahiraj
ed712d6a62 feat(gitignore): add .claude to .gitignore 2026-04-02 11:56:13 +02:00
Martin Tahiraj
209a47b043 feat(gitea): update to version 1.0.1 with improved binary path handling and enhanced error reporting 2026-04-02 10:39:37 +02:00
Martin Tahiraj
bc2fbe7f5b feat(gitea): add README and CHANGELOG for Gitea act_runner add-on 2026-04-02 09:45:05 +02:00
Martin Tahiraj
dc68562bbd feat(gitea): add initial implementation of Gitea act_runner addon with configuration and runtime scripts 2026-04-01 15:20:30 +02:00
35bb3aad89 fix(nfs): remove dangerous -s flag and unsupported sync option from unfs3 2026-03-31 15:50:25 +02:00
b4173ea6c9 fix(nfs): remove dangerous -s flag and unsupported sync option from unfs3 2026-03-31 15:50:21 +02:00
c7d5d2f6ee feat(nfs): add per-share sync option (default true) to fix rsync I/O errors 2026-03-31 15:47:16 +02:00
b5e46d4406 fix(nfs): add unfsd -s flag for stable file handles, fixes rsync EIO errors 2026-03-31 14:38:58 +02:00
c15c6f74ab fix(nfs): remove sync/no_subtree_check, invalid for unfs3, fixes mkdir on Windows 2026-03-31 12:56:22 +02:00
e8763af552 chore(nfs): bump version to 1.0.10 2026-03-31 12:53:17 +02:00
007313fa0f fix(nfs): chmod 777 each exported folder before starting unfsd 2026-03-31 12:46:57 +02:00
a265317cd2 fix(nfs): permission options on nfs 2026-03-31 12:30:30 +02:00
ab6901cf4b feat(nfs): add root_squash option per share, default true for security 2026-03-31 12:17:42 +02:00
3123d313c1 fix(nfs): support comma-separated networks in allowed_network field 2026-03-31 12:10:00 +02:00
77a3fea2d6 fix(nfs): read config from /data/options.json with jq, bypass Supervisor API 2026-03-31 12:07:50 +02:00
8d5668252f fix(nfs): switch to unfs3 user-space NFS (kernel nfsd unavailable on HA OS) 2026-03-31 11:58:49 +02:00
5cc5363936 fix(nfs): add SYS_MODULE capability and hassio_role for API access 2026-03-31 11:56:32 +02:00
2a1002e9ca feat(nfs): multi-share config, hassio_api fix, nfsd mount fix + update docs 2026-03-31 11:54:46 +02:00
21c2bc4e2f feat(nfs): support multiple configurable NFS shares with folder/network/read_only options 2026-03-31 11:51:56 +02:00
2ff52c1df1 fix(nfs): remove dns 2026-03-31 10:51:02 +02:00
72637ae36c fix(nfs): override DNS in build to fix apk transient DNS error 2026-03-31 10:44:59 +02:00
81d10733e0 fix(nfs): use correct HA base images in build_from 2026-03-31 09:50:55 +02:00
ec36305a38 fix(nfs): config.yaml to json 2026-03-29 14:14:05 +02:00
62ffa10761 fix(nfs): image 2026-03-29 14:09:15 +02:00
4d74f14a93 fix(nfs) 2026-03-29 14:07:31 +02:00
0778d7a6fa feat(nfs): add initial NFS server implementation with configuration and usage instructions 2026-03-29 13:40:09 +02:00
330a3348b9 fix gvm 2025-05-07 18:45:36 +02:00
44e6fae92d fix(sonarqube): fix jdk17 2025-05-07 18:27:31 +02:00
23cbe69d3e update versions 2025-05-07 18:16:02 +02:00
75079b2a37 Merge branch 'main' of https://git.mt-home.uk/martin/HomeAssistantAddons 2025-05-07 17:58:49 +02:00
d8e27c9feb update version: sonarqube, gvm 2025-05-07 17:56:13 +02:00
685e088a9f fix(sonarqube)
fix(gvm)
2025-05-07 17:53:32 +02:00
cf43143810 Add GVM (OpenVAS) add-on initialization script
- Create a new script `run.sh` for initializing and launching the GVM add-on.
- Ensure required environment variables `USERNAME` and `PASSWORD` are set.
- Set the timezone if the `TZ` variable is provided.
- Initialize a data directory at `/data` if it does not exist.
- Launch the GVM service and log output to a file.

fix(sonarqube): fix config.json
2025-05-07 11:01:10 +02:00
46aa8e052d fix(minio): minor readme fix
added sonarqube
2025-05-06 10:07:15 +02:00
83890aaf5d fix(minio): update description, version, and add drive parameter support 2025-05-06 09:18:06 +02:00
e8421beff3 chore(minio): Ingress disabled and removed bucket and region logic 2025-05-06 01:46:03 +02:00