Skip to content

Commit

Permalink
Final clean
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed Apr 16, 2022
1 parent db33367 commit bd52637
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions integrations/docker/images/chip-build-zap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ COPY context.txt $LOCAL_COMMIT_CACHE_FILE
WORKDIR /tmp
RUN git clone $CHIP_ORIGIN
WORKDIR ./connectedhomeip
# TODO
RUN echo 'If you receive the error "fatal: reference is not a tree:", you are on a commit not found in' $CHIP_ORIGIN
RUN git checkout $(cat $LOCAL_COMMIT_CACHE_FILE)
RUN git ls-tree master third_party/zap/repo | awk '{print $3}'> $REMOTE_ZAP_CACHE_FILE
Expand All @@ -32,7 +31,6 @@ RUN cat $REMOTE_DOCKERFILE_CACHE_FILE

# Verify local against origin
WORKDIR /
RUN echo 'If you receive a "file not found in build context" error, ensure you are building in a CHIP repo with the included build.sh'
COPY $VERIFY_SCRIPT $VERIFY_SCRIPT
RUN chmod +x $VERIFY_SCRIPT
RUN ./$VERIFY_SCRIPT
Expand All @@ -44,6 +42,3 @@ RUN git clone $ZAP_ORIGIN
WORKDIR ./zap
RUN git checkout $ZAP_COMMIT
RUN npm ci

RUN mkdir ../zapout
RUN node ./src-script/zap-generate.js -z ./zcl-builtin/silabs/zcl.json -g ./test/gen-template/zigbee/gen-templates.json -i ./test/resource/three-endpoint-device.zap -o ../zapout

0 comments on commit bd52637

Please sign in to comment.