Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinning all versions, fixing script #28140

Merged
merged 2 commits into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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