Lines Matching +full:windows +full:- +full:artifacts
2 set -veux -o pipefail
4 if [[ -f /VERSION ]]; then
10 echo "Verifying that all artifacts are here..."
14 LOCAL_MVN_ARTIFACTS="$KOKORO_GFILE_DIR"/github/grpc-java/mvn-artifacts/
15 LOCAL_OTHER_ARTIFACTS="$KOKORO_GFILE_DIR"/github/grpc-java/artifacts/
18 # platform independent artifacts, from linux job:
19 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'grpc-core-*.jar' | wc -l)" != '0' ]]
22 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'grpc-android-*.aar' | wc -l)" != '0' ]]
25 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'grpc-cronet-*.aar' | wc -l)" != '0' ]]
28 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'grpc-binder-*.aar' | wc -l)" != '0' ]]
31 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-linux-x86_64.exe' | wc -l)…
32 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-linux-x86_32.exe' | wc -l)…
35 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-linux-aarch_64.exe' | wc -…
38 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-linux-ppcle_64.exe' | wc -…
41 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-linux-s390_64.exe' | wc -l…
44 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-osx-x86_64.exe' | wc -l)" …
45 # copy all x86 artifacts to aarch until native artifacts are built
46 find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-osx-x86_64.exe*' -exec bash -c '…
48 # from windows job:
49 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-windows-x86_64.exe' | wc -…
50 [[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-windows-x86_32.exe' | wc -…
53 mkdir -p ~/.config/
54 gsutil cp gs://grpc-testing-secrets/sonatype_credentials/sonatype-upload ~/.config/sonatype-upload
56 mkdir -p ~/java_signing/
57 gsutil cp -r gs://grpc-testing-secrets/java_signing/ ~/
58 gpg --batch --import ~/java_signing/grpc-java-team-sonatype.asc
60 gsutil cat gs://grpc-testing-secrets/dockerhub_credentials/grpcpackages.password \
61 | docker login --username grpcpackages --password-stdin
64 gpg --version
67 if gpg --version | grep 'gpg (GnuPG) 1.'; then
69 find "$LOCAL_MVN_ARTIFACTS" -type f \
70 -not -name "maven-metadata.xml*" -not -name "*.sha*" -not -name "*.md5" -exec \
71 bash -c 'cat ~/java_signing/passphrase | gpg --batch --passphrase-fd 0 --detach-sign -a {}' \;
75 if gpg --version | grep 'gpg (GnuPG) 2.'; then
77 find "$LOCAL_MVN_ARTIFACTS" -type f \
78 -not -name "maven-metadata.xml*" -not -name "*.sha*" -not -name "*.md5" -exec \
79 gpg --batch --passphrase-file ~/java_signing/passphrase --pinentry-mode loopback \
80 --detach-sign -a {} \;
85 EXAMPLE_HOSTNAME_ID="$(cat "$LOCAL_OTHER_ARTIFACTS/example-hostname.id")"
86 docker load --input "$LOCAL_OTHER_ARTIFACTS/example-hostname.tar"
87 …cho "v$VERSION"; git ls-remote -t --refs https://github.com/grpc/grpc-java.git | cut -f 2 | sed s#…
91 "$GRPC_JAVA_DIR"/buildscripts/sonatype-upload.sh "$STAGING_REPO" "$LOCAL_MVN_ARTIFACTS"
93 docker tag "$EXAMPLE_HOSTNAME_ID" "grpc/java-example-hostname:${VERSION}"
94 docker push "grpc/java-example-hostname:${VERSION}"
96 docker tag "$EXAMPLE_HOSTNAME_ID" grpc/java-example-hostname:latest
97 docker push grpc/java-example-hostname:latest