* chore(mlmd): Upgrade ML Metadata to 1.14.0. * fix requirements, skip visualization. * go mod tidy * mlmd new enum in frontend * mlmd license * mlmd license again, using the failure test diff * again |
||
|---|---|---|
| .. | ||
| argo | ||
| metadata_envoy | ||
| minio | ||
| ml-metadata | ||
| OWNERS | ||
| README.md | ||
| download_source.sh | ||
| license.txt | ||
README.md
How to release third party images
Release a new third party image version
- Edit third_party/$LIBRARY/Dockerfile
- Change the line
from IMAGE_NAME:TAG_NAMEtofrom IMAGE_NAME:NEW_TAG_NAME - Edit third_party/$LIBRARY/release.sh
- Change TAG to NEW_TAG_NAME.
- Commit and ask someone for review
- Run the following (you need to have storage access to ml-pipeline project)
cd $KFP_SRC ./third_party/$LIBRARY/release.sh - Make a PR that
- changes all image references in .release.cloudbuild.yaml
- changes all image references in manifests
How to build
cd $KFP_SRC
gcloud builds submit --config third_party/argo/cloudbuild.yaml . --substitutions=TAG_NAME="RELEASE_TAG_NAME_HERE"
gcloud builds submit --config third_party/minio/cloudbuild.yaml . --substitutions=TAG_NAME="RELEASE_TAG_NAME_HERE"
or you can build locally using docker too like the following
cd $KFP_SRC
docker build -t $IMAGE_NAME:$TAG -f third_party/minio/Dockerfile .
Verify your built images are good
Run the following command to start an interactive shell in a new container of the image (the image must have shell installed to be able to run it)
docker run -it --entrypoint sh $IMAGE_NAME
Or if the image doesn't have a complete OS (like argoproj/workflow-controller)
docker save nginx > nginx.tar
tar -xvf nginx.tar
This saves layers of the image to a tarball that you can extract and see.
Credits to: https://stackoverflow.com/questions/44769315/how-to-see-docker-image-contents
Release to gcr.io/ml-pipeline
(This has been automated by third_party/release.sh)
- First build images in your own project
- Use this gcloud command to retag your images to gcr.io/ml-pipeline
- When choosing the new tag, use the same text as the original release tag of the third party image