Created
December 12, 2019 08:50
-
-
Save sdake/2e45b74412bb66e1cff7839f0d80f8d0 to your computer and use it in GitHub Desktop.
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
version="master-2019-11-26T07-29-27" | |
cd $HOME/go/src/istio.io | |
pushd $HOME/go/src/istio.io | |
export BUILD_WITH_CONTAINER=1 | |
function update-commonfiles() { | |
repo=${1} | |
git clone https://github.com/sdake/${repo} | |
pushd ${repo} | |
git remote add upstream https://github.com/istio/${repo} | |
git checkout master | |
git fetch upstream | |
git rebase origin upstream/master | |
git checkout -b commonfiles-${version} | |
make update-common | |
make gen | |
git add licenses | |
git commit . -m commonfiles-${version} | |
git push -f origin commonfiles-${version} | |
curl -v -u $GIT_USER:$GIT_PASSWORD -H "Content-Type:application/json" -X POST https://api.github.com/repos/istio/${repo}/pulls -d '{"title":"common-files update master-2019-11-26T07-29-27", "body": "Update to common-files with image master-2019-11-26T07-29-27", "head": "sdake:commonfiles-master-2019-11-26T07-29-27", "base": "master"}' | |
popd | |
} | |
#for repo in tools pkg api cni operator installer client-go test-infra cri release-builder bots community; do | |
for repo in istio; do | |
update-commonfiles $repo | |
done | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following dependencies shall be removed:
$ISTIO
.The following enhancements shall be made:
$IMG
tag in common-files