mirror of
https://github.com/google/nomulus.git
synced 2025-08-28 03:53:48 +02:00
Add Cloud Build sync job for reserved and premium lists (#2302)
* Change tld-update to db-object-updater * rename sync_tlds.sh to sync_db_objects.sh * Change to configured command name * Change environment to sandbox explicitly for testing on alpha * Add remaining object steps and change cloudbuild-tld-sync to cloudbuild-sync-db-objects * Add build_environment flag * Change order of command and directory * Uncomment out reserved list part
This commit is contained in:
parent
f85cf57e36
commit
73ab95bd9d
5 changed files with 47 additions and 29 deletions
22
release/db-object-updater/Dockerfile
Normal file
22
release/db-object-updater/Dockerfile
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Copyright 2023 The Nomulus Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ARG PROJECT_ID
|
||||
ARG TAG_NAME
|
||||
FROM gcr.io/${PROJECT_ID}/builder:${TAG_NAME}
|
||||
|
||||
COPY nomulus.jar /
|
||||
COPY sync_db_objects.sh /usr/local/bin
|
||||
|
||||
ENTRYPOINT [ "bash", "sync_db_objects.sh" ]
|
Loading…
Add table
Add a link
Reference in a new issue