Fix references to resfdeploy

This commit is contained in:
Mustafa Gezen 2022-10-30 09:18:01 +01:00
parent d2034e7c44
commit bd03ada0d5
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
16 changed files with 30 additions and 30 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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,

View File

@ -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',

View File

@ -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',

View File

@ -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,

View File

@ -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,

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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,

View File

@ -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',