Skip to content

Commit

Permalink
update test to get away from old deprecated repo
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
  • Loading branch information
jeromy-cannon committed Jan 26, 2024
1 parent e973a0d commit 78e994a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/zxc-compile-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ jobs:
run: |
helm repo add haproxytech https://haproxytech.github.io/helm-charts
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo add stable https://charts.helm.sh/stable
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm pull stable/mysql
helm pull prometheus-community/prometheus
helm pull haproxytech/haproxy
- name: Unit Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,27 @@
package com.hedera.fullstack.gradle.plugin

import com.hedera.fullstack.base.api.util.ExceptionUtils.suppressExceptions
import org.assertj.core.api.Assertions.*
import org.junit.jupiter.api.Assertions.assertThrows

import com.hedera.fullstack.helm.client.HelmClient
import com.hedera.fullstack.helm.client.HelmExecutionException
import com.hedera.fullstack.helm.client.model.Chart
import com.hedera.fullstack.helm.client.model.Repository
import java.io.File
import org.assertj.core.api.Assertions.assertThat
import org.gradle.api.Project
import org.gradle.kotlin.dsl.create
import org.gradle.testfixtures.ProjectBuilder
import org.junit.jupiter.api.Assertions.assertThrows
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import java.io.File

class HelmInstallChartTaskTest {
companion object {
private val REPOSITORY = Repository("stable", "https://charts.helm.sh/stable")
private val CHART = Chart("mysql", "stable")
private val REPOSITORY = Repository("prometheus-community", "https://prometheus-community.github.io/helm-charts")
private val CHART = Chart("prometheus", "prometheus-community")

private const val RELEASE_NAME = "mysql-release"
private const val RELEASE_NAME = "prometheus-release"

private lateinit var project: Project

Expand Down

0 comments on commit 78e994a

Please sign in to comment.