Skip to content

Commit

Permalink
feat: add pvcviewer to sync script (kubeflow#2529)
Browse files Browse the repository at this point in the history
  • Loading branch information
DnPlas authored Sep 14, 2023
1 parent 9254239 commit 55d85e8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hack/sync-kubeflow-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@ SRC_TXT="\[.*\](https://github.com/kubeflow/kubeflow/tree/.*/components/tensorbo
DST_TXT="\[$COMMIT\](https://github.com/kubeflow/kubeflow/tree/$COMMIT/components/tensorboard-controller/config)"
sed -i "s|$SRC_TXT|$DST_TXT|g" ${MANIFESTS_DIR}/README.md

echo "Copying pvcviewer-controller manifests..."
DST_DIR=$MANIFESTS_DIR/apps/pvcviewer-controller/upstream
rm -r $DST_DIR
cp $SRC_DIR/components/pvcviewer-controller/config $DST_DIR -r

echo "Updating README..."
SRC_TXT="\[.*\](https://github.com/kubeflow/kubeflow/tree/.*/components/pvcviewer-controller/config)"
DST_TXT="\[$COMMIT\](https://github.com/kubeflow/kubeflow/tree/$COMMIT/components/pvcviewer-controller/config)"
sed -i "s|$SRC_TXT|$DST_TXT|g" ${MANIFESTS_DIR}/README.md

echo "Successfully copied all manifests."

# DEV: Comment out these commands when local testing
Expand Down

0 comments on commit 55d85e8

Please sign in to comment.