Skip to content

Commit

Permalink
Merge pull request #646 from yassingh/buildinfo_fix
Browse files Browse the repository at this point in the history
Avoiding last commit info in master builds
  • Loading branch information
basepi authored Jun 3, 2019
2 parents eebeac9 + 0462b90 commit 1b7ebfc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/amazonlinux2016.09/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ RUN git clone "$HUBBLE_GIT_URL" "$HUBBLE_SRC_PATH" \
&& git checkout "$HUBBLE_CHECKOUT" \
&& cp -rf "$HUBBLE_SRC_PATH" /hubble_build \
&& sed -i "s/BRANCH_NOT_SET/${HUBBLE_CHECKOUT}/g" /hubble_build/hubblestack/__init__.py \
&& sed -i "s/COMMIT_NOT_SET/`git describe`/g" /hubble_build/hubblestack/__init__.py
&& sed -i "s/COMMIT_NOT_SET/TAGGED_BUILD/g" /hubble_build/hubblestack/__init__.py
RUN mkdir /data
VOLUME /data
WORKDIR /hubble_build
Expand Down
2 changes: 1 addition & 1 deletion pkg/centos6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ RUN git clone "$HUBBLE_GIT_URL" "$HUBBLE_SRC_PATH" \
&& git checkout "$HUBBLE_CHECKOUT" \
&& cp -rf "$HUBBLE_SRC_PATH" /hubble_build \
&& sed -i "s/BRANCH_NOT_SET/${HUBBLE_CHECKOUT}/g" /hubble_build/hubblestack/__init__.py \
&& sed -i "s/COMMIT_NOT_SET/`git describe`/g" /hubble_build/hubblestack/__init__.py
&& sed -i "s/COMMIT_NOT_SET/TAGGED_BUILD/g" /hubble_build/hubblestack/__init__.py
RUN mkdir /data
VOLUME /data
WORKDIR /hubble_build
Expand Down
2 changes: 1 addition & 1 deletion pkg/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ RUN git clone "$HUBBLE_GIT_URL" "$HUBBLE_SRC_PATH" \
&& git checkout "$HUBBLE_CHECKOUT" \
&& cp -rf "$HUBBLE_SRC_PATH" /hubble_build \
&& sed -i "s/BRANCH_NOT_SET/${HUBBLE_CHECKOUT}/g" /hubble_build/hubblestack/__init__.py \
&& sed -i "s/COMMIT_NOT_SET/`git describe`/g" /hubble_build/hubblestack/__init__.py
&& sed -i "s/COMMIT_NOT_SET/TAGGED_BUILD/g" /hubble_build/hubblestack/__init__.py
RUN mkdir /data
VOLUME /data
WORKDIR /hubble_build
Expand Down
2 changes: 1 addition & 1 deletion pkg/coreos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ RUN git clone ${HUBBLE_GIT_URL} "$HUBBLE_SRC_PATH" \
&& git checkout ${HUBBLE_CHECKOUT} \
&& cp -rf "$HUBBLE_SRC_PATH" /hubble_build \
&& sed -i "s/BRANCH_NOT_SET/${HUBBLE_CHECKOUT}/g" /hubble_build/hubblestack/__init__.py \
&& sed -i "s/COMMIT_NOT_SET/`git describe`/g" /hubble_build/hubblestack/__init__.py
&& sed -i "s/COMMIT_NOT_SET/TAGGED_BUILD/g" /hubble_build/hubblestack/__init__.py
RUN mkdir /data
VOLUME /data
WORKDIR /hubble_build
Expand Down
2 changes: 1 addition & 1 deletion pkg/debian7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ RUN git clone ${HUBBLE_GIT_URL} "$HUBBLE_SRC_PATH" \
&& git checkout ${HUBBLE_CHECKOUT} \
&& cp -rf "$HUBBLE_SRC_PATH" /hubble_build \
&& sed -i "s/BRANCH_NOT_SET/${HUBBLE_CHECKOUT}/g" /hubble_build/hubblestack/__init__.py \
&& sed -i "s/COMMIT_NOT_SET/`git describe`/g" /hubble_build/hubblestack/__init__.py
&& sed -i "s/COMMIT_NOT_SET/TAGGED_BUILD/g" /hubble_build/hubblestack/__init__.py
RUN mkdir /data
VOLUME /data
WORKDIR /hubble_build
Expand Down
2 changes: 1 addition & 1 deletion pkg/debian8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ RUN git clone "$HUBBLE_GIT_URL" "$HUBBLE_SRC_PATH" \
&& git checkout "$HUBBLE_CHECKOUT" \
&& cp -rf "$HUBBLE_SRC_PATH" /hubble_build \
&& sed -i "s/BRANCH_NOT_SET/${HUBBLE_CHECKOUT}/g" /hubble_build/hubblestack/__init__.py \
&& sed -i "s/COMMIT_NOT_SET/`git describe`/g" /hubble_build/hubblestack/__init__.py
&& sed -i "s/COMMIT_NOT_SET/TAGGED_BUILD/g" /hubble_build/hubblestack/__init__.py
RUN mkdir /data
VOLUME /data
WORKDIR /hubble_build
Expand Down

0 comments on commit 1b7ebfc

Please sign in to comment.