Skip to content

Commit

Permalink
chore: Update release image (#10599)
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Sun <chensun@users.noreply.github.com>
  • Loading branch information
chensun committed Mar 21, 2024
1 parent 5c06ab4 commit a7b580e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions test/release/Dockerfile.release
Expand Up @@ -31,12 +31,9 @@ ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH

# install java==11 python==3
RUN apt-get update \
&& apt-get install -y default-jdk python3-pip \
&& apt-get install -y default-jdk python3-pip python3-setuptools \
&& rm -rf /var/lib/apt/lists/*

# install setuptools
RUN python3 -m pip install setuptools

# install yq==3
# Released in https://github.com/mikefarah/yq/releases/tag/3.4.1
RUN curl -L -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_amd64 && \
Expand Down
2 changes: 1 addition & 1 deletion test/release/Makefile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

REMOTE=gcr.io/ml-pipeline-test/release:latest
REMOTE=gcr.io/ml-pipeline-test/release@sha256:ed1a4dbe536e7e161ad0d846b5681aacc0e0e7f285985cb1808c5c8987bcfeb0

.PHONY: release
release:
Expand Down
2 changes: 1 addition & 1 deletion test/release/bump-version-docker.sh
Expand Up @@ -31,7 +31,7 @@ if [[ -z "$TAG_NAME" ]]; then
fi

pushd "${REPO_ROOT}"
RELEASE_IMAGE=${RELEASE_IMAGE:-gcr.io/ml-pipeline-test/release@sha256:b96a0d2af1b10ab19883ecbd4df4aadb37ea5afd71e55e946d3eacb719a940dc}
RELEASE_IMAGE=${RELEASE_IMAGE:-gcr.io/ml-pipeline-test/release@sha256:ed1a4dbe536e7e161ad0d846b5681aacc0e0e7f285985cb1808c5c8987bcfeb0}
docker run -it --rm \
--user $(id -u):$(id -g) \
--mount type=bind,source="$(pwd)",target=/go/src/github.com/kubeflow/pipelines \
Expand Down
4 changes: 2 additions & 2 deletions test/release/release.sh
Expand Up @@ -51,8 +51,8 @@ fi

echo "Running the bump version script in cloned repo"
echo -n "$TAG" > ./VERSION
# TODO(Bobgy): pin image tag
PREBUILT_REMOTE_IMAGE=gcr.io/ml-pipeline-test/release:latest

PREBUILT_REMOTE_IMAGE=gcr.io/ml-pipeline-test/release@sha256:ed1a4dbe536e7e161ad0d846b5681aacc0e0e7f285985cb1808c5c8987bcfeb0
pushd ./test/release
make release-in-place
popd
Expand Down

0 comments on commit a7b580e

Please sign in to comment.