github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/maintenance/migratestatus/migrate-many.sh (about) 1 #!/bin/bash 2 # Copyright 2017 The Kubernetes Authors. 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 16 17 set -o errexit 18 set -o xtrace 19 20 migrate() { 21 if [[ -z "${2}" ]]; then 22 exit 1 23 fi 24 bazel-bin/maintenance/migratestatus/migratestatus \ 25 --modify --alsologtostderr \ 26 --org=kubernetes \ 27 --repo=kubernetes \ 28 --tokenfile ~/github-token \ 29 --retire="${1}" \ 30 --dest="${2}" 31 } 32 33 bazel build //maintenance/migratestatus || exit 1 34 35 #migrate "Bazel test" pull-test-infra-bazel 36 #migrate "Gubernator tests" pull-test-infra-gubernator 37 #migrate "verify-bazel" pull-test-infra-verify-bazel 38 39 migrate "Jenkins Kubemark GCE e2e" pull-kubernetes-kubemark-e2e-gce 40 migrate "Jenkins GCE etcd3 e2e" pull-kubernetes-e2e-gce-etcd3 41 migrate "Jenkins kops AWS e2e" pull-kubernetes-e2e-kops-aws 42 migrate "Jenkins unit/integration" pull-kubernetes-unit 43 migrate "Jenkins verification" pull-kubernetes-verify 44 migrate "Jenkins GCE Node e2e" pull-kubernetes-node-e2e