generated from canonical/is-charms-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Integration test] Allows for
clouds(...)
marker and --no-deploy
…
…handling (#237) * Adjust tests to create a test_openstack which can only run on openstack clouds * Create openstack specific tests * Repair ceph provisioner name * repair reader test pod
- Loading branch information
Showing
14 changed files
with
435 additions
and
167 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ The module offers the following configurable inputs: | |
| Name | Type | Description | Required | Default | | ||
| - | - | - | - | - | | ||
| `app_name`| string | Application name | False | k8s-worker | | ||
| `base` | string | Ubuntu base to deploy the carm onto | False | [email protected] | | ||
| `base` | string | Ubuntu base to deploy the charm onto | False | [email protected] | | ||
| `channel`| string | Channel that the charm is deployed from | False | 1.30/edge | | ||
| `config`| map(string) | Map of the charm configuration options | False | {} | | ||
| `constraints` | string | Juju constraints to apply for this application | False | arch=amd64 | | ||
|
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 2025 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
name: integration-test | ||
description: |- | ||
Used to deploy or refresh within an integration test model | ||
series: jammy | ||
applications: | ||
k8s: | ||
charm: k8s | ||
num_units: 3 | ||
constraints: cores=2 mem=8G root-disk=16G | ||
expose: true | ||
options: | ||
bootstrap-node-taints: "node-role.kubernetes.io/control-plane=:NoSchedule" | ||
k8s-worker: | ||
charm: k8s-worker | ||
num_units: 2 | ||
constraints: cores=2 mem=8G root-disk=16G | ||
openstack-integrator: | ||
charm: openstack-integrator | ||
num_units: 1 | ||
trust: true | ||
base: [email protected] | ||
openstack-cloud-controller: | ||
charm: openstack-cloud-controller | ||
cinder-csi: | ||
charm: cinder-csi | ||
relations: | ||
- [k8s, k8s-worker:cluster] | ||
- [k8s, k8s-worker:containerd] | ||
- [openstack-cloud-controller:kube-control, k8s:kube-control] | ||
- [cinder-csi:kube-control, k8s:kube-control] | ||
- [openstack-cloud-controller:external-cloud-provider, k8s:external-cloud-provider] | ||
- [openstack-cloud-controller:openstack, openstack-integrator:clients] | ||
- [cinder-csi:openstack, openstack-integrator:clients] |
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
tests/integration/data/test_storage_provider/cinder-pvc.yaml
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2025 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
apiVersion: v1 | ||
metadata: | ||
name: raw-block-pvc | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
volumeMode: Filesystem | ||
resources: | ||
requests: | ||
storage: 64Mi | ||
storageClassName: csi-cinder-default |
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.