mirror of
https://github.com/google/nomulus.git
synced 2025-06-29 15:53:35 +02:00
* Add release info to Nomulus config files
Add the actual release tag and beam staging project id to the config file. This allows the Nomulus server to find the right version of the BEAM pipelines to launch.
This commit is contained in:
parent
4314e2598b
commit
a235493e70
3 changed files with 9 additions and 0 deletions
|
@ -652,6 +652,13 @@ public final class RegistryConfig {
|
||||||
return config.beam.defaultJobZone;
|
return config.beam.defaultJobZone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Returns the GCS bucket URL with all staged BEAM flex templates. */
|
||||||
|
@Provides
|
||||||
|
@Config("beamStagingBucketUrl")
|
||||||
|
public static String provideBeamStagingBucketUrl(RegistryConfigSettings config) {
|
||||||
|
return config.beam.stagingBucketUrl;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the URL of the GCS location we store jar dependencies for beam pipelines.
|
* Returns the URL of the GCS location we store jar dependencies for beam pipelines.
|
||||||
*
|
*
|
||||||
|
|
|
@ -133,6 +133,7 @@ public class RegistryConfigSettings {
|
||||||
public static class Beam {
|
public static class Beam {
|
||||||
public String defaultJobRegion;
|
public String defaultJobRegion;
|
||||||
public String defaultJobZone;
|
public String defaultJobZone;
|
||||||
|
public String stagingBucketUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Configuration for Cloud DNS. */
|
/** Configuration for Cloud DNS. */
|
||||||
|
|
|
@ -425,6 +425,7 @@ beam:
|
||||||
# The default zone to run Apache Beam (Cloud Dataflow) jobs in.
|
# The default zone to run Apache Beam (Cloud Dataflow) jobs in.
|
||||||
# TODO(weiminyu): consider dropping zone config. No obvious needs for this.
|
# TODO(weiminyu): consider dropping zone config. No obvious needs for this.
|
||||||
defaultJobZone: us-east1-c
|
defaultJobZone: us-east1-c
|
||||||
|
stagingBucketUrl: gcs-bucket-with-staged-templates
|
||||||
|
|
||||||
keyring:
|
keyring:
|
||||||
# The name of the active keyring, either "KMS" or "Dummy".
|
# The name of the active keyring, either "KMS" or "Dummy".
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue