Skip to content
Permalink
Browse files

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.
  • Loading branch information
weiminyu committed Nov 25, 2019
1 parent 05d56fe commit 215de62fa7845d663aca0e4ef65feda5f27f1503
Showing with 4 additions and 6 deletions.
  1. +4 −6 release/cloudbuild-nomulus.yaml
@@ -65,20 +65,18 @@ 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:
- -c
- |
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:

0 comments on commit 215de62

Please sign in to comment.
You can’t perform that action at this time.