Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
verify:
if: ${{ !contains( github.event.pull_request.labels.*.name, 'skip ci' ) }}
runs-on: ubuntu-latest
container: quay.io/ibmgaragecloud/cli-tools:v0.15
container: quay.io/ibmgaragecloud/cli-tools:v1.1-v1.8.4

strategy:
matrix:
Expand Down
8 changes: 4 additions & 4 deletions chart/sonarqube/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ dependencies:
repository: https://charts.cloudnativetoolkit.dev
version: 0.6.0
- name: sonarqube
repository: https://oteemo.github.io/charts
version: 6.6.0
repository: https://SonarSource.github.io/helm-chart-sonarqube
version: 2025.3.0
- name: ocp-route
repository: https://charts.cloudnativetoolkit.dev
version: 0.5.0
Expand All @@ -17,5 +17,5 @@ dependencies:
- name: setup-job
repository: https://charts.cloudnativetoolkit.dev
version: 0.3.0
digest: sha256:c979be3c4b11b954105666fe0b3d9da6f3cb02bfbd885f3c861a86a14be3615e
generated: "2021-11-10T00:30:14.683721-06:00"
digest: sha256:79bf929da92ded6f574dc41889dd1503ddebacf84a38a922141e8afd2ad9c98a
generated: "2025-06-04T23:34:58.981132-05:00"
4 changes: 2 additions & 2 deletions chart/sonarqube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ dependencies:
repository: https://charts.cloudnativetoolkit.dev
alias: config-service-account
- name: sonarqube
version: 6.6.0
repository: https://oteemo.github.io/charts
version: 2025.3.0
repository: https://SonarSource.github.io/helm-chart-sonarqube
- name: ocp-route
version: 0.5.0
repository: https://charts.cloudnativetoolkit.dev
Expand Down
Binary file added chart/sonarqube/charts/sonarqube-2025.3.0.tgz
Binary file not shown.
Binary file removed chart/sonarqube/charts/sonarqube-6.6.0.tgz
Binary file not shown.
8 changes: 3 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ locals {
}
}

module "setup_clis" {
source = "github.com/cloud-native-toolkit/terraform-util-clis.git"

data clis_check clis {
clis = ["helm"]
}

Expand Down Expand Up @@ -161,7 +159,7 @@ resource "null_resource" "print-chart" {
}

provisioner "local-exec" {
command = "${module.setup_clis.bin_dir}/helm template sonarqube ${local.chart_dir} -n ${var.releases_namespace}"
command = "${data.clis_check.clis.bin_dir}/helm template sonarqube ${local.chart_dir} -n ${var.releases_namespace}"
}
}

Expand All @@ -170,7 +168,7 @@ resource "null_resource" "sonarqube_helm" {
count = var.mode != "setup" ? 1 : 0

triggers = {
bin_dir = module.setup_clis.bin_dir
bin_dir = data.clis_check.clis.bin_dir
namespace = var.releases_namespace
kubeconfig = var.cluster_config_file
name = "sonarqube"
Expand Down
17 changes: 5 additions & 12 deletions test/stages/stage1-cluster.tf
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
module "dev_cluster" {
source = "github.com/cloud-native-toolkit/terraform-ibm-ocp-vpc.git"
source = "github.com/cloud-native-toolkit/terraform-ibm-cluster-login.git"

resource_group_name = var.resource_group_name
region = var.region
ibmcloud_api_key = var.ibmcloud_api_key
name = var.cluster_name
worker_count = 2
name_prefix = var.name_prefix
exists = true
cos_id = ""
vpc_subnet_count = 1
vpc_name = ""
vpc_subnets = []
resource_group_name = var.resource_group_name
region = var.region
name = var.cluster_name
name_prefix = var.name_prefix
}
1 change: 1 addition & 0 deletions test/stages/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ variable "cluster_name" {
variable "cluster_type" {
type = string
description = "The type of cluster that should be created (openshift or kubernetes)"
default = "ocp4"
}

variable "cluster_exists" {
Expand Down
6 changes: 6 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
terraform {
required_version = ">= 0.12"

required_providers {
clis = {
source = "cloud-native-toolkit/clis"
}
}
}
Loading