From a3be84b7c19c143f03902026f608a4c2756889ee Mon Sep 17 00:00:00 2001 From: Mohsin Zaidi <2236875+smrz2001@users.noreply.github.com> Date: Tue, 9 Jul 2024 17:49:03 -0400 Subject: [PATCH] fix: use composedb develop image by default --- operator/src/network/ceramic.rs | 2 +- operator/src/network/controller.rs | 6 +++--- operator/src/network/testdata/ceramic_go_ss_1 | 2 +- operator/src/network/testdata/ceramic_ss_1 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_0 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_1 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_2 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_3 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_4 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_5 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_6 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_7 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_8 | 2 +- operator/src/network/testdata/ceramic_ss_weighted_9 | 2 +- .../src/network/testdata/default_stubs/ceramic_stateful_set | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/operator/src/network/ceramic.rs b/operator/src/network/ceramic.rs index e337fe6..b299870 100644 --- a/operator/src/network/ceramic.rs +++ b/operator/src/network/ceramic.rs @@ -264,7 +264,7 @@ impl Default for CeramicConfig { Self { weight: 1, init_config_map: INIT_CONFIG_MAP_NAME.to_owned(), - image: "ceramicnetwork/composedb:latest".to_owned(), + image: "ceramicnetwork/composedb:develop".to_owned(), image_pull_policy: "Always".to_owned(), init_image_name: "ceramicnetwork/composedb-cli:latest".to_owned(), ipfs: IpfsConfig::default(), diff --git a/operator/src/network/controller.rs b/operator/src/network/controller.rs index 71b5f9b..2e2de3a 100644 --- a/operator/src/network/controller.rs +++ b/operator/src/network/controller.rs @@ -3492,7 +3492,7 @@ mod tests { } } ], - - "image": "ceramicnetwork/composedb:latest", + - "image": "ceramicnetwork/composedb:develop", - "imagePullPolicy": "Always", + "image": "ceramic:foo", + "imagePullPolicy": "IfNotPresent", @@ -3573,7 +3573,7 @@ mod tests { + "value": "true" } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "#]]); stub.cas_stateful_set.patch(expect![[r#" --- original @@ -3913,7 +3913,7 @@ mod tests { + "value": "SOME_ENV_VALUE" } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", @@ -374,6 +378,10 @@ "name": "ceramic-postgres-auth" } diff --git a/operator/src/network/testdata/ceramic_go_ss_1 b/operator/src/network/testdata/ceramic_go_ss_1 index ccf5d91..0ac841d 100644 --- a/operator/src/network/testdata/ceramic_go_ss_1 +++ b/operator/src/network/testdata/ceramic_go_ss_1 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_1 b/operator/src/network/testdata/ceramic_ss_1 index 0ac2c80..81e4f3d 100644 --- a/operator/src/network/testdata/ceramic_ss_1 +++ b/operator/src/network/testdata/ceramic_ss_1 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_0 b/operator/src/network/testdata/ceramic_ss_weighted_0 index ee9141a..687d89c 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_0 +++ b/operator/src/network/testdata/ceramic_ss_weighted_0 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_1 b/operator/src/network/testdata/ceramic_ss_weighted_1 index 142d499..4cc5978 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_1 +++ b/operator/src/network/testdata/ceramic_ss_weighted_1 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_2 b/operator/src/network/testdata/ceramic_ss_weighted_2 index f1752aa..52d49e0 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_2 +++ b/operator/src/network/testdata/ceramic_ss_weighted_2 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_3 b/operator/src/network/testdata/ceramic_ss_weighted_3 index 4faee5c..b08ece4 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_3 +++ b/operator/src/network/testdata/ceramic_ss_weighted_3 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_4 b/operator/src/network/testdata/ceramic_ss_weighted_4 index 061f1b5..1f48bfb 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_4 +++ b/operator/src/network/testdata/ceramic_ss_weighted_4 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_5 b/operator/src/network/testdata/ceramic_ss_weighted_5 index d54053c..e98e95f 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_5 +++ b/operator/src/network/testdata/ceramic_ss_weighted_5 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_6 b/operator/src/network/testdata/ceramic_ss_weighted_6 index 3481330..2241879 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_6 +++ b/operator/src/network/testdata/ceramic_ss_weighted_6 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_7 b/operator/src/network/testdata/ceramic_ss_weighted_7 index 7701851..3a8600f 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_7 +++ b/operator/src/network/testdata/ceramic_ss_weighted_7 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_8 b/operator/src/network/testdata/ceramic_ss_weighted_8 index 60f730f..9cf1e20 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_8 +++ b/operator/src/network/testdata/ceramic_ss_weighted_8 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/ceramic_ss_weighted_9 b/operator/src/network/testdata/ceramic_ss_weighted_9 index 2f398a6..97d5e76 100644 --- a/operator/src/network/testdata/ceramic_ss_weighted_9 +++ b/operator/src/network/testdata/ceramic_ss_weighted_9 @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": { diff --git a/operator/src/network/testdata/default_stubs/ceramic_stateful_set b/operator/src/network/testdata/default_stubs/ceramic_stateful_set index e52ae70..3f6e066 100644 --- a/operator/src/network/testdata/default_stubs/ceramic_stateful_set +++ b/operator/src/network/testdata/default_stubs/ceramic_stateful_set @@ -104,7 +104,7 @@ Request { } } ], - "image": "ceramicnetwork/composedb:latest", + "image": "ceramicnetwork/composedb:develop", "imagePullPolicy": "Always", "livenessProbe": { "httpGet": {