Skip to content

Commit

Permalink
Create update.sh for KFP
Browse files Browse the repository at this point in the history
Signed-off-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
  • Loading branch information
juliusvonkohout committed Feb 26, 2024
1 parent 776d4f4 commit 8fdedc7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions apps/pipeline/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
REPOSITORY_URL="https://github.com/kubeflow/pipelines"
TAG="2.0.5"
FOLDER_NAME="manifests/kustomize"
TMP_DIR=$(mktemp -d)
rm -rf ./upstream/

DOWNLOAD_URL="$REPOSITORY_URL/archive/refs/tags/${TAG}.zip"

curl -o "archive.zip" -L "$DOWNLOAD_URL"
unzip -oq "archive.zip"
cp -r "pipelines-$TAG/$FOLDER_NAME" ./upstream/
rm -rf "pipelines-$TAG"
rm -rf archive.zip

0 comments on commit 8fdedc7

Please sign in to comment.