mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
817 B
34 lines
817 B
10 years ago
|
#!/bin/bash
|
||
|
|
||
|
main() {
|
||
|
# restart builder vm and wait for images to sync to it
|
||
|
source grpc_docker.sh
|
||
|
./new_grpc_docker_builder.sh -igrpc-docker-builder-alt-2 -anone
|
||
|
cd ../../
|
||
|
sleep 3600
|
||
|
|
||
|
# build images for all languages
|
||
|
languages=(cxx java go ruby node)
|
||
|
for lan in "${languages[@]}"
|
||
|
do
|
||
|
grpc_update_image $lan
|
||
|
done
|
||
|
|
||
|
# restart client and server vm and wait for images to sync to them
|
||
|
cd tools/gce_setup
|
||
|
./new_grpc_docker_builder.sh -igrpc-docker-testclients-donna -anone
|
||
|
./new_grpc_docker_builder.sh -igrpc-docker-server-donna -anone
|
||
|
sleep 3600
|
||
|
|
||
|
# launch images for all languages on both client and server
|
||
|
for lan in "${languages[@]}"
|
||
|
do
|
||
|
grpc_launch_servers grpc-docker-testclients-donna $lan
|
||
|
grpc_launch_servers grpc-docker-server-donna $lan
|
||
|
done
|
||
|
|
||
|
}
|
||
|
|
||
|
set -x
|
||
|
main "$@"
|