Commit Graph

174 Commits

Author SHA1 Message Date
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
7c678659d4
Remove explain changes section from PR template (#1876) 2021-06-08 22:23:23 +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
Jesse Hills
a70a205ace
Improv - BLE WiFi provisioning (#1807)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-06-08 11:56:21 +12:00
Oxan van Leeuwen
33625e2dd3
CLI user experience improvements (#1805)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-06-08 11:14:12 +12:00
Stefan Agner
0277218319
Bump Docker base version to 3.1.0 (#1864)
Bump Docker base version to 3.1.0 which includes Arduino SDK 1.0.6
for ESP32.
2021-06-08 07:02:31 +12:00
Otto Winter
229bf719a2 Implement external custom components installing from YAML (#1630)
* Move components import loading to importlib MetaPathFinder and importlib.resources

* Add external_components component

* Fix

* Fix

* fix cv.url return

* fix validate shorthand git

* implement git refresh

* Use finders from sys.path_hooks instead of looking for __init__.py

* use github:// schema

* error handling

* add test

* fix handling git output

* revert file check handling

* fix test

* allow full component path be specified for local

* fix test

* fix path handling

* lint

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2021-05-07 15:02:17 -03:00
Otto Winter
5e239d3d88
Automate building and publishing of esphome-lint docker image (#1680) 2021-04-08 17:08:11 +02:00
Paulus Schoutsen
13e0d6b9a1
Update FUNDING.yml 2021-03-26 11:39:29 -07:00
Otto Winter
89d0d41c5a
Switch docker images to debian (#1626) 2021-03-20 20:58:46 +01:00
Otto Winter
5eeb110d74
Bundle platformio lib_deps in docker images (#1625) 2021-03-20 18:43:31 +01:00
Jesse Hills
cd1353ae54
Update PULL_REQUEST_TEMPLATE.md 2021-03-13 08:42:37 +13:00
Guillermo Ruffino
4d6277330b
Update PULL_REQUEST_TEMPLATE.md 2021-02-26 10:32:23 -03:00
Jesse Hills
9fc3e05b76
Update actions to move away from set-env (#1349) 2020-11-02 11:49:08 +13:00
Jesse Hills
e09fefd389
Dont fast fail testing so results are not hidden in matrix builds (#1286) 2020-09-30 06:50:06 +13:00
Otto Winter
ccb6fc3010
Bump docker base image to 2.6.0 (#1245) 2020-08-08 18:42:21 +02:00
Otto Winter
3f6f3c14c4
Bump ESP8266 Arduino framework from 2.7.2 to 2.7.3 (#1229) 2020-07-29 23:29:38 +02:00
Otto Winter
b1d77b7c03
Fix release.yml invalid bash syntax (#1226) 2020-07-29 20:45:47 +02:00
Otto Winter
cb0ba647ed
Bump base image to 2.4.1 (#1224) 2020-07-29 20:04:14 +02:00
Otto Winter
949c71dc97
Add job to update HassIO addon repo (#1218) 2020-07-28 23:25:55 +02:00
Otto Winter
a9f123e864
Remove overview job from CI (#1216) 2020-07-28 19:07:42 +02:00
Otto Winter
d26c43103d
ESP8266 change recommended framework version to 2.7.2 (#1208) 2020-07-27 18:22:47 +02:00
Otto Winter
8aa73bba10
Fix publish release script 2020-07-27 12:28:11 +02:00
Otto Winter
b9d55fd1ed
Also run CI checks when merging against beta/master 2020-07-26 22:42:59 +02:00
Otto Winter
4996967c79
Add CODEOWNERS mechanism (#1199) 2020-07-25 15:57:18 +02:00
Otto Winter
25c62319a3
Fix dependabot version 2 2020-07-24 10:41:06 +02:00
Otto Winter
facd4f63ec
Ignore hpyothesis updates 2020-07-24 10:13:08 +02:00
Guillermo Ruffino
27e08d37ea
Add links for the issues 2020-07-15 20:49:23 -03:00
Otto Winter
ef0e611e52
GitHub Actions Expression Syntax Needs Single Quotes
See also https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions\#literals
2020-07-15 22:05:00 +02:00
Otto Winter
d58d0e89c7
Add Docker CI workflow that runs when docker files change 2020-07-15 22:00:53 +02:00
Jesse Hills
dfbf225403
Don't run deploy job when repository is not esphome/esphome (#1157) 2020-07-15 21:59:11 +02:00
Otto Winter
e962762046
Docker --cache-from only uses first image
See also https://stackoverflow.com/a/56024061/8924614
2020-07-15 21:42:34 +02:00
Otto Winter
8166d0de79
Remove i386 arch
See also https://github.com/esphome/esphome-docker-base/issues/5
2020-07-15 21:42:12 +02:00
Otto Winter
dcadcdf056
Use more layer caching for esphome/esphome Dockerfile (#1150) 2020-07-15 15:03:15 +02:00
Otto Winter
b6394b7c6d
Remove unused bots 2020-07-15 14:42:43 +02:00
Otto Winter
d5c59292c8
Add pytest to CI (#1138) 2020-07-15 14:00:02 +02:00
Otto Winter
2a14473e8c
Create dependabot.yml 2020-07-15 12:58:15 +02:00
Otto Winter
9880a425f4
Only compile docker builds for dev releases 2020-07-15 12:04:22 +02:00
Otto Winter
764eb960c6
Update build scripts 2020-07-15 01:37:30 +02:00
Otto Winter
1ccc6e342c
Remove debug line 2020-07-14 15:42:56 +02:00
Otto Winter
a53481e2da
Fix GH Actions release-dev.yml 2020-07-14 15:42:29 +02:00
Otto Winter
01b1b688b1
Simplify and enable caching 2020-07-14 15:10:26 +02:00
Otto Winter
3d78248aaf
Fix wrong variable name for docker login 2020-07-14 14:47:03 +02:00
Otto Winter
cf703f6ac4
GH Actions Update (#1134) 2020-07-14 14:34:44 +02:00
Jesse Hills
c8a4eb426c
Github actions repo (#1130)
* Revert dev release to esphome repo

* Delete gitlab ci

* Delete travis file
2020-07-13 19:55:15 -03:00
Jesse Hills
6e30bacae3
Revert "Add PR labels based on files changed (#1127)" (#1128)
This reverts commit c296b4c348.
2020-07-12 18:19:02 -03:00
Jesse Hills
c296b4c348
Add PR labels based on files changed (#1127)
* Add PR labels based on files changed

* Remove platform code
2020-07-12 14:08:44 -03:00
Guillermo Ruffino
c52cb7bbad
Temporary change docker build repository
Should be reverted to esphome's
2020-07-12 12:57:22 -03:00
Jesse Hills
1923e0312b
Add github actions (#1125) 2020-07-11 23:38:29 -03:00
Otto Winter
09fd505f08
Add stale probot 2019-11-01 11:50:36 +01:00
Otto Winter
042ccde441
Add lock probot 2019-11-01 11:50:26 +01:00
Otto Winter
442030b6ca
Add sentiment-bot 2019-11-01 11:50:12 +01:00
Otto Winter
1df9ae53f8
Add ci-reporter bot 2019-11-01 11:50:02 +01:00
Otto Winter
2f3c6d5b58
Update FUNDING.yml 2019-05-29 10:29:17 +02:00
Otto Winter
ead5e8d855
Try out github sponsorship file 2019-05-29 10:12:23 +02:00
Otto Winter
8e75980ebd
Cleanup dashboard JS (#491)
* Cleanup dashboard JS

* Add vscode

* Save start_mark/end_mark

* Updates

* Updates

* Remove need for cv.nameable

It's a bit hacky but removes so much bloat from integrations

* Add enum helper

* Document APIs, and Improvements

* Fixes

* Fixes

* Update PULL_REQUEST_TEMPLATE.md

* Updates

* Updates

* Updates
2019-04-22 21:56:30 +02:00
Otto Winter
ca4450858f
Add auto-issue closer 2019-03-13 18:30:45 +01:00
Otto Winter
3d9301a0f7
Rename esphomeyaml to esphome (#426)
* Rename

* Update

* Add migration

* Fix

* Fix dashboard

* Change test

* Fixes

* Code cleanup

* Fix import order

* Update

* Automate docker builds

* Shellcheck
2019-02-13 16:54:02 +01:00
Otto Winter
da2821ab36
Add native ESPHome API (#265)
* Esphomeapi

* Updates

* Remove MQTT from wizard

* Add protobuf to requirements

* Fix

* API Client updates

* Dump config on API connect

* Old WiFi config migration

* Home Assistant state import

* Lint
2018-12-18 19:31:43 +01:00
Otto Winter
06371c9e2d
Create issue templates (#171)
* Create issue templates

* Update bug_report.md
2018-10-12 11:27:14 +02:00
Otto Winter
cb28429231
Create Pull Request Template (#172)
* Create PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* Rename PULL_REQUEST_TEMPLATE.md to .github/PULL_REQUEST_TEMPLATE.md
2018-10-12 11:25:43 +02:00