-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Uses [email protected] in TF module and itests (#390)
- Loading branch information
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
AUTH_DATABASE_RELATION_NAME = "auth_database" | ||
NRF_RELATION_NAME = "fiveg_nrf" | ||
TLS_RELATION_NAME = "certificates" | ||
SDCORE_CHARMS_BASE = "[email protected]" | ||
|
||
|
||
class TestUDROperatorCharm: | ||
|
@@ -189,6 +190,7 @@ async def _deploy_nrf(ops_test: OpsTest): | |
application_name=NRF_CHARM_NAME, | ||
channel=NRF_CHARM_CHANNEL, | ||
trust=True, | ||
base=SDCORE_CHARMS_BASE, | ||
) | ||
await ops_test.model.integrate(relation1=NRF_CHARM_NAME, relation2=DATABASE_CHARM_NAME) | ||
await ops_test.model.integrate(relation1=NRF_CHARM_NAME, relation2=TLS_CHARM_NAME) | ||
|
@@ -201,6 +203,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=DATABASE_CHARM_NAME | ||
|