Stop publish Cloud SQL schema jar to maven repo (#383)

* Stop publish Cloud SQL schema jar to maven repo

The original purpose of the maven publication is for
use in server/schema compatibility tests. A commandline
flag can direct a test run to use different versions of
the schema jar. However, this won't work due to dependency
locking.
This commit is contained in:
Weimin Yu 2019-11-25 18:23:02 -05:00 committed by GitHub
parent bb88ef621f
commit 3d2c68b350

View file

@ -65,8 +65,8 @@ steps:
# Build and package the deployment files for production.
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
args: ['release/build_nomulus_for_env.sh', 'production', 'output']
# Tentatively build and publish Cloud SQL schema jar here, before schema release
# process is finalized.
# Tentatively build Cloud SQL schema jar here, before schema release process
# is finalized.
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
entrypoint: /bin/bash
args:
@ -74,11 +74,9 @@ steps:
- |
set -e
./gradlew \
:db:publish \
:db:schemaJar \
-PmavenUrl=https://storage.googleapis.com/domain-registry-maven-repository/maven \
-PpluginsUrl=https://storage.googleapis.com/domain-registry-maven-repository/plugins \
-Pschema_publish_repo=gcs://domain-registry-maven-repository/nomulus \
-Pschema_version=${TAG_NAME}
-PpluginsUrl=https://storage.googleapis.com/domain-registry-maven-repository/plugins
cp db/build/libs/schema.jar output/
# The tarballs and jars to upload to GCS.
artifacts: