Commit Graph

371 Commits

Author SHA1 Message Date
Alexandre
9a86339d5f Change ENTRYPOINT to ha_entrypoint.sh 2025-12-30 12:59:10 +01:00
github-actions
6054bd1e46 GitHub bot: changelog 2025-12-30 11:53:24 +00:00
Alexandre
0c69c5deb2 Update version in config.yaml to alpine-sts-2 2025-12-30 12:51:15 +01:00
Alexandre
03eedf5a9d Refactor Dockerfile for Portainer Agent setup 2025-12-30 12:50:43 +01:00
GitHub Actions
03cf97ebf1 Revert 'Update version in config.yaml to alpine-sts-2' [nobuild] 2025-12-30 11:34:42 +00:00
Alexandre
94e1237da9 Update version in config.yaml to alpine-sts-2 2025-12-30 12:32:04 +01:00
Alexandre
7de70a2066 Update Dockerfile 2025-12-30 12:31:45 +01:00
Sophie
b35dd4f992 fix: Add robust error handling to bashio download process
Based on feedback from PR #2319 code review: critical network operations
need explicit error handling and validation.

Added safeguards:
- curl -f flag: Fail on HTTP errors (429, 404, 500, etc)
- test -s check: Verify downloaded file is not empty
- tar extraction error check: Fail if tar extraction fails
- lib directory validation: Confirm bashio/lib exists after extraction
- Explicit error messages: Clear diagnostics if any step fails

This prevents silent failures where downloads could fail but build
continues with broken/missing bashio installation.

Prevents: Users pulling images with non-functional bashio
Impact: Build will fail explicitly with clear error messages if download/extraction fails
2025-12-30 11:15:18 +01:00
Sophie
dd66f4b497 docs: Update CHANGELOG with complete list of fixes addressing code review feedback
- Multi-architecture support restored (aarch64 builds)
- Error suppression removed for user diagnostics
- Circular dependency fix documented
- Config.yaml version tag corrected
2025-12-30 10:43:18 +01:00
Sophie
72a99d056a fix: Address critical code review feedback from Gemini
CRITICAL FIXES:
1. Restore multi-architecture support - Use ARG BUILD_FROM/BUILD_ARCH instead of hardcoded amd64 base image
   - Fixes: aarch64 builds were broken by hardcoded FROM ghcr.io/hassio-addons/base/amd64:11.1.0
   - Now: FROM $BUILD_FROM allows alexbelgium build system to set correct base per architecture

2. Remove stderr suppression from agent command - Restore error visibility for debugging
   - Fixes: Error messages were hidden by 2>/dev/null redirection
   - Now: ./agent command output visible for user diagnostics

These changes ensure:
- Multi-arch builds work correctly (amd64, aarch64, armv7, armhf, i386)
- Users can debug configuration issues via visible error logs
- Circular dependency fix is fully compatible with existing build system
2025-12-30 10:38:11 +01:00
Sophie
64f0656e84 docs: Update CHANGELOG.md with fix for circular dependency issue
Adds changelog entry for alpine-sts version (30-12-2025) documenting:
- Fix for circular dependency that prevented Docker builds
- Restoration of official Portainer Agent image source
- Resolution of Issue #2318 (404 manifest unknown errors for users)
2025-12-30 10:24:49 +01:00
Sophie
4a75b76a19 fix: Restore Portainer Agent build and image source - Fix circular dependency
Restores official Portainer Agent image source (ghcr.io/portainerci/agent:latest)
in COPY --from statements. Previous code review feedback inadvertently introduced
a circular dependency that prevents Docker builds.

This fixes Issue #2318 where users cannot update due to 404 manifest unknown error.

Closes #2318
2025-12-30 10:19:01 +01:00
Claude Code
fdfe3070d2 fix: Correct CHANGELOG.md formatting for Codacy compliance
- Add blank line after version heading per markdown style guidelines
- Ensures consistent formatting with rest of CHANGELOG
2025-12-29 16:00:51 +01:00
Claude Code
f0f1251285 fix: Address code review feedback from Gemini
- Use BUILD_FROM and BUILD_ARCH for multi-architecture support
  * Replace hardcoded amd64 with BUILD_FROM in FROM statement
  * Use BUILD_ARCH variable in COPY --from directives
  * Enables building for both amd64 and aarch64 architectures

- Remove error suppression in run script for better debugging
  * Change 'cd /app || true' to 'cd /app' (fail fast on errors)
  * Remove '2> /dev/null' redirection from agent startup
  * Allow error messages to reach container logs for troubleshooting

These changes ensure the fix works correctly across all supported architectures
and provides visibility into any runtime issues.
2025-12-29 15:53:37 +01:00
Claude Code
6de904a01f fix: PROTECTION MODE IS ENABLED error when protection mode is OFF
Fixes #2307

Changes:
- Update bashio from v0.17.5 → main branch (improved API error handling)
- Add robust protection mode check with Docker socket fallback
- Implement Level 1 (standard bashio) + Level 2 (socket check) fallback logic
- Update CHANGELOG.md with fix details
- Tested and verified working on Home Assistant OS with protection mode OFF

The fix addresses root cause: bashio v0.17.5 calls /addons/self endpoint
which returns 403 Forbidden. bashio's error handling incorrectly assumes
this means protection mode is ON. The fallback checks Docker socket directly
as a reliable indicator of actual protection mode state.
2025-12-29 15:40:14 +01:00
github-actions
0c8f5239bf Github bot : image compressed 2025-12-28 23:06:51 +00:00
github-actions
c6b84a8b46 GitHub bot : graphs updated 2025-12-26 12:12:24 +00:00
alexbelgium
e2e29a8a06 Updater bot : portainer_agent updated to alpine-sts 2025-12-24 08:34:58 +01:00
alexbelgium
c62a40b7de Updater bot : portainer_agent updated to 2025-12-23 17:53:52 +01:00
GitHub Actions
fad52733f1 Revert 'Updater bot : portainer_agent updated to' [nobuild] 2025-12-23 16:18:43 +00:00
alexbelgium
6b6d28fa3c Updater bot : portainer_agent updated to 2025-12-23 17:17:07 +01:00
github-actions
bf006ecdf8 Github bot : image compressed 2025-12-14 23:06:37 +00:00
github-actions
92098d38dd GitHub bot : graphs updated 2025-12-12 12:12:44 +00:00
github-actions
a175ea5cef Github bot : image compressed 2025-12-07 23:06:17 +00:00
github-actions
f325ec908d GitHub bot : graphs updated 2025-12-05 12:13:35 +00:00
Alexandre
d90e3f7b91 Remove support development headings from READMEs 2025-12-01 14:12:00 +01:00
github-actions
18e98f0417 Github bot : image compressed 2025-11-30 23:06:33 +00:00
github-actions
f5d3e322b4 GitHub bot : graphs updated 2025-11-28 12:13:50 +00:00
Alexandre
6e635c3a76 update 2025-11-24 15:38:17 +00:00
Alexandre
27abb2144f update 2025-11-24 15:37:21 +00:00
Alexandre
05881fd101 update 2025-11-24 15:35:21 +00:00
Alexandre
d0f81bace5 update 2025-11-24 15:31:26 +00:00
Alexandre
d01ca4cc41 update 2025-11-24 15:24:30 +00:00
Alexandre
dc540a34ef update 2025-11-24 15:20:38 +00:00
Alexandre
047c8797c1 update 2025-11-24 15:16:17 +00:00
Alexandre
2bf9c0413c improve donate 2025-11-24 15:14:27 +00:00
github-actions
7342b37a06 Github bot : image compressed 2025-11-23 23:06:31 +00:00
github-actions
7bfaf182ea GitHub bot : graphs updated 2025-11-21 12:11:42 +00:00
Alexandre
a22495b2eb Add architecture deprecation notice 2025-11-19 21:35:05 +01:00
github-actions
5417361906 Github bot : image compressed 2025-11-16 23:06:18 +00:00
github-actions
2fff46930a GitHub bot : graphs updated 2025-11-14 12:14:37 +00:00
github-actions
6e4b6f9c7f Github bot : image compressed 2025-11-09 23:06:10 +00:00
Alexandre
49fe9c0243 Remove deprecated codenotary metadata 2025-11-07 14:42:36 +01:00
github-actions
d5a4c0effa GitHub bot : graphs updated 2025-11-07 12:12:19 +00:00
Alexandre
41c64d3b08 Add env_vars default options to relevant addons 2025-11-07 11:38:27 +01:00
Alexandre
a928c8e9e2 Embed env_vars guidance in docs 2025-11-06 16:50:01 +01:00
github-actions
a590e89e86 GitHub bot : graphs updated 2025-11-06 14:06:43 +00:00
Alexandre
752a5d2acd add env_vars nobuild 2025-11-06 11:51:25 +01:00
github-actions
6e7451bbb9 Github bot : image compressed 2025-11-02 23:06:16 +00:00
github-actions
c69490b542 GitHub bot : graphs updated 2025-10-31 12:09:37 +00:00