Skip to content

Commit

Permalink
fix: use noble in TF module
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciareinoso committed Dec 18, 2024
1 parent eb17172 commit 1b185d3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ resource "juju_application" "nrf" {
name = "sdcore-nrf-k8s"
channel = var.channel
revision = var.revision
base = var.base
}

config = var.config
Expand Down
6 changes: 6 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ variable "revision" {
default = null
}

variable "base" {
description = "The operating system on which to deploy"
type = string
default = "[email protected]"
}

variable "units" {
description = "Number of units to deploy"
type = number
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
TLS_CHARM_CHANNEL = "latest/stable"
GRAFANA_AGENT_CHARM_NAME = "grafana-agent-k8s"
GRAFANA_AGENT_CHARM_CHANNEL = "latest/stable"
SDCORE_CHARMS_BASE = "[email protected]"
TIMEOUT = 15 * 60


Expand Down Expand Up @@ -161,6 +162,7 @@ async def _deploy_nms(ops_test: OpsTest):
NMS_CHARM_NAME,
application_name=NMS_CHARM_NAME,
channel=NMS_CHARM_CHANNEL,
base=SDCORE_CHARMS_BASE,
)
await ops_test.model.integrate(
relation1=f"{NMS_CHARM_NAME}:common_database", relation2=DB_CHARM_NAME
Expand Down

0 comments on commit 1b185d3

Please sign in to comment.