diff --git a/apollo/cmd/apollo/ci/deploy.jsonnet b/apollo/cmd/apollo/ci/deploy.jsonnet index 0f72c30..a3a2b46 100644 --- a/apollo/cmd/apollo/ci/deploy.jsonnet +++ b/apollo/cmd/apollo/ci/deploy.jsonnet @@ -1,10 +1,10 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local temporal = import 'ci/temporal.jsonnet'; local utils = import 'ci/utils.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'apollo', replicas: 1, dbname: 'apollo', diff --git a/apollo/cmd/apollostarter/ci/deploy.jsonnet b/apollo/cmd/apollostarter/ci/deploy.jsonnet index 795dfe2..eb8ad81 100644 --- a/apollo/cmd/apollostarter/ci/deploy.jsonnet +++ b/apollo/cmd/apollostarter/ci/deploy.jsonnet @@ -1,4 +1,4 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local temporal = import 'ci/temporal.jsonnet'; @@ -6,7 +6,7 @@ local utils = import 'ci/utils.jsonnet'; local site = std.extVar('site'); -RESFDEPLOY.new({ +resfdeploy.new({ name: 'apollostarter', replicas: 1, dbname: 'apollo', diff --git a/apollo/cmd/apolloworker/ci/deploy.jsonnet b/apollo/cmd/apolloworker/ci/deploy.jsonnet index 8d604bf..3b88202 100644 --- a/apollo/cmd/apolloworker/ci/deploy.jsonnet +++ b/apollo/cmd/apolloworker/ci/deploy.jsonnet @@ -1,4 +1,4 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local temporal = import 'ci/temporal.jsonnet'; @@ -6,7 +6,7 @@ local utils = import 'ci/utils.jsonnet'; local site = std.extVar('site'); -RESFDEPLOY.new({ +resfdeploy.new({ name: 'apolloworker', replicas: 1, dbname: 'apollo', diff --git a/apollo/ui/deploy.jsonnet b/apollo/ui/deploy.jsonnet index bd1b976..9b9b8bb 100644 --- a/apollo/ui/deploy.jsonnet +++ b/apollo/ui/deploy.jsonnet @@ -1,10 +1,10 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local frontend = import 'ci/frontend.jsonnet'; local tag = std.extVar('tag'); -RESFDEPLOY.new({ +resfdeploy.new({ name: 'apollo-frontend', backend: false, migrate: false, diff --git a/ci/bycdeploy.jsonnet b/ci/resfdeploy.jsonnet similarity index 100% rename from ci/bycdeploy.jsonnet rename to ci/resfdeploy.jsonnet diff --git a/hydra/deploy/admin/deploy.jsonnet b/hydra/deploy/admin/deploy.jsonnet index 4e1e29d..fe9b66f 100644 --- a/hydra/deploy/admin/deploy.jsonnet +++ b/hydra/deploy/admin/deploy.jsonnet @@ -1,9 +1,9 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local common = import 'hydra/deploy/common.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'hydra-admin', replicas: 1, dbname: 'hydra', diff --git a/hydra/deploy/public/deploy.jsonnet b/hydra/deploy/public/deploy.jsonnet index a6af07c..761f3c9 100644 --- a/hydra/deploy/public/deploy.jsonnet +++ b/hydra/deploy/public/deploy.jsonnet @@ -1,9 +1,9 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local common = import 'hydra/deploy/common.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'hydra-public', replicas: 1, dbname: 'hydra', diff --git a/obsidian/cmd/v1/obsidian/ci/deploy.jsonnet b/obsidian/cmd/v1/obsidian/ci/deploy.jsonnet index 47503d3..8a8c353 100644 --- a/obsidian/cmd/v1/obsidian/ci/deploy.jsonnet +++ b/obsidian/cmd/v1/obsidian/ci/deploy.jsonnet @@ -1,8 +1,8 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'obsidian', dbname: 'obsidian', backend: true, diff --git a/obsidian/ui/deploy.jsonnet b/obsidian/ui/deploy.jsonnet index c9afb7f..34925b5 100644 --- a/obsidian/ui/deploy.jsonnet +++ b/obsidian/ui/deploy.jsonnet @@ -1,10 +1,10 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local frontend = import 'ci/frontend.jsonnet'; local tag = std.extVar('tag'); -RESFDEPLOY.new({ +resfdeploy.new({ name: 'obsidian-frontend', backend: false, migrate: false, diff --git a/peridot/cmd/v1/keykeeper/ci/deploy.jsonnet b/peridot/cmd/v1/keykeeper/ci/deploy.jsonnet index 0b2e957..91200dd 100644 --- a/peridot/cmd/v1/keykeeper/ci/deploy.jsonnet +++ b/peridot/cmd/v1/keykeeper/ci/deploy.jsonnet @@ -1,10 +1,10 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local temporal = import 'ci/temporal.jsonnet'; local utils = import 'ci/utils.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'keykeeper', replicas: if kubernetes.prod() then 3 else 1, dbname: 'peridot', diff --git a/peridot/cmd/v1/peridotephemeral/ci/deploy.jsonnet b/peridot/cmd/v1/peridotephemeral/ci/deploy.jsonnet index 19a84da..3bfb658 100644 --- a/peridot/cmd/v1/peridotephemeral/ci/deploy.jsonnet +++ b/peridot/cmd/v1/peridotephemeral/ci/deploy.jsonnet @@ -1,4 +1,4 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local temporal = import 'ci/temporal.jsonnet'; @@ -14,7 +14,7 @@ local provisionWorkerRole(metadata) = kubernetes.define_role_v2(metadata, 'provi } ]); -RESFDEPLOY.new({ +resfdeploy.new({ name: 'peridotephemeral', replicas: if kubernetes.prod() then if site == 'extarches' then 5 else 10 else 1, dbname: 'peridot', diff --git a/peridot/cmd/v1/peridotserver/ci/deploy.jsonnet b/peridot/cmd/v1/peridotserver/ci/deploy.jsonnet index 8bcf5a1..023382a 100644 --- a/peridot/cmd/v1/peridotserver/ci/deploy.jsonnet +++ b/peridot/cmd/v1/peridotserver/ci/deploy.jsonnet @@ -1,10 +1,10 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local temporal = import 'ci/temporal.jsonnet'; local utils = import 'ci/utils.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'peridotserver', replicas: if kubernetes.prod() then 5 else 1, dbname: 'peridot', diff --git a/peridot/cmd/v1/yumrepofs/ci/deploy.jsonnet b/peridot/cmd/v1/yumrepofs/ci/deploy.jsonnet index 443b0e0..15f4439 100644 --- a/peridot/cmd/v1/yumrepofs/ci/deploy.jsonnet +++ b/peridot/cmd/v1/yumrepofs/ci/deploy.jsonnet @@ -1,9 +1,9 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local utils = import 'ci/utils.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'yumrepofs', replicas: if kubernetes.prod() then 3 else 1, dbname: 'peridot', diff --git a/peridot/cmd/v1/yumrepofsupdater/ci/deploy.jsonnet b/peridot/cmd/v1/yumrepofsupdater/ci/deploy.jsonnet index f4f2b14..ba0929a 100644 --- a/peridot/cmd/v1/yumrepofsupdater/ci/deploy.jsonnet +++ b/peridot/cmd/v1/yumrepofsupdater/ci/deploy.jsonnet @@ -1,10 +1,10 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local db = import 'ci/db.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local temporal = import 'ci/temporal.jsonnet'; local utils = import 'ci/utils.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'yumrepofsupdater', replicas: if kubernetes.prod() then 4 else 1, dbname: 'peridot', diff --git a/peridot/ui/deploy.jsonnet b/peridot/ui/deploy.jsonnet index 60e20ab..e8f888c 100644 --- a/peridot/ui/deploy.jsonnet +++ b/peridot/ui/deploy.jsonnet @@ -1,10 +1,10 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local frontend = import 'ci/frontend.jsonnet'; local tag = std.extVar('tag'); -RESFDEPLOY.new({ +resfdeploy.new({ name: 'peridot-frontend', backend: false, migrate: false, diff --git a/spicedb/deploy/deploy.jsonnet b/spicedb/deploy/deploy.jsonnet index 342c08d..53ffd8a 100644 --- a/spicedb/deploy/deploy.jsonnet +++ b/spicedb/deploy/deploy.jsonnet @@ -1,8 +1,8 @@ -local RESFDEPLOY = import 'ci/RESFDEPLOY.jsonnet'; +local resfdeploy = import 'ci/resfdeploy.jsonnet'; local kubernetes = import 'ci/kubernetes.jsonnet'; local common = import 'spicedb/deploy/common.jsonnet'; -RESFDEPLOY.new({ +resfdeploy.new({ name: 'spicedb', replicas: 1, dbname: 'spicedb',