Skip to content

Commit 6fde364

Browse files
authored
[Cloudbuild] Fix esp32 compile for chef.yaml and smoke-test.yaml (project-chip#41888)
* [Chef] Cloudbuild - Add step to install kconfig * Fix entrypoint * Do the pip install in the same step as build * add fix for smoke-test.yaml
1 parent 5145b71 commit 6fde364

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

integrations/cloudbuild/chef.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
steps:
2-
- name: "ghcr.io/project-chip/chip-build-vscode:169"
2+
- name: "ghcr.io/project-chip/chip-build-vscode:174"
33
entrypoint: "bash"
44
args:
55
- "-c"
66
- |
77
git config --global --add safe.directory "*"
88
python scripts/checkout_submodules.py --shallow --recursive --platform esp32 nrfconnect silabs linux android
99
id: Submodules
10-
- name: "ghcr.io/project-chip/chip-build-vscode:169"
10+
- name: "ghcr.io/project-chip/chip-build-vscode:174"
1111
# NOTE: silabs boostrap is NOT done with the rest as it requests a conflicting
1212
# jinja2 version (asks for 3.1.3 when constraints.txt asks for 3.0.3)
1313
env:
@@ -23,11 +23,12 @@ steps:
2323
- name: pwenv
2424
path: /pwenv
2525
timeout: 900s
26-
- name: "ghcr.io/project-chip/chip-build-vscode:169"
26+
- name: "ghcr.io/project-chip/chip-build-vscode:174"
2727
env:
2828
- PW_ENVIRONMENT_ROOT=/pwenv
2929
args:
3030
- >-
31+
pip install esp-idf-kconfig==2.5.0 &&
3132
perl -i -pe 's/^gdbgui==/# gdbgui==/' /opt/espressif/esp-idf/requirements.txt &&
3233
./examples/chef/chef.py --build_all --build_exclude "noip|icd"
3334
id: CompileAll
@@ -38,7 +39,7 @@ steps:
3839
- name: pwenv
3940
path: /pwenv
4041

41-
- name: "ghcr.io/project-chip/chip-build-vscode:169"
42+
- name: "ghcr.io/project-chip/chip-build-vscode:174"
4243
# ICD device is currently not supported for ESP32 and NRF targets. New rule to compile only ICD
4344
# linux binary.
4445
env:
@@ -53,7 +54,7 @@ steps:
5354
- name: pwenv
5455
path: /pwenv
5556

56-
- name: "ghcr.io/project-chip/chip-build-vscode:169"
57+
- name: "ghcr.io/project-chip/chip-build-vscode:174"
5758
env:
5859
- PW_ENVIRONMENT_ROOT=/pwenv
5960
args:

integrations/cloudbuild/smoke-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ steps:
3030
- PW_ENVIRONMENT_ROOT=/pwenv
3131
args:
3232
- >-
33+
pip install esp-idf-kconfig==2.5.0 &&
3334
perl -i -pe 's/^gdbgui==/# gdbgui==/' /opt/espressif/esp-idf/requirements.txt &&
3435
./scripts/build/build_examples.py --enable-flashbundle --target
3536
esp32-devkitc-light-rpc --target

0 commit comments

Comments
 (0)