From 8129e798b4e00ef8d964fd33811f0ae28756ddfe Mon Sep 17 00:00:00 2001 From: mvlassis Date: Wed, 22 Oct 2025 14:05:32 +0200 Subject: [PATCH 1/7] Pinning base to 24.04 --- charms/kfp-api/terraform/README.md | 1 + charms/kfp-api/terraform/main.tf | 1 + charms/kfp-api/terraform/variables.tf | 6 ++++++ charms/kfp-metadata-writer/terraform/README.md | 1 + charms/kfp-metadata-writer/terraform/main.tf | 1 + charms/kfp-metadata-writer/terraform/variables.tf | 6 ++++++ charms/kfp-persistence/terraform/README.md | 1 + charms/kfp-persistence/terraform/main.tf | 1 + charms/kfp-persistence/terraform/variables.tf | 6 ++++++ charms/kfp-profile-controller/terraform/README.md | 1 + charms/kfp-profile-controller/terraform/main.tf | 1 + charms/kfp-profile-controller/terraform/variables.tf | 6 ++++++ charms/kfp-schedwf/terraform/README.md | 1 + charms/kfp-schedwf/terraform/main.tf | 1 + charms/kfp-schedwf/terraform/variables.tf | 6 ++++++ charms/kfp-ui/terraform/README.md | 1 + charms/kfp-ui/terraform/main.tf | 1 + charms/kfp-ui/terraform/variables.tf | 6 ++++++ charms/kfp-viewer/terraform/README.md | 1 + charms/kfp-viewer/terraform/main.tf | 1 + charms/kfp-viewer/terraform/variables.tf | 6 ++++++ charms/kfp-viz/terraform/README.md | 1 + charms/kfp-viz/terraform/main.tf | 1 + charms/kfp-viz/terraform/variables.tf | 6 ++++++ 24 files changed, 64 insertions(+) diff --git a/charms/kfp-api/terraform/README.md b/charms/kfp-api/terraform/README.md index a0f073d16..aaa28414b 100644 --- a/charms/kfp-api/terraform/README.md +++ b/charms/kfp-api/terraform/README.md @@ -13,6 +13,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | +| `base`| string | Application base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-api/terraform/main.tf b/charms/kfp-api/terraform/main.tf index 4bc8b2bac..d301cffc8 100644 --- a/charms/kfp-api/terraform/main.tf +++ b/charms/kfp-api/terraform/main.tf @@ -1,6 +1,7 @@ resource "juju_application" "kfp_api" { charm { name = "kfp-api" + base = var.base channel = var.channel revision = var.revision } diff --git a/charms/kfp-api/terraform/variables.tf b/charms/kfp-api/terraform/variables.tf index b22be7aa2..799b20ebd 100644 --- a/charms/kfp-api/terraform/variables.tf +++ b/charms/kfp-api/terraform/variables.tf @@ -4,6 +4,12 @@ variable "app_name" { default = "kfp-api" } +variable "base" { + description = "Application base" + type = string + default = "ubuntu@24.04" +} + variable "channel" { description = "Charm channel" type = string diff --git a/charms/kfp-metadata-writer/terraform/README.md b/charms/kfp-metadata-writer/terraform/README.md index b9ef61d0e..147712ecc 100644 --- a/charms/kfp-metadata-writer/terraform/README.md +++ b/charms/kfp-metadata-writer/terraform/README.md @@ -10,6 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | +| `base`| string | Application base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-metadata-writer/terraform/main.tf b/charms/kfp-metadata-writer/terraform/main.tf index 9063def1e..f9378c9d8 100644 --- a/charms/kfp-metadata-writer/terraform/main.tf +++ b/charms/kfp-metadata-writer/terraform/main.tf @@ -1,6 +1,7 @@ resource "juju_application" "kfp_metadata_writer" { charm { name = "kfp-metadata-writer" + base = var.base channel = var.channel revision = var.revision } diff --git a/charms/kfp-metadata-writer/terraform/variables.tf b/charms/kfp-metadata-writer/terraform/variables.tf index 3115d9408..c9616620d 100644 --- a/charms/kfp-metadata-writer/terraform/variables.tf +++ b/charms/kfp-metadata-writer/terraform/variables.tf @@ -4,6 +4,12 @@ variable "app_name" { default = "kfp-metadata-writer" } +variable "base" { + description = "Application base" + type = string + default = "ubuntu@24.04" +} + variable "channel" { description = "Charm channel" type = string diff --git a/charms/kfp-persistence/terraform/README.md b/charms/kfp-persistence/terraform/README.md index d9e5a85a9..58bd149d9 100644 --- a/charms/kfp-persistence/terraform/README.md +++ b/charms/kfp-persistence/terraform/README.md @@ -10,6 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | +| `base`| string | Application base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-persistence/terraform/main.tf b/charms/kfp-persistence/terraform/main.tf index 2990154a7..1bf231a4d 100644 --- a/charms/kfp-persistence/terraform/main.tf +++ b/charms/kfp-persistence/terraform/main.tf @@ -1,6 +1,7 @@ resource "juju_application" "kfp_persistence" { charm { name = "kfp-persistence" + base = var.base channel = var.channel revision = var.revision } diff --git a/charms/kfp-persistence/terraform/variables.tf b/charms/kfp-persistence/terraform/variables.tf index 6c3d8ea30..ccbbc2dce 100644 --- a/charms/kfp-persistence/terraform/variables.tf +++ b/charms/kfp-persistence/terraform/variables.tf @@ -4,6 +4,12 @@ variable "app_name" { default = "kfp-persistence" } +variable "base" { + description = "Application base" + type = string + default = "ubuntu@24.04" +} + variable "channel" { description = "Charm channel" type = string diff --git a/charms/kfp-profile-controller/terraform/README.md b/charms/kfp-profile-controller/terraform/README.md index a97926737..886e2b047 100644 --- a/charms/kfp-profile-controller/terraform/README.md +++ b/charms/kfp-profile-controller/terraform/README.md @@ -10,6 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | +| `base`| string | Application base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-profile-controller/terraform/main.tf b/charms/kfp-profile-controller/terraform/main.tf index a09d94324..62be69a6d 100644 --- a/charms/kfp-profile-controller/terraform/main.tf +++ b/charms/kfp-profile-controller/terraform/main.tf @@ -1,6 +1,7 @@ resource "juju_application" "kfp_profile_controller" { charm { name = "kfp-profile-controller" + base = var.base channel = var.channel revision = var.revision } diff --git a/charms/kfp-profile-controller/terraform/variables.tf b/charms/kfp-profile-controller/terraform/variables.tf index 58e901e2c..37d9998e6 100644 --- a/charms/kfp-profile-controller/terraform/variables.tf +++ b/charms/kfp-profile-controller/terraform/variables.tf @@ -4,6 +4,12 @@ variable "app_name" { default = "kfp-profile-controller" } +variable "base" { + description = "Application base" + type = string + default = "ubuntu@24.04" +} + variable "channel" { description = "Charm channel" type = string diff --git a/charms/kfp-schedwf/terraform/README.md b/charms/kfp-schedwf/terraform/README.md index b76ad7e4d..289c9f379 100644 --- a/charms/kfp-schedwf/terraform/README.md +++ b/charms/kfp-schedwf/terraform/README.md @@ -10,6 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | +| `base`| string | Application base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-schedwf/terraform/main.tf b/charms/kfp-schedwf/terraform/main.tf index eb37fd382..e955af7b0 100644 --- a/charms/kfp-schedwf/terraform/main.tf +++ b/charms/kfp-schedwf/terraform/main.tf @@ -1,6 +1,7 @@ resource "juju_application" "kfp_schedwf" { charm { name = "kfp-schedwf" + base = var.base channel = var.channel revision = var.revision } diff --git a/charms/kfp-schedwf/terraform/variables.tf b/charms/kfp-schedwf/terraform/variables.tf index 8bedfd76f..2279201fb 100644 --- a/charms/kfp-schedwf/terraform/variables.tf +++ b/charms/kfp-schedwf/terraform/variables.tf @@ -4,6 +4,12 @@ variable "app_name" { default = "kfp-schedwf" } +variable "base" { + description = "Application base" + type = string + default = "ubuntu@24.04" +} + variable "channel" { description = "Charm channel" type = string diff --git a/charms/kfp-ui/terraform/README.md b/charms/kfp-ui/terraform/README.md index c2e8a6210..aaedb9a5f 100644 --- a/charms/kfp-ui/terraform/README.md +++ b/charms/kfp-ui/terraform/README.md @@ -10,6 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | +| `base`| string | Application base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-ui/terraform/main.tf b/charms/kfp-ui/terraform/main.tf index 38ac4b3a4..940198fd5 100644 --- a/charms/kfp-ui/terraform/main.tf +++ b/charms/kfp-ui/terraform/main.tf @@ -1,6 +1,7 @@ resource "juju_application" "kfp_ui" { charm { name = "kfp-ui" + base = var.base channel = var.channel revision = var.revision } diff --git a/charms/kfp-ui/terraform/variables.tf b/charms/kfp-ui/terraform/variables.tf index 17f521f66..b16a7a227 100644 --- a/charms/kfp-ui/terraform/variables.tf +++ b/charms/kfp-ui/terraform/variables.tf @@ -4,6 +4,12 @@ variable "app_name" { default = "kfp-ui" } +variable "base" { + description = "Application base" + type = string + default = "ubuntu@24.04" +} + variable "channel" { description = "Charm channel" type = string diff --git a/charms/kfp-viewer/terraform/README.md b/charms/kfp-viewer/terraform/README.md index e2dafb29f..f40cd7264 100644 --- a/charms/kfp-viewer/terraform/README.md +++ b/charms/kfp-viewer/terraform/README.md @@ -10,6 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | +| `base`| string | Application base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-viewer/terraform/main.tf b/charms/kfp-viewer/terraform/main.tf index 2a6a8873a..a71630c84 100644 --- a/charms/kfp-viewer/terraform/main.tf +++ b/charms/kfp-viewer/terraform/main.tf @@ -1,6 +1,7 @@ resource "juju_application" "kfp_viewer" { charm { name = "kfp-viewer" + base = var.base channel = var.channel revision = var.revision } diff --git a/charms/kfp-viewer/terraform/variables.tf b/charms/kfp-viewer/terraform/variables.tf index 03c773eb3..5ceeae0ac 100644 --- a/charms/kfp-viewer/terraform/variables.tf +++ b/charms/kfp-viewer/terraform/variables.tf @@ -4,6 +4,12 @@ variable "app_name" { default = "kfp-viewer" } +variable "base" { + description = "Application base" + type = string + default = "ubuntu@24.04" +} + variable "channel" { description = "Charm channel" type = string diff --git a/charms/kfp-viz/terraform/README.md b/charms/kfp-viz/terraform/README.md index 09aabd7e9..c7134e5a0 100644 --- a/charms/kfp-viz/terraform/README.md +++ b/charms/kfp-viz/terraform/README.md @@ -10,6 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | +| `base`| string | Application base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-viz/terraform/main.tf b/charms/kfp-viz/terraform/main.tf index eb35f2d8a..9cf191f35 100644 --- a/charms/kfp-viz/terraform/main.tf +++ b/charms/kfp-viz/terraform/main.tf @@ -1,6 +1,7 @@ resource "juju_application" "kfp_viz" { charm { name = "kfp-viz" + base = var.base channel = var.channel revision = var.revision } diff --git a/charms/kfp-viz/terraform/variables.tf b/charms/kfp-viz/terraform/variables.tf index a7ac1d530..60f810f61 100644 --- a/charms/kfp-viz/terraform/variables.tf +++ b/charms/kfp-viz/terraform/variables.tf @@ -4,6 +4,12 @@ variable "app_name" { default = "kfp-viz" } +variable "base" { + description = "Application base" + type = string + default = "ubuntu@24.04" +} + variable "channel" { description = "Charm channel" type = string From e525a7585ed6c4b485424bb0b749c22f5b468e83 Mon Sep 17 00:00:00 2001 From: mvlassis Date: Thu, 23 Oct 2025 10:36:29 +0200 Subject: [PATCH 2/7] Update description for base --- charms/kfp-api/terraform/README.md | 2 +- charms/kfp-api/terraform/variables.tf | 2 +- charms/kfp-metadata-writer/terraform/README.md | 2 +- charms/kfp-metadata-writer/terraform/variables.tf | 2 +- charms/kfp-persistence/terraform/README.md | 2 +- charms/kfp-persistence/terraform/variables.tf | 2 +- charms/kfp-profile-controller/terraform/README.md | 2 +- charms/kfp-profile-controller/terraform/variables.tf | 2 +- charms/kfp-schedwf/terraform/README.md | 2 +- charms/kfp-schedwf/terraform/variables.tf | 2 +- charms/kfp-ui/terraform/README.md | 2 +- charms/kfp-ui/terraform/variables.tf | 2 +- charms/kfp-viewer/terraform/README.md | 2 +- charms/kfp-viewer/terraform/variables.tf | 2 +- charms/kfp-viz/terraform/README.md | 2 +- charms/kfp-viz/terraform/variables.tf | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/charms/kfp-api/terraform/README.md b/charms/kfp-api/terraform/README.md index aaa28414b..1fcf9d62c 100644 --- a/charms/kfp-api/terraform/README.md +++ b/charms/kfp-api/terraform/README.md @@ -13,7 +13,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | -| `base`| string | Application base | False | +| `base`| string | Charm base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-api/terraform/variables.tf b/charms/kfp-api/terraform/variables.tf index 799b20ebd..9544a27cb 100644 --- a/charms/kfp-api/terraform/variables.tf +++ b/charms/kfp-api/terraform/variables.tf @@ -5,7 +5,7 @@ variable "app_name" { } variable "base" { - description = "Application base" + description = "Charm base" type = string default = "ubuntu@24.04" } diff --git a/charms/kfp-metadata-writer/terraform/README.md b/charms/kfp-metadata-writer/terraform/README.md index 147712ecc..f383d39ba 100644 --- a/charms/kfp-metadata-writer/terraform/README.md +++ b/charms/kfp-metadata-writer/terraform/README.md @@ -10,7 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | -| `base`| string | Application base | False | +| `base`| string | Charm base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-metadata-writer/terraform/variables.tf b/charms/kfp-metadata-writer/terraform/variables.tf index c9616620d..62d758e9c 100644 --- a/charms/kfp-metadata-writer/terraform/variables.tf +++ b/charms/kfp-metadata-writer/terraform/variables.tf @@ -5,7 +5,7 @@ variable "app_name" { } variable "base" { - description = "Application base" + description = "Charm base" type = string default = "ubuntu@24.04" } diff --git a/charms/kfp-persistence/terraform/README.md b/charms/kfp-persistence/terraform/README.md index 58bd149d9..f4739e86a 100644 --- a/charms/kfp-persistence/terraform/README.md +++ b/charms/kfp-persistence/terraform/README.md @@ -10,7 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | -| `base`| string | Application base | False | +| `base`| string | Charm base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-persistence/terraform/variables.tf b/charms/kfp-persistence/terraform/variables.tf index ccbbc2dce..b2d43078e 100644 --- a/charms/kfp-persistence/terraform/variables.tf +++ b/charms/kfp-persistence/terraform/variables.tf @@ -5,7 +5,7 @@ variable "app_name" { } variable "base" { - description = "Application base" + description = "Charm base" type = string default = "ubuntu@24.04" } diff --git a/charms/kfp-profile-controller/terraform/README.md b/charms/kfp-profile-controller/terraform/README.md index 886e2b047..8f3cc7405 100644 --- a/charms/kfp-profile-controller/terraform/README.md +++ b/charms/kfp-profile-controller/terraform/README.md @@ -10,7 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | -| `base`| string | Application base | False | +| `base`| string | Charm base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-profile-controller/terraform/variables.tf b/charms/kfp-profile-controller/terraform/variables.tf index 37d9998e6..264317f04 100644 --- a/charms/kfp-profile-controller/terraform/variables.tf +++ b/charms/kfp-profile-controller/terraform/variables.tf @@ -5,7 +5,7 @@ variable "app_name" { } variable "base" { - description = "Application base" + description = "Charm base" type = string default = "ubuntu@24.04" } diff --git a/charms/kfp-schedwf/terraform/README.md b/charms/kfp-schedwf/terraform/README.md index 289c9f379..2738e38b2 100644 --- a/charms/kfp-schedwf/terraform/README.md +++ b/charms/kfp-schedwf/terraform/README.md @@ -10,7 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | -| `base`| string | Application base | False | +| `base`| string | Charm base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-schedwf/terraform/variables.tf b/charms/kfp-schedwf/terraform/variables.tf index 2279201fb..66d77d1b0 100644 --- a/charms/kfp-schedwf/terraform/variables.tf +++ b/charms/kfp-schedwf/terraform/variables.tf @@ -5,7 +5,7 @@ variable "app_name" { } variable "base" { - description = "Application base" + description = "Charm base" type = string default = "ubuntu@24.04" } diff --git a/charms/kfp-ui/terraform/README.md b/charms/kfp-ui/terraform/README.md index aaedb9a5f..47db29154 100644 --- a/charms/kfp-ui/terraform/README.md +++ b/charms/kfp-ui/terraform/README.md @@ -10,7 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | -| `base`| string | Application base | False | +| `base`| string | Charm base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-ui/terraform/variables.tf b/charms/kfp-ui/terraform/variables.tf index b16a7a227..447e2cb25 100644 --- a/charms/kfp-ui/terraform/variables.tf +++ b/charms/kfp-ui/terraform/variables.tf @@ -5,7 +5,7 @@ variable "app_name" { } variable "base" { - description = "Application base" + description = "Charm base" type = string default = "ubuntu@24.04" } diff --git a/charms/kfp-viewer/terraform/README.md b/charms/kfp-viewer/terraform/README.md index f40cd7264..4d891c1e3 100644 --- a/charms/kfp-viewer/terraform/README.md +++ b/charms/kfp-viewer/terraform/README.md @@ -10,7 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | -| `base`| string | Application base | False | +| `base`| string | Charm base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-viewer/terraform/variables.tf b/charms/kfp-viewer/terraform/variables.tf index 5ceeae0ac..5e94f62ff 100644 --- a/charms/kfp-viewer/terraform/variables.tf +++ b/charms/kfp-viewer/terraform/variables.tf @@ -5,7 +5,7 @@ variable "app_name" { } variable "base" { - description = "Application base" + description = "Charm base" type = string default = "ubuntu@24.04" } diff --git a/charms/kfp-viz/terraform/README.md b/charms/kfp-viz/terraform/README.md index c7134e5a0..62f588761 100644 --- a/charms/kfp-viz/terraform/README.md +++ b/charms/kfp-viz/terraform/README.md @@ -10,7 +10,7 @@ The module offers the following configurable inputs: | Name | Type | Description | Required | | - | - | - | - | | `app_name`| string | Application name | False | -| `base`| string | Application base | False | +| `base`| string | Charm base | False | | `channel`| string | Channel that the charm is deployed from | False | | `config`| map(string) | Map of the charm configuration options | False | | `model_name`| string | Name of the model that the charm is deployed on | True | diff --git a/charms/kfp-viz/terraform/variables.tf b/charms/kfp-viz/terraform/variables.tf index 60f810f61..6c66b01ab 100644 --- a/charms/kfp-viz/terraform/variables.tf +++ b/charms/kfp-viz/terraform/variables.tf @@ -5,7 +5,7 @@ variable "app_name" { } variable "base" { - description = "Application base" + description = "Charm base" type = string default = "ubuntu@24.04" } From 16161c9c81c31adf80d7fbf1a3eef4bef3005e06 Mon Sep 17 00:00:00 2001 From: mvlassis Date: Fri, 24 Oct 2025 15:48:29 +0200 Subject: [PATCH 3/7] Add maximizie-build-space action in integration tests --- .github/workflows/ci.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0ede79c86..7522f675f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -166,13 +166,15 @@ jobs: - kfp-metadata-writer - kfp-viz steps: - # Ideally we'd use self-hosted runners, but this effort is still not stable - # This action will remove unused software (dotnet, haskell, android libs, codeql, - # and docker images) from the GH runner. - # This leaves ~45GB free as of 2024-04-10, but this amount has varied as GH changed their - # runners - name: Maximise GH runner space - uses: jlumbroso/free-disk-space@v1.3.1 + uses: easimon/maximize-build-space@v8 + with: + root-reserve-mb: 34816 + remove-dotnet: 'true' + remove-haskell: 'true' + remove-android: 'true' + remove-codeql: 'true' + remove-docker-images: 'true' - uses: actions/checkout@v4 - name: Install dependencies From e3d4f8bdbfe3f121a4d233e367107d0a57394254 Mon Sep 17 00:00:00 2001 From: mvlassis Date: Fri, 24 Oct 2025 16:37:43 +0200 Subject: [PATCH 4/7] Add maximizie-build-space action in integration tests --- .github/workflows/ci.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7522f675f..e84c4907f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -149,7 +149,7 @@ jobs: charmhub-token: ${{ secrets.CHARMCRAFT_CREDENTIALS }} integration: - name: Integration tests (microk8s) + name: Integration tests needs: - build runs-on: ubuntu-24.04 @@ -218,14 +218,16 @@ jobs: strategy: fail-fast: false steps: - # This is a workaround for https://github.com/canonical/kfp-operators/issues/250 - # Ideally we'd use self-hosted runners, but this effort is still not stable - # This action will remove unused software (dotnet, haskell, android libs, codeql, - # and docker images) from the GH runner. - # This leaves ~45GB free as of 2024-04-10, but this amount has varied as GH changed their - # runners - name: Maximise GH runner space - uses: jlumbroso/free-disk-space@v1.3.1 + uses: easimon/maximize-build-space@v8 + with: + root-reserve-mb: 34816 + remove-dotnet: 'true' + remove-haskell: 'true' + remove-android: 'true' + remove-codeql: 'true' + remove-docker-images: 'true' + - name: Check out code uses: actions/checkout@v4 From 860450e24ca4d07585ba24b85a17ba1dff96b001 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 29 Oct 2025 13:00:36 +0200 Subject: [PATCH 5/7] Pin juju provider version --- charms/kfp-api/terraform/versions.tf | 2 +- charms/kfp-metadata-writer/terraform/versions.tf | 2 +- charms/kfp-persistence/terraform/versions.tf | 2 +- charms/kfp-profile-controller/terraform/versions.tf | 2 +- charms/kfp-schedwf/terraform/versions.tf | 2 +- charms/kfp-ui/terraform/versions.tf | 2 +- charms/kfp-viewer/terraform/versions.tf | 2 +- charms/kfp-viz/terraform/versions.tf | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/charms/kfp-api/terraform/versions.tf b/charms/kfp-api/terraform/versions.tf index ac2b40d03..caaacf5a7 100644 --- a/charms/kfp-api/terraform/versions.tf +++ b/charms/kfp-api/terraform/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { juju = { source = "juju/juju" - version = ">= 0.14.0" + version = ">= 0.14.0, < 1.0.0" } } } diff --git a/charms/kfp-metadata-writer/terraform/versions.tf b/charms/kfp-metadata-writer/terraform/versions.tf index ac2b40d03..caaacf5a7 100644 --- a/charms/kfp-metadata-writer/terraform/versions.tf +++ b/charms/kfp-metadata-writer/terraform/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { juju = { source = "juju/juju" - version = ">= 0.14.0" + version = ">= 0.14.0, < 1.0.0" } } } diff --git a/charms/kfp-persistence/terraform/versions.tf b/charms/kfp-persistence/terraform/versions.tf index ac2b40d03..caaacf5a7 100644 --- a/charms/kfp-persistence/terraform/versions.tf +++ b/charms/kfp-persistence/terraform/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { juju = { source = "juju/juju" - version = ">= 0.14.0" + version = ">= 0.14.0, < 1.0.0" } } } diff --git a/charms/kfp-profile-controller/terraform/versions.tf b/charms/kfp-profile-controller/terraform/versions.tf index ac2b40d03..caaacf5a7 100644 --- a/charms/kfp-profile-controller/terraform/versions.tf +++ b/charms/kfp-profile-controller/terraform/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { juju = { source = "juju/juju" - version = ">= 0.14.0" + version = ">= 0.14.0, < 1.0.0" } } } diff --git a/charms/kfp-schedwf/terraform/versions.tf b/charms/kfp-schedwf/terraform/versions.tf index ac2b40d03..caaacf5a7 100644 --- a/charms/kfp-schedwf/terraform/versions.tf +++ b/charms/kfp-schedwf/terraform/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { juju = { source = "juju/juju" - version = ">= 0.14.0" + version = ">= 0.14.0, < 1.0.0" } } } diff --git a/charms/kfp-ui/terraform/versions.tf b/charms/kfp-ui/terraform/versions.tf index ac2b40d03..caaacf5a7 100644 --- a/charms/kfp-ui/terraform/versions.tf +++ b/charms/kfp-ui/terraform/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { juju = { source = "juju/juju" - version = ">= 0.14.0" + version = ">= 0.14.0, < 1.0.0" } } } diff --git a/charms/kfp-viewer/terraform/versions.tf b/charms/kfp-viewer/terraform/versions.tf index ac2b40d03..caaacf5a7 100644 --- a/charms/kfp-viewer/terraform/versions.tf +++ b/charms/kfp-viewer/terraform/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { juju = { source = "juju/juju" - version = ">= 0.14.0" + version = ">= 0.14.0, < 1.0.0" } } } diff --git a/charms/kfp-viz/terraform/versions.tf b/charms/kfp-viz/terraform/versions.tf index ac2b40d03..caaacf5a7 100644 --- a/charms/kfp-viz/terraform/versions.tf +++ b/charms/kfp-viz/terraform/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { juju = { source = "juju/juju" - version = ">= 0.14.0" + version = ">= 0.14.0, < 1.0.0" } } } From 5bbbe2f3cae861c487f90c64bad0563099e5ade8 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 30 Oct 2025 13:58:11 +0200 Subject: [PATCH 6/7] Setup tmate session --- .github/workflows/ci.yaml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e84c4907f..b5d8f6616 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -166,15 +166,13 @@ jobs: - kfp-metadata-writer - kfp-viz steps: + # Ideally we'd use self-hosted runners, but this effort is still not stable + # This action will remove unused software (dotnet, haskell, android libs, codeql, + # and docker images) from the GH runner. + # This leaves ~45GB free as of 2024-04-10, but this amount has varied as GH changed their + # runners - name: Maximise GH runner space - uses: easimon/maximize-build-space@v8 - with: - root-reserve-mb: 34816 - remove-dotnet: 'true' - remove-haskell: 'true' - remove-android: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' + uses: jlumbroso/free-disk-space@v1.3.1 - uses: actions/checkout@v4 - name: Install dependencies @@ -218,16 +216,14 @@ jobs: strategy: fail-fast: false steps: + # This is a workaround for https://github.com/canonical/kfp-operators/issues/250 + # Ideally we'd use self-hosted runners, but this effort is still not stable + # This action will remove unused software (dotnet, haskell, android libs, codeql, + # and docker images) from the GH runner. + # This leaves ~45GB free as of 2024-04-10, but this amount has varied as GH changed their + # runners - name: Maximise GH runner space - uses: easimon/maximize-build-space@v8 - with: - root-reserve-mb: 34816 - remove-dotnet: 'true' - remove-haskell: 'true' - remove-android: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' - + uses: jlumbroso/free-disk-space@v1.3.1 - name: Check out code uses: actions/checkout@v4 @@ -255,6 +251,10 @@ jobs: juju add-model kubeflow tox -e bundle-integration -- --model kubeflow --charms-path=${{ github.workspace }}/charms/ --bundle=./tests/integration/bundles/bundle.yaml.j2 + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + timeout-minutes: 60 + - name: Get all run: kubectl get all -A if: failure() From ab41f7666fda1104671fd933bf0c44dda156cc95 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 30 Oct 2025 14:46:40 +0200 Subject: [PATCH 7/7] Setup tmate session --- .github/workflows/ci.yaml | 1 + charms/kfp-metadata-writer/.charmcraft_output_packages.txt | 1 + 2 files changed, 2 insertions(+) create mode 100644 charms/kfp-metadata-writer/.charmcraft_output_packages.txt diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b5d8f6616..7b339a18e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -254,6 +254,7 @@ jobs: - name: Setup tmate session uses: mxschmitt/action-tmate@v3 timeout-minutes: 60 + if: failure() - name: Get all run: kubectl get all -A diff --git a/charms/kfp-metadata-writer/.charmcraft_output_packages.txt b/charms/kfp-metadata-writer/.charmcraft_output_packages.txt new file mode 100644 index 000000000..84056e47b --- /dev/null +++ b/charms/kfp-metadata-writer/.charmcraft_output_packages.txt @@ -0,0 +1 @@ +kfp-metadata-writer_ubuntu@24.04-amd64.charm