Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion quickstart/multistage-delivery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,18 @@ verify_helm_installation
print_headline "Downloading demo resources"
echo "This will create a local folder ./examples"
echo "git clone https://github.com/keptn/examples --single-branch"
git clone https://github.com/keptn/examples --single-branch

DIR="./examples"
BOLD='\033[1m'
NORMAL='\033[0m'
if [ -d "$DIR" ]; then
# Example directory already exists
echo -e "\n${BOLD}Example directory already exists in folder. Skipping download!${NORMAL}"
else
# Example Directory does not exist
git clone https://github.com/keptn/examples --single-branch
fi

cd examples/quickstart

print_headline "Create a Keptn project"
Expand Down