mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
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:
parent
bb88ef621f
commit
3d2c68b350
1 changed files with 4 additions and 6 deletions
|
@ -65,8 +65,8 @@ steps:
|
||||||
# Build and package the deployment files for production.
|
# Build and package the deployment files for production.
|
||||||
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
|
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
|
||||||
args: ['release/build_nomulus_for_env.sh', 'production', 'output']
|
args: ['release/build_nomulus_for_env.sh', 'production', 'output']
|
||||||
# Tentatively build and publish Cloud SQL schema jar here, before schema release
|
# Tentatively build Cloud SQL schema jar here, before schema release process
|
||||||
# process is finalized.
|
# is finalized.
|
||||||
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
|
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
|
||||||
entrypoint: /bin/bash
|
entrypoint: /bin/bash
|
||||||
args:
|
args:
|
||||||
|
@ -74,11 +74,9 @@ steps:
|
||||||
- |
|
- |
|
||||||
set -e
|
set -e
|
||||||
./gradlew \
|
./gradlew \
|
||||||
:db:publish \
|
:db:schemaJar \
|
||||||
-PmavenUrl=https://storage.googleapis.com/domain-registry-maven-repository/maven \
|
-PmavenUrl=https://storage.googleapis.com/domain-registry-maven-repository/maven \
|
||||||
-PpluginsUrl=https://storage.googleapis.com/domain-registry-maven-repository/plugins \
|
-PpluginsUrl=https://storage.googleapis.com/domain-registry-maven-repository/plugins
|
||||||
-Pschema_publish_repo=gcs://domain-registry-maven-repository/nomulus \
|
|
||||||
-Pschema_version=${TAG_NAME}
|
|
||||||
cp db/build/libs/schema.jar output/
|
cp db/build/libs/schema.jar output/
|
||||||
# The tarballs and jars to upload to GCS.
|
# The tarballs and jars to upload to GCS.
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Add table
Reference in a new issue