forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding scripts to be able to do local releases (istio#14562)
* Fixing Quotes * adding local build * few fixes * fix * shellcheck * remove fake * added readme * Update change to include getting long api sha * fix lint
- Loading branch information
1 parent
a8a573b
commit d8b9a10
Showing
4 changed files
with
92 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
To create local release run local.sh | ||
You should provide docker hub where local images can be pushed and version of the release. | ||
It is going to perform next steps. | ||
|
||
1. Create manifest file with all repos SHAs. Make sure that repos on your local machine synced to correct SHA. | ||
// Work in Progress | ||
2. Creates Istio images with new version tag | ||
3. Updates charts with provided version. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
set -x | ||
|
||
# shellcheck disable=SC1091 | ||
source gcb_lib.sh | ||
ROOT=$(cd "$(git rev-parse --show-cdup)" && pwd || return) | ||
artifacts="$HOME/output/local" | ||
export NEW_VERSION="fake" | ||
export DOCKER_HUB='fake/fake' | ||
GOPATH=$(cd "$ROOT/../../.." && pwd) | ||
export GOPATH | ||
echo "gopath is $GOPATH" | ||
|
||
export CB_VERIFY_CONSISTENCY=true | ||
|
||
echo "Delete old builds" | ||
rm -r "${artifacts}" || echo | ||
mkdir -p "${artifacts}" | ||
|
||
pushd "${ROOT}/../tools" || exit | ||
TOOLS_HEAD_SHA=$(git rev-parse HEAD) | ||
export TOOLS_HEAD_SHA | ||
popd || return | ||
|
||
pushd "$ROOT" || exit | ||
create_manifest_check_consistency "${artifacts}/manifest.txt" | ||
popd || return |