Skip to content

Commit

Permalink
[no ci] restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed Jun 10, 2022
1 parent 5783829 commit d67a7bc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions examples/chef/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@ which run in parallel.
These jobs use a platform-specific image with base `chip-build`.

The build jobs call chef with the options `--ci -t <PLATFORM>`. The `--ci`
option will execute builds for all devices specified in `cicd_config["ci_allow_list"]` defined
in `chef.py` (so long as these devices are also in `/devices`) on the specified
platform.
option will execute builds for all devices specified in
`cicd_config["ci_allow_list"]` defined in `chef.py` (so long as these devices
are also in `/devices`) on the specified platform.
8 changes: 4 additions & 4 deletions examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def bundle_nrfconnect(device_name: str) -> None:
"scripts",
"flashing")
gen_script_path = os.path.join(scripts_root,
"gen_flashing_script.py")
"gen_flashing_script.py")
sub_dir = os.path.join(_CD_STAGING_DIR, device_name)
os.mkdir(sub_dir)
for zephyr_ext in zephyr_exts:
Expand Down Expand Up @@ -259,10 +259,10 @@ def bundle_esp32(device_name: str) -> None:
device_name: The device to bundle.
"""
esp_root = os.path.join(_CHEF_SCRIPT_PATH,
"esp32",
"build")
"esp32",
"build")
manifest_file = os.path.join(esp_root,
"chip-shell.flashbundle.txt")
"chip-shell.flashbundle.txt")
with open(manifest_file) as manifest:
for item in manifest:
item = item.replace("\n", "")
Expand Down
12 changes: 6 additions & 6 deletions examples/chef/cicd_config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"ci_allow_list": ["lighting-app"],
"cd_platforms": {
"linux": "linux_x86",
"esp32": "esp32-m5stack",
"nrfconnect": "nrf-nrf52840dk"
}
"ci_allow_list": ["lighting-app"],
"cd_platforms": {
"linux": "linux_x86",
"esp32": "esp32-m5stack",
"nrfconnect": "nrf-nrf52840dk"
}
}

0 comments on commit d67a7bc

Please sign in to comment.