From 05aeac58c05605cdb16fa41e193931484c12c80a Mon Sep 17 00:00:00 2001 From: Jeromy Cannon Date: Mon, 9 Oct 2023 16:01:41 +0100 Subject: [PATCH] added helmDependencyUpdate example Signed-off-by: Jeromy Cannon --- fullstack-examples/build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fullstack-examples/build.gradle.kts b/fullstack-examples/build.gradle.kts index 8149a3c2c..a8e39fadc 100644 --- a/fullstack-examples/build.gradle.kts +++ b/fullstack-examples/build.gradle.kts @@ -14,6 +14,7 @@ * limitations under the License. */ +import com.hedera.fullstack.gradle.plugin.HelmDependencyUpdateTask import com.hedera.fullstack.gradle.plugin.HelmInstallChartTask import com.hedera.fullstack.gradle.plugin.HelmReleaseExistsTask import com.hedera.fullstack.gradle.plugin.HelmTestChartTask @@ -60,6 +61,10 @@ tasks.register("helmNginxExists") { release.set("nginx-release") } +tasks.register("helmDependencyUpdate") { + chartName.set("../charts/hedera-network") +} + tasks.register("helmTestNginxChart") { namespace.set("nginx-ns") release.set("nginx-release") @@ -76,5 +81,6 @@ tasks.check { dependsOn("helmNginxExists") dependsOn("helmTestNginxChart") dependsOn("helmUninstallNginxChart") + dependsOn("helmDependencyUpdate") dependsOn("helmUninstallNotAChart") }