Skip to content

Commit

Permalink
Add cni helm to release archive (istio#14752)
Browse files Browse the repository at this point in the history
* Fixing Quotes

* Add cni helm to release archive
  • Loading branch information
utka authored and istio-testing committed Jun 12, 2019
1 parent bafb4fb commit 4b80960
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions prow/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ function setup_and_export_git_sha() {
GIT_SHA="$(git rev-parse --verify HEAD)"
export GIT_SHA
fi
GIT_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
export GIT_BRANCH
gcloud auth configure-docker -q
}

Expand Down
2 changes: 1 addition & 1 deletion prow/release-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function create_gcb_env() {
touch /workspace/manifest.txt

cat << EOF > "/workspace/gcb_env.sh"
export CB_BRANCH="${GIT_SHA}"
export CB_BRANCH="${GIT_BRANCH}"
export CB_VERSION="${GIT_SHA}"
export CB_ISTIOCTL_DOCKER_HUB="docker.io/istio"
export CB_PIPELINE_TYPE=daily
Expand Down
5 changes: 5 additions & 0 deletions release/create_release_archives.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ rm -rf "${COMMON_FILES_DIR}/install/kubernetes/helm/istio/test-values/"

ls -l "${COMMON_FILES_DIR}/install/kubernetes/helm/istio"

TEMP_DIR=$(mktemp -d)
pushd "${TEMP_DIR}"
git clone -b "${CB_BRANCH}" https://github.com/istio/cni.git
cp -r cni/deployments/kubernetes/install/helm/istio-cni "${COMMON_FILES_DIR}/install/kubernetes/helm"
popd
# Changing dir such that tar and zip files are
# created with right hiereachy
pushd "${COMMON_FILES_DIR}/.."
Expand Down
2 changes: 1 addition & 1 deletion release/gcb/helm_charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mkdir -vp "$WORK_DIR/istio"
cp -R "./istio-${CB_VERSION}/install" "$WORK_DIR/istio/install"

pushd "$WORK_DIR"
git clone -b master https://github.com/istio/cni.git
git clone -b "${CB_BRANCH}" https://github.com/istio/cni.git
popd


Expand Down

0 comments on commit 4b80960

Please sign in to comment.