Skip to content

Commit

Permalink
Updating to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
woody-apple committed Jul 20, 2023
1 parent 6d1203b commit a0a93e0
Show file tree
Hide file tree
Showing 23 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
if: github.actor != 'restyled-io[bot]'

container:
image: ghcr.io/project-chip/chip-build:1
image: ghcr.io/project-chip/chip-build:2

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions examples/all-clusters-app/ameba/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ The CHIP demo application is supported on

- Pull docker image:

$ docker pull ghcr.io/project-chip/chip-build-ameba:1
$ docker pull ghcr.io/project-chip/chip-build-ameba:2

- Run docker container:

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

- Setup build environment:

Expand Down
4 changes: 2 additions & 2 deletions examples/all-clusters-app/telink/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/all-clusters-minimal-app/ameba/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ The CHIP demo application is supported on
- Pull docker image:

```
$ docker pull ghcr.io/project-chip/chip-build-ameba:1
$ docker pull ghcr.io/project-chip/chip-build-ameba:2
```

- Run docker container:

```
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:1
$ docker run -it -v ${CHIP_DIR}:/root/chip ghcr.io/project-chip/chip-build-ameba:2
```

- Setup build environment:
Expand Down
4 changes: 2 additions & 2 deletions examples/all-clusters-minimal-app/telink/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ for creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/bridge-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ defined:
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
6 changes: 3 additions & 3 deletions examples/chef/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ relevant platform image. You can simulate the workflow locally by mounting your
CHIP repo into a container and executing the CI command:

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

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

container:
image: ghcr.io/project-chip/chip-build-$PLATFORM:1$VERSION
image: ghcr.io/project-chip/chip-build-$PLATFORM:2$VERSION
options: --user root

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

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

In the container:
Expand Down
4 changes: 2 additions & 2 deletions examples/contact-sensor-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ You can use this example as a reference for creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/light-switch-app/ameba/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ The CHIP demo application is supported on

- Pull docker image:

$ docker pull ghcr.io/project-chip/chip-build-ameba:1
$ docker pull ghcr.io/project-chip/chip-build-ameba:2

- Run docker container:

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

- Setup build environment:

Expand Down
4 changes: 2 additions & 2 deletions examples/light-switch-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/ameba/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ The CHIP demo application is supported on

- Pull docker image:

$ docker pull ghcr.io/project-chip/chip-build-ameba:1
$ docker pull ghcr.io/project-chip/chip-build-ameba:2

- Run docker container:

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

- Setup build environment:

Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ a reference for creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/lock-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ a reference for creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/ota-requestor-app/ameba/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ A prototype application that demonstrates OTA Requestor capabilities.

- Pull docker image:

$ docker pull ghcr.io/project-chip/chip-build-ameba:1
$ docker pull ghcr.io/project-chip/chip-build-ameba:2

- Run docker container:

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

- Setup build environment:

Expand Down
4 changes: 2 additions & 2 deletions examples/ota-requestor-app/telink/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/pigweed-app/ameba/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ following features are available:

- Pull docker image:

$ docker pull ghcr.io/project-chip/chip-build-ameba:1
$ docker pull ghcr.io/project-chip/chip-build-ameba:2

- Run docker container:

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

- Setup build environment:

Expand Down
4 changes: 2 additions & 2 deletions examples/pump-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ reference for creating your own pump application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/pump-controller-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ your own pump application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/temperature-measurement-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/thermostat/telink/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ You can use this example as a reference for creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/window-app/telink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ for creating your own application.
1. Pull docker image from repository:

```bash
$ docker pull ghcr.io/project-chip/chip-build-telink:1
$ docker pull ghcr.io/project-chip/chip-build-telink:2
```

1. Run docker container:

```bash
$ 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
$ 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:2
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
2 changes: 1 addition & 1 deletion integrations/docker/images/base/chip-build/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1 : Moving to GHCR
2 : Moving to cascaded builds
4 changes: 2 additions & 2 deletions src/test_driver/tizen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ image from hub.docker.com or build it locally using the provided Dockerfile in

```sh
# Pull the image from hub.docker.com
docker pull ghcr.io/project-chip/chip-build-tizen-qemu:1
docker pull ghcr.io/project-chip/chip-build-tizen-qemu:2
```

## Building and Running Tests on QEMU
Expand All @@ -21,7 +21,7 @@ All steps described below should be done inside the docker container.

```sh
docker run -it --rm --name chip-tizen-qemu \
ghcr.io/project-chip/chip-build-tizen-qemu:1 /bin/bash
ghcr.io/project-chip/chip-build-tizen-qemu:2 /bin/bash
```

### Clone the connectedhomeip repository
Expand Down

0 comments on commit a0a93e0

Please sign in to comment.