Skip to content

Commit

Permalink
tests: deploy kfp-profile-controller to create the mlpipeline-minio-a…
Browse files Browse the repository at this point in the history
…rtifact secret
  • Loading branch information
DnPlas committed Oct 4, 2023
1 parent 424ac64 commit b819122
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charms/argo-controller/tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@ async def test_build_and_deploy_with_relations(ops_test: OpsTest):
resources=resources,
trust=True,
)
await ops_test.model.deploy(
entity_url="kfp-profile-controller",
channel="latest/edge",
trust=True,
)

# Deploy required relations
await ops_test.model.deploy(entity_url="minio", config=MINIO_CONFIG)
await ops_test.model.add_relation(f"{APP_NAME}:object-storage", "minio:object-storage")
await ops_test.model.add_relation(
"kfp-profile-controller:object-storage", "minio:object-storage"
)

await ops_test.model.wait_for_idle(timeout=60 * 10)
# TODO: This does not handle blocked status right. Sometimes it passes when argo-controller
Expand Down

0 comments on commit b819122

Please sign in to comment.