Commit Graph

149 Commits

Author SHA1 Message Date
Pieter Viljoen
276eea2b69
[docker] Avoid unsafe git error when container user and file config volume permissions don't match (#6873) 2024-06-08 07:36:07 +12:00
Pieter Viljoen
05491e756b
Avoid unsafe git error when container user and file config volume permissions don't match (#6843) 2024-06-04 13:34:47 +12:00
Jesse Hills
f2ef06d8b5
[core] Migrate to pyproject.toml (#6737) 2024-05-16 13:19:37 +12:00
Jesse Hills
0af26fdfd4
Move esphome-fork startup script to main repo. (#6523)
Co-authored-by: Blair McBride <blair@theunfocused.net>
2024-04-17 14:43:29 +12:00
Alexander Puzynia
a8ab745479
Allow to specify global build directory (#6276) 2024-02-26 11:26:08 +13:00
Jesse Hills
7baf091d47
Bump openssh-client to 1:9.2p1-2+deb12u2 (#6216) 2024-02-13 14:29:54 +13:00
dependabot[bot]
ea9de45d16
Bump platformio from 6.1.11 to 6.1.13 (#6086)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-19 10:07:50 +09:00
J. Nick Koston
de6fc6b1dd
Fix docker builds (#6012) 2023-12-24 22:57:15 +09:00
CVan
0a779a9299
Update libtiff6 (#5985) 2023-12-22 07:55:10 +09:00
Landon Rohatensky
49c09afb87
Allow images to be downloaded from URLs (#5214)
Co-authored-by: guillempages <guillempages@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-24 08:10:33 +13:00
CVan
55f13dc347
fix: compile errors with fonts (#5808) 2023-11-21 13:19:36 +13:00
Samuel Sieb
32e3f26239
fix 32-bit arm (#5781) 2023-11-17 09:16:03 +00:00
Jesse Hills
208edf89dc
Split release workflow jobs per system arch (#5723) 2023-11-16 21:06:16 +13:00
J. Nick Koston
28513a0502
Update Dockerfile to use piwheels for armv7 (#5709) 2023-11-09 21:04:39 +13:00
J. Nick Koston
d394b957d1
Use piwheels for armv7 docker image builds (#5703) 2023-11-09 11:50:08 +13:00
Jc Miñarro
d809c80286
Add Healthcheck to Dockerfile (#5651) 2023-11-03 07:19:43 +13:00
J. Nick Koston
9dfcf801a3
Fix armv7 docker builds (#5630) 2023-10-30 14:07:25 -05:00
J. Nick Koston
8ef743f25e
Update docker base and packages + docker python 3.11 (#5473)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-18 19:33:19 +13:00
Jesse Hills
f4ce8b8b6c
Bump curl to 7.74.0-1.3+deb11u10 (#5517) 2023-10-12 15:52:57 +13:00
Jesse Hills
e09c217fde
Bump docker dependencies (#5501) 2023-10-09 11:13:12 +13:00
Jesse Hills
589b9e10b2
Ensure esphome directory exists on addon startup (#5464) 2023-10-02 13:45:24 +13:00
Jesse Hills
12365976c4
Migrate dashboard json files to /data folder instead of wiping out (#5441) 2023-09-28 11:40:36 +13:00
Michael Hansen
280b090dfc
Add patch to apt install (#5389) 2023-09-13 18:13:55 -05:00
Jesse Hills
fe81bcc003
Use /data directory for .esphome folder when running as HA add-on (#5374) 2023-09-12 09:26:48 +12:00
dependabot[bot]
6b0fb3dd06
Bump platformio from 6.1.10 to 6.1.11 (#5323)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-05 23:31:21 +00:00
dependabot[bot]
f814b6d47c
Bump platformio from 6.1.9 to 6.1.10 (#5237)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-21 04:27:17 +00:00
Jesse Hills
f16a24ddf4
Move libcairo to all architectures in docker (#5276) 2023-08-18 19:13:46 +12:00
Pierre Gordon
5f99ed943a
Add libfreetype-dev Debian package for armv7 Docker builds (#5262) 2023-08-17 12:22:04 +12:00
Jimmy Hedman
5eb12ac5fe
Make docker use pip installed pillow (#5074) 2023-07-20 15:52:41 +12:00
guillempages
6b00622329
Add support for mdi images (#4654) 2023-06-07 09:32:21 +12:00
dependabot[bot]
18f4e41550
Bump platformio from 6.1.6 to 6.1.7 (#4795)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-17 05:29:15 +00:00
Jesse Hills
57e909e790
Only pre-install libraries in docker images (#4766) 2023-05-01 15:57:57 +12:00
Jesse Hills
2d56b70a36
Bump git version in Dockerfile (#4763) 2023-05-01 08:51:46 +12:00
Jesse Hills
6476357596
Expand the platformio dep installer to also install platforms and tools (#4716) 2023-04-27 12:26:06 +12:00
Keith Burzinski
c0ad5d1d16
Initial attempt at supporting ESP-IDF 5.0.0 (#4364)
* requirements: add pyparsing >= 3.0

ESP-IDF >= 5.0 requires pyparsing's rest_of_file, which was introduced
in version 3.0.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* esp32: fix build with ESP-IDF >= 5

We need to include esp_timer.h to be able to use esp_timer_get_time().
This header existed in ESP-IDF < 5 so we don't need if guards.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* ota: fix build with ESP-IDF >= 5

As of version 5, esp_task_wdt_init() takes a struct as argument. We also
need to include spi_flash_mmap.h.

[split unrelated change into separate commits, maintain ESP-IDF < 5
compat, use esp_task_wdt_reconfigure, add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* core: fix build with ESP-IDF >= 5

These header files already existed in ESP-IDF < 5 so skip if guards.

[add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* wifi: fix build with ESP-IDF >= 5

ESP-IDF 4.1 introduced the esp-netif API as successor to the tcp_adapter
API. The tcp_adapter API was removed in ESP-IDF 5.0.0. Part of the wifi
component was already migrated to the new API. Migrate the leftover uses
of the old API to the new API to fix build on ESP-IDF >= 5.

The version of ESP-IDF currently in use (4.4.4) supports the new API, so
we don't need any if guards to maintain backwards compatibility.

Also replace xQueueHandle, which is a pre FreeRTOS v8.0.0 data type,
with QueueHandle_t, so we don't need to enable backward compatibility
(CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY).

This reverts part of commit d42f35de5d to wifi_component_esp_idf.cpp,
as the esp-netif API handles that internally.

[replace pre FreeRTOS v8.0.0 data type, add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* mdns: fix build with ESP-IDF >= 5

In ESP-IDF 5.0.0, the mdns component was removed and moved to another
repository. Since the mdns component in esphome is always built, we
need to add the mdns component from the esp-protocols repository. This
component depends on ESP-IDF >= 5.0, so we need to add a version guard.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* docker: install python3-venv

As of version 6.0.1, platform-espressif32 requires python3-venv.
Switching between esp-idf 4.4.4 and 5.0 causes problems with esp-idf
python dependencies installed by PlatformIO. They've solved this by
using venv. Install python3-venv so that platform-espressif32 6.0.1 and
later can be used, and we don't need to wipe the dependencies manually
when switching esp-idf versions.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

---------

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-04-20 03:54:06 +00:00
Oxan van Leeuwen
14e38f0469
Upgrade clang-format to v13 (#4535)
* Upgrade clang-format to v13

* Apply clang-format-13 formatting changes

* Format

* Format bme_680

---------

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-20 03:38:41 +00:00
Jesse Hills
5a07e8d32b
Bump docker dependencies (#4526)
* Bump curl to 7.74.0-1.3+deb11u7

* Bump docker base images
2023-03-07 04:06:42 +00:00
dependabot[bot]
b4068dac56
Bump platformio from 6.1.5 to 6.1.6 (#4341)
* Bump platformio from 6.1.5 to 6.1.6

Bumps [platformio](https://github.com/platformio/platformio) from 6.1.5 to 6.1.6.
- [Release notes](https://github.com/platformio/platformio/releases)
- [Changelog](https://github.com/platformio/platformio-core/blob/develop/HISTORY.rst)
- [Commits](https://github.com/platformio/platformio/compare/v6.1.5...v6.1.6)

---
updated-dependencies:
- dependency-name: platformio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update dockerfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-13 22:41:14 +00:00
Jesse Hills
9dd01b30bd
Bump curl version in docker (#4403) 2023-02-09 16:26:06 +13:00
Franck Nijhof
3e017efa30
Add Home Assistant integration discovery (#4328) 2023-01-26 17:48:04 +01:00
Jesse Hills
10c7055b41
Move from docker manifest command to buildx with platforms (#4320) 2023-01-20 14:01:29 +13:00
Jesse Hills
e4ca3b18cc
Format docker/build.py (#4313) 2023-01-19 12:04:51 +13:00
Franck Nijhof
84698ae888
Refactor NGINX configuration of Home Assistant Add-on (#4312) 2023-01-18 19:54:27 +01:00
Franck Nijhof
fd6d6cfb6c
Migrate old-style S6 scripts to s6-rc.d (#4311) 2023-01-18 18:22:35 +01:00
Franck Nijhof
8cad9dfc83
Upgrades add-on base image to 6.2.0 (#4310) 2023-01-18 17:23:35 +01:00
Jesse Hills
22b384363b
Bump nano version in lint docker image (#4218) 2022-12-22 19:07:39 +13:00
Stefan Agner
1eacbd50fa
Support non-multiarch toolchains on 32-bit ARM (#4191)
fixes https://github.com/esphome/issues/issues/3904
2022-12-16 09:27:59 +13:00
Jesse Hills
2dd032475b
Allow global setting of compile process limit (#4081) 2022-12-01 12:51:01 +13:00
Jesse Hills
eead72333e
Bump base image versions to latest (#4016) 2022-11-17 16:14:10 +13:00
John Moxley
f7b1602adf
bump nginx-light 1.18.0-6.1+deb11u2 to 1.18.0-6.1+deb11u3 (#4034)
fixes https://github.com/esphome/issues/issues/3793
2022-11-17 07:44:17 +13:00