395 Commits

Author SHA1 Message Date
github-actions
da09adeeb6 Github bot : image compressed 2026-01-04 23:07:02 +00:00
github-actions
be7b9d7ba2 GitHub bot : graphs updated 2026-01-02 12:12:26 +00:00
github-actions
b8811847a4 GitHub bot: changelog 2025-12-31 10:27:03 +00:00
Alexandre
01fbdec656 Update config.yaml 2025-12-31 11:24:59 +01:00
Alexandre
baaf441b01 Align hostname with container name 2025-12-31 11:24:12 +01:00
github-actions
b4cf41bdaf GitHub bot: changelog 2025-12-31 08:36:19 +00:00
Alexandre
775caddd7e Update version to 2025.12-5 in config.yaml 2025-12-31 09:34:02 +01:00
Alexandre
dd931d7696 Fix exec command in portainer_agent run script 2025-12-31 09:33:37 +01:00
Alexandre
3357799fa3 Update run 2025-12-31 09:32:01 +01:00
github-actions
79dfd665d2 GitHub bot: changelog 2025-12-31 08:25:56 +00:00
Alexandre
4520703d39 Update run 2025-12-31 09:25:26 +01:00
Alexandre
fe34bc4998 Update version of Portainer Agent to 2025.12-4 2025-12-31 09:23:46 +01:00
github-actions
dcdd67993b GitHub bot: changelog 2025-12-31 08:19:04 +00:00
Alexandre
03d5e4c1e0 Update config.yaml 2025-12-31 09:18:09 +01:00
Alexandre
40439cf497 Add PORTAINER_AGENT_ARGS to config.yaml 2025-12-31 09:16:39 +01:00
Alexandre
6cb204ca93 Update run 2025-12-31 09:16:02 +01:00
Alexandre
0f4cb6f0f0 Nobuild 2025-12-31 09:15:25 +01:00
Alexandre
3183ed841a Update config.yaml 2025-12-31 09:10:39 +01:00
github-actions
ec37da3c72 GitHub bot: changelog 2025-12-31 08:05:27 +00:00
Alexandre
15d2d44c9e Update config.yaml 2025-12-31 09:03:03 +01:00
Alexandre
a916043cb1 Update version in config.yaml to 2025.12 2025-12-30 13:24:21 +01:00
Alexandre
4434854232 Change ENTRYPOINT to use /usr/bin/env 2025-12-30 13:23:45 +01:00
github-actions
81ff59d7e8 GitHub bot: changelog 2025-12-30 12:01:34 +00:00
Alexandre
8eb63b70fd Update version from alpine-sts-2 to alpine-sts-3 2025-12-30 12:59:30 +01:00
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