Commit Graph

88 Commits

Author SHA1 Message Date
Joakim Sørensen
b27a328d1e
Add "content" to deploy-ha-addon-repo dispatch (#4349) 2023-01-26 11:55:06 +13:00
Jesse Hills
92e66a2764
Dont fail workflows if lint building fails (#4336) 2023-01-24 12:51:14 +13:00
Jesse Hills
e236c53f05
Fix missing s 2023-01-20 14:06:47 +13:00
Jesse Hills
10c7055b41
Move from docker manifest command to buildx with platforms (#4320) 2023-01-20 14:01:29 +13:00
Garret Buell
a19f0c0db0
Fix HttpRequestResponseTrigger again (#4285)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
fixes https://github.com/esphome/issues/issues/4010
2023-01-11 14:50:01 +13:00
dependabot[bot]
322158cccb
Bump actions/stale from 6 to 7 (#4217)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-22 16:55:47 +13:00
dependabot[bot]
499e120aa4
Bump dessant/lock-threads from 3 to 4 (#4150)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 16:10:43 +13:00
dependabot[bot]
3d927c2f44
Bump frenck/action-yamllint from 1.3.0 to 1.3.1 (#4011)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 09:38:21 +13:00
Jesse Hills
2455589f61
Update set-output to use new GITHUB_OUTPUT (#4008) 2022-11-10 07:42:14 +13:00
dependabot[bot]
97bd3e7320
Bump actions/stale from 5 to 6 (#3841)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 17:19:28 +13:00
Jesse Hills
6153bcc6ad
Initial Support for RP2040 platform (#3284)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-20 16:50:39 +13:00
Jesse Hills
16249c02a5
Bump CI to python 3.9 (#3869) 2022-10-05 11:21:13 +13:00
Jesse Hills
9a69769a7e
Dont fail fast on CI for docker (#3832) 2022-09-21 07:54:35 +12:00
dependabot[bot]
15f0e54cbf
Bump frenck/action-yamllint from 1.2.0 to 1.3.0 (#3798)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-14 09:57:43 +12:00
Jesse Hills
89fd367297
YAML linting (#3779) 2022-09-06 15:48:01 +12:00
Jesse Hills
98aa3d51ed
Show changes from python linting (#3677) 2022-08-03 07:27:45 +12:00
Sven Serlier
c4a0015997
Update actions (#3592)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-06-23 07:50:55 +12:00
Jesse Hills
41f84447cc
Update HA addon token (#3200) 2022-02-16 09:11:46 +13:00
Jesse Hills
40e06c9819
Raise minimum python version to 3.8 (#3176) 2022-02-10 09:55:11 +01:00
Jesse Hills
5c22065135
Change most references from hassio to ha-addon (#3178) 2022-02-09 23:46:20 +13:00
Oxan van Leeuwen
d8e719d1c4
Support clang-tidy for ESP32 variants (#3001) 2022-01-05 21:30:15 +01:00
Jesse Hills
72c6bfaa50
Revert "Disable nightly dev build" (#2944) 2021-12-23 09:38:43 +13:00
Jesse Hills
f48de6dd43
Disable nightly dev build (#2943) 2021-12-22 23:02:58 +13:00
Oxan van Leeuwen
bfeb0b3639
Add problem matcher for Python formatting errors (#2833) 2021-12-01 17:12:14 +13:00
Oxan van Leeuwen
ab027a6ae2
Fix too-broad matcher for custom CI script (#2829) 2021-11-30 09:35:52 +01:00
Jesse Hills
2347e043a9
Cancel previous workflows for PRs and branches (#2800) 2021-11-25 22:02:39 +01:00
Oxan van Leeuwen
00965fe19e
Consistently format errors in CI scripts (#2762) 2021-11-26 09:54:11 +13:00
Oxan van Leeuwen
5e631bc6ba
Only match GCC warnings from ESPHome source files in CI (#2756) 2021-11-26 09:36:42 +13:00
Oxan van Leeuwen
d50bdf619f
Cache virtualenv instead of pip cache between CI runs (#2759) 2021-11-26 09:29:10 +13:00
Oxan van Leeuwen
4e448b21ff
Drop obsolete comment from CI workflow file (#2758) 2021-11-26 09:27:53 +13:00
Oxan van Leeuwen
2a78c2970d
Fix CI cache key for test3.yaml compile (#2757) 2021-11-26 09:27:34 +13:00
Otto Winter
c612a3bf60
Constrain GH Actions workflows permissions (#2625) 2021-10-26 10:55:27 +02:00
Otto Winter
49b17c5a2d
Switch issue-close-app to GH Actions and workflow cleanup (#2624) 2021-10-23 21:58:04 +02:00
Otto Winter
250bf3f054
CI cache only restore from direct matches (#2351) 2021-09-20 13:14:05 +02:00
Otto Winter
ac0d921413
ESP-IDF support and generic target platforms (#2303)
* Socket refactor and SSL

* esp-idf temp

* Fixes

* Echo component and noise

* Add noise API transport support

* Updates

* ESP-IDF

* Complete

* Fixes

* Fixes

* Versions update

* New i2c APIs

* Complete i2c refactor

* SPI migration

* Revert ESP Preferences migration, too complex for now

* OTA support

* Remove echo again

* Remove ssl again

* GPIOFlags updates

* Rename esphal and ICACHE_RAM_ATTR

* Make ESP32 arduino compilable again

* Fix GPIO flags

* Complete pin registry refactor and fixes

* Fixes to make test1 compile

* Remove sdkconfig file

* Ignore sdkconfig file

* Fixes in reviewing

* Make test2 compile

* Make test4 compile

* Make test5 compile

* Run clang-format

* Fix lint errors

* Use esp-idf APIs instead of btStart

* Another round of fixes

* Start implementing ESP8266

* Make test3 compile

* Guard esp8266 code

* Lint

* Reformat

* Fixes

* Fixes v2

* more fixes

* ESP-IDF tidy target

* Convert ARDUINO_ARCH_ESPxx

* Update WiFiSignalSensor

* Update time ifdefs

* OTA needs millis from hal

* RestartSwitch needs delay from hal

* ESP-IDF Uart

* Fix OTA blank password

* Allow setting sdkconfig

* Fix idf partitions and allow setting sdkconfig from yaml

* Re-add read/write compat APIs and fix esp8266 uart

* Fix esp8266 store log strings in flash

* Fix ESP32 arduino preferences not initialized

* Update ifdefs

* Change how sdkconfig change is detected

* Add checks to ci-custom and fix them

* Run clang-format

* Add esp-idf clang-tidy target and fix errors

* Fixes from clang-tidy idf round 2

* Fixes from compiling tests with esp-idf

* Run clang-format

* Switch test5.yaml to esp-idf

* Implement ESP8266 Preferences

* Lint

* Re-do PIO package version selection a bit

* Fix arduinoespressif32 package version

* Fix unit tests

* Lint

* Lint fixes

* Fix readv/writev not defined

* Fix graphing component

* Re-add all old options from core/config.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-20 11:47:51 +02:00
Otto Winter
fff5ba03c2
Also run docker CI when requirements change (#2347) 2021-09-20 09:29:09 +02:00
Otto Winter
272ceadbb0
Redo docker build system with buildkit+multi-stage and cache pio packages (#2338) 2021-09-20 09:07:38 +02:00
Otto Winter
2e49039c01
Reduce stale/lock gh actions interval (#2341) 2021-09-19 14:20:35 +02:00
Otto Winter
5f61897bec
Add stale/lock bots (#2299) 2021-09-14 10:35:37 +02:00
Oxan van Leeuwen
924df1e7de
Run clang-tidy against Arduino 3 (#2146)
* Add macros header with more usable Arduino version defines

* Change Arduino version checking to use our version defines

* Add missing ESP8266 check

* Rename Arduino version macro to ARDUINO_VERSION_CODE

* Upgrade clang-tidy to use Arduino 3

* Fix clang-tidy warnings

* Upgrade NeoPixelBus to upstream 2.6.7

* Use Arduino-version-appropriate API to set redirect flags

* Remove now unnecessary CLANG_TIDY ifdefs

* Add preprocessor hackery to avoid including pgmspace.h

* Bump base image to 4.1.1 and update lint

* Fix nfctag

* Fix make_unique ambiguous

* Fix ignore name

* Fix ambiguous v2

* Remove unused begin

* Cast time_t to prevent issues on platforms where time_t is 32bit

Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 18:55:04 +02:00
Oxan van Leeuwen
40c474cd83
Run clang-tidy against ESP32 (#2147)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 18:11:27 +02:00
Jesse Hills
2e59ad90cc
Fix docker release for new tags without v 2021-08-18 15:10:44 +12:00
Oxan van Leeuwen
bf5f846fc6
Refactor clang-tidy script to use actual compiler flags and includes (#2133)
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-08-09 22:43:18 +02:00
Oxan van Leeuwen
3749c11f21
Fix clang-format script behaviour without -i + code cleanup (#2002)
Co-authored-by: Stefan Agner <stefan@agner.ch>
2021-07-26 09:54:32 +12:00
Jesse Hills
5379794f16
Add test5 back to CI (#2052) 2021-07-22 13:24:01 +12:00
Otto Winter
799f04efc0
GH Actions CI use GHCR (#2027) 2021-07-15 21:51:52 +02:00
Otto Winter
cc7dbeada6
Refactor docker build system and workflows (#2023) 2021-07-15 21:30:04 +02:00
Otto Winter
d5278351da
Rename master branch to release (#1976) 2021-07-02 15:42:36 +02:00
Otto Winter
4711f36a1f
Bump base image to 3.4.0 (#1879) 2021-06-08 22:03:04 +02:00
Otto Winter
01e2a51132
Implement versioning for esphome/esphome-lint docker images (#1877) 2021-06-08 21:28:19 +02:00