Skip to content

Commit

Permalink
Pinning all versions, fixing script (project-chip#28140)
Browse files Browse the repository at this point in the history
* Pinning version, fixing script

* Restyled by shfmt

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
woody-apple and restyled-commits authored Jul 21, 2023
1 parent 9e225ac commit 14930ea
Show file tree
Hide file tree
Showing 29 changed files with 35 additions and 31 deletions.
2 changes: 1 addition & 1 deletion examples/all-clusters-app/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
#

from generic_node_image
FROM generic_node_image
RUN apt-get install -y libglib2.0
COPY out/debug/chip-all-clusters-app /usr/bin/
COPY entrypoint.sh /
Expand Down
3 changes: 2 additions & 1 deletion examples/bridge-app/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
# limitations under the License.
#

FROM ghcr.io/project-chip/chip-cirque-device-base:latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-cirque-device-base:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

COPY out/debug/chip-bridge-app /usr/bin/
Expand Down
3 changes: 2 additions & 1 deletion examples/chip-tool/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
# limitations under the License.
#

FROM ghcr.io/project-chip/chip-cirque-device-base:latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-cirque-device-base:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

COPY out/debug/chip-tool /usr/bin/
Expand Down
3 changes: 2 additions & 1 deletion examples/lighting-app/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
# limitations under the License.
#

FROM ghcr.io/project-chip/chip-cirque-device-base:latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-cirque-device-base:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

COPY out/debug/chip-lighting-app /usr/bin/
Expand Down
3 changes: 2 additions & 1 deletion examples/resource-monitoring-app/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
# limitations under the License.
#

FROM connectedhomeip/chip-cirque-device-base:latest
ARG VERSION=1
FROM connectedhomeip/chip-cirque-device-base:${VERSION}

COPY out/debug/chip-resource-monitoring-app /usr/bin/
COPY entrypoint.sh /
Expand Down
4 changes: 2 additions & 2 deletions examples/shell/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 connectedhomeip/chip-build-telink:latest
$ docker pull ghcr.io/project-chip/chip-build-telink:1
```

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" connectedhomeip/chip-build-telink:latest
$ 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
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
4 changes: 2 additions & 2 deletions examples/smoke-co-alarm-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 connectedhomeip/chip-build-telink:latest
$ docker pull ghcr.io/project-chip/chip-build-telink:1
```

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" connectedhomeip/chip-build-telink:latest
$ 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
```

here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1

# ==================================================
# Temporary image for SDK and dependencies download
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build-java:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build-esp32:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1
FROM ghcr.io/project-chip/chip-build-tizen:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=1

FROM ghcr.io/project-chip/chip-build-nrf-platform:${VERSION} AS nrf
FROM ghcr.io/project-chip/chip-build-efr32:${VERSION} AS efr32
Expand Down
2 changes: 1 addition & 1 deletion scripts/helpers/roll_docker_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ echo "Rolling VSCode container"
sed -r -i "s|matter-dev-environment:local --version [0-9,a-z,A-Z,-]*|matter-dev-environment:local --version $NEXT_VERSION|" .devcontainer/devcontainer.json

echo "Rolling docker images"
find . -iname readme.md -not -path "./third_party/*" | xargs sed -r -i "s|ARG VERSION=[0-9,a-z,A-Z,-]*|ARG VERSION=$NEXT_VERSION|"
find . -iname Dockerfile -not -path "./third_party/*" | xargs sed -r -i "s|ARG VERSION=[0-9,a-z,A-Z,-]*|ARG VERSION=$NEXT_VERSION|"

echo "Rolling main docker version"
echo "$NEXT_VERSION : $ROLL_REASON" >./integrations/docker/images/base/chip-build/version
Expand Down
2 changes: 1 addition & 1 deletion third_party/silabs/gecko_sdk
Submodule gecko_sdk updated 19375 files

0 comments on commit 14930ea

Please sign in to comment.