Skip to content

Commit 3c75ed0

Browse files
Updating script, and running to pin README.md and other files (project-chip#28030)
* Updating script, and running to pin readmes and files * Restyled by shfmt * Fixing build script * Fixing restyled to ignore this * Fixing path * Restyled by shellharden * Restyled by shfmt * Fixing restyle * Testing this ignore * Correct patch --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 85db1da commit 3c75ed0

File tree

30 files changed

+162
-74
lines changed

30 files changed

+162
-74
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
if: github.actor != 'restyled-io[bot]'
3030

3131
container:
32-
image: ghcr.io/project-chip/chip-build:0.8
32+
image: ghcr.io/project-chip/chip-build:1
3333

3434
steps:
3535
- name: Checkout

.github/workflows/roll_and_build_docker.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- name: Checkout
99
uses: actions/checkout@v3
1010
- name: Roll docker versions
11-
run: ./scripts/helpers/roll_docker_version.sh ./integrations/docker/images/base/chip-build/version
11+
run: ./scripts/helpers/roll_docker_version.sh --reason="Automated roll by GitHub Action"
1212
- uses: EndBug/add-and-commit@v9
1313
with:
1414
default_author: github_actions

.restyled.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ exclude:
8181
- "src/controller/java/generated/java/**/*" # not formatted: generated files
8282
- "src/controller/java/zap-generated/**/*" # not formatted: generated files
8383
- "scripts/setup/bootstrap.sh" # tries to quote loop variable
84-
84+
- "integrations/docker/build-all.sh" # tries to quote loop variable
8585

8686
changed_paths:
87-
maximum: 100000
88-
outcome: error
87+
maximum: 100000
88+
outcome: error
8989

9090
# Restylers to run, and how
9191
restylers:
@@ -220,21 +220,21 @@ restylers:
220220
- "**/*.sh"
221221
- "**/*.bash"
222222
- name: autopep8
223-
image: 'restyled/restyler-autopep8:v2.0.0'
223+
image: restyled/restyler-autopep8:v2.0.0
224224
command:
225-
- autopep8
226-
- '--in-place'
225+
- autopep8
226+
- "--in-place"
227227
arguments: []
228228
include:
229-
- '**/*.py'
229+
- "**/*.py"
230230
interpreters:
231-
- python
231+
- python
232232
- name: isort
233-
image: 'restyled/restyler-isort:v5.11.2'
233+
image: restyled/restyler-isort:v5.11.2
234234
command:
235-
- isort
235+
- isort
236236
arguments: []
237237
include:
238-
- '**/*.py'
238+
- "**/*.py"
239239
interpreters:
240-
- python
240+
- python

examples/all-clusters-app/ameba/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ The CHIP demo application is supported on
2727

2828
- Pull docker image:
2929

30-
$ docker pull ghcr.io/project-chip/chip-build-ameba:latest
30+
$ docker pull ghcr.io/project-chip/chip-build-ameba:1
3131

3232
- Run docker container:
3333

34-
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:latest
34+
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:1
3535

3636
- Setup build environment:
3737

examples/all-clusters-app/telink/Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ creating your own application.
1111
1. Pull docker image from repository:
1212

1313
```bash
14-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
14+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1515
```
1616

1717
1. Run docker container:
1818

1919
```bash
20-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
20+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
2121
```
2222

2323
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/all-clusters-minimal-app/ameba/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ The CHIP demo application is supported on
2727
- Pull docker image:
2828

2929
```
30-
$ docker pull ghcr.io/project-chip/chip-build-ameba:latest
30+
$ docker pull ghcr.io/project-chip/chip-build-ameba:1
3131
```
3232

3333
- Run docker container:
3434

3535
```
36-
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:latest
36+
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:1
3737
```
3838

3939
- Setup build environment:

examples/all-clusters-minimal-app/telink/Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ for creating your own application.
1111
1. Pull docker image from repository:
1212

1313
```bash
14-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
14+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1515
```
1616

1717
1. Run docker container:
1818

1919
```bash
20-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
20+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
2121
```
2222

2323
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/bridge-app/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ defined:
8888
1. Pull docker image from repository:
8989

9090
```bash
91-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
91+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
9292
```
9393

9494
1. Run docker container:
9595

9696
```bash
97-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
97+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
9898
```
9999

100100
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/chef/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ relevant platform image. You can simulate the workflow locally by mounting your
101101
CHIP repo into a container and executing the CI command:
102102

103103
```shell
104-
docker run -it --mount source=$(pwd),target=/workspace,type=bind ghcr.io/project-chip/chip-build-$PLATFORM:$VERSION
104+
docker run -it --mount source=$(pwd),target=/workspace,type=bind ghcr.io/project-chip/chip-build-$PLATFORM:1$VERSION
105105
```
106106

107107
In the container:
@@ -128,7 +128,7 @@ chef_$PLATFORM:
128128
if: github.actor != 'restyled-io[bot]'
129129

130130
container:
131-
image: ghcr.io/project-chip/chip-build-$PLATFORM:$VERSION
131+
image: ghcr.io/project-chip/chip-build-$PLATFORM:1$VERSION
132132
options: --user root
133133

134134
steps:
@@ -183,7 +183,7 @@ command for these targets.
183183
To test your configuration locally, you may employ a similar strategy as in CI:
184184

185185
```shell
186-
docker run -it --mount source=$(pwd),target=/workspace,type=bind ghcr.io/project-chip/chip-build-vscode:$VERSION
186+
docker run -it --mount source=$(pwd),target=/workspace,type=bind ghcr.io/project-chip/chip-build-vscode:1$VERSION
187187
```
188188

189189
In the container:

examples/contact-sensor-app/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ You can use this example as a reference for creating your own application.
99
1. Pull docker image from repository:
1010

1111
```bash
12-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
12+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1313
```
1414

1515
1. Run docker container:
1616

1717
```bash
18-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
18+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
1919
```
2020

2121
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/light-switch-app/ameba/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ The CHIP demo application is supported on
2626

2727
- Pull docker image:
2828

29-
$ docker pull ghcr.io/project-chip/chip-build-ameba:latest
29+
$ docker pull ghcr.io/project-chip/chip-build-ameba:1
3030

3131
- Run docker container:
3232

33-
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:latest
33+
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:1
3434

3535
- Setup build environment:
3636

examples/light-switch-app/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ creating your own application.
1414
1. Pull docker image from repository:
1515

1616
```bash
17-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
17+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1818
```
1919

2020
1. Run docker container:
2121

2222
```bash
23-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
23+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
2424
```
2525

2626
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/lighting-app/ameba/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ The CHIP demo application is supported on
2323

2424
- Pull docker image:
2525

26-
$ docker pull ghcr.io/project-chip/chip-build-ameba:latest
26+
$ docker pull ghcr.io/project-chip/chip-build-ameba:1
2727

2828
- Run docker container:
2929

30-
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:latest
30+
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:1
3131

3232
- Setup build environment:
3333

examples/lighting-app/qpg/README.md

-1
This file was deleted.

examples/lighting-app/qpg/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
orphan: true
3+
---
4+
5+
# Matter QPG6105 SDK
6+
7+
## Qorvo SDK
8+
9+
More detailed information on the Qorvo SDK can be found in the
10+
[Qorvo Matter SDK](https://github.com/Qorvo/QMatter).
11+
12+
## More information
13+
14+
For more information on our product line and support options, please visit
15+
[www.qorvo.com](https://www.qorvo.com) or contact us at <LPW.support@qorvo.com>

examples/lighting-app/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ a reference for creating your own application.
1212
1. Pull docker image from repository:
1313

1414
```bash
15-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
15+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1616
```
1717

1818
1. Run docker container:
1919

2020
```bash
21-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
21+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
2222
```
2323

2424
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/lock-app/qpg/README.md

-1
This file was deleted.

examples/lock-app/qpg/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
orphan: true
3+
---
4+
5+
# Matter QPG6105 SDK
6+
7+
## Qorvo SDK
8+
9+
More detailed information on the Qorvo SDK can be found in the
10+
[Qorvo Matter SDK](https://github.com/Qorvo/QMatter).
11+
12+
## More information
13+
14+
For more information on our product line and support options, please visit
15+
[www.qorvo.com](https://www.qorvo.com) or contact us at <LPW.support@qorvo.com>

examples/lock-app/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ a reference for creating your own application.
1212
1. Pull docker image from repository:
1313

1414
```bash
15-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
15+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1616
```
1717

1818
1. Run docker container:
1919

2020
```bash
21-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
21+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
2222
```
2323

2424
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/ota-requestor-app/ameba/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ A prototype application that demonstrates OTA Requestor capabilities.
66

77
- Pull docker image:
88

9-
$ docker pull ghcr.io/project-chip/chip-build-ameba:latest
9+
$ docker pull ghcr.io/project-chip/chip-build-ameba:1
1010

1111
- Run docker container:
1212

13-
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:latest
13+
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:1
1414

1515
- Setup build environment:
1616

examples/ota-requestor-app/telink/Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
1. Pull docker image from repository:
66

77
```bash
8-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
8+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
99
```
1010

1111
1. Run docker container:
1212

1313
```bash
14-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
14+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
1515
```
1616

1717
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/persistent-storage/qpg/README.md

-1
This file was deleted.
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
orphan: true
3+
---
4+
5+
# Matter QPG6105 SDK
6+
7+
## Qorvo SDK
8+
9+
More detailed information on the Qorvo SDK can be found in the
10+
[Qorvo Matter SDK](https://github.com/Qorvo/QMatter).
11+
12+
## More information
13+
14+
For more information on our product line and support options, please visit
15+
[www.qorvo.com](https://www.qorvo.com) or contact us at <LPW.support@qorvo.com>

examples/pigweed-app/ameba/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ following features are available:
3131

3232
- Pull docker image:
3333

34-
$ docker pull ghcr.io/project-chip/chip-build-ameba:latest
34+
$ docker pull ghcr.io/project-chip/chip-build-ameba:1
3535

3636
- Run docker container:
3737

38-
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:latest
38+
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:1
3939

4040
- Setup build environment:
4141

examples/pump-app/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ reference for creating your own pump application.
1313
1. Pull docker image from repository:
1414

1515
```bash
16-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
16+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1717
```
1818

1919
1. Run docker container:
2020

2121
```bash
22-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
22+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
2323
```
2424

2525
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/pump-controller-app/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ your own pump application.
1414
1. Pull docker image from repository:
1515

1616
```bash
17-
$ docker pull ghcr.io/project-chip/chip-build-telink:latest
17+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1818
```
1919

2020
1. Run docker container:
2121

2222
```bash
23-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:latest
23+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
2424
```
2525

2626
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

0 commit comments

Comments
 (0)