From 2e3f5220ad1e1384f45551c8112440d087c6d057 Mon Sep 17 00:00:00 2001 From: Vitaly Antonenko Date: Mon, 3 Nov 2025 17:23:45 +0300 Subject: [PATCH] feat: remove manual from 4.0, introduce umnaaged This commit removes `manual` suite from 4.0, and introduces `unamnaged`. Also adds changes of current `gen-wire-tests` make target. --- .../ci-run/integration/gen/test-cloud_gce.yml | 155 +- jobs/ci-run/integration/gen/test-manual.yml | 84 +- .../integration/gen/test-secrets_iaas.yml | 79 +- .../integration/gen/test-smoke_k8s_psql.yml | 106 ++ .../integration/gen/test-spaces_gce.yml | 22 +- .../integration/gen/test-storage_k8s.yml | 1408 ++++++++++++++++- .../ci-run/integration/gen/test-unmanaged.yml | 814 ++++++++++ jobs/ci-run/integration/integrationtests.yml | 8 + tools/gen-wire-tests/juju.config | 10 + 9 files changed, 2632 insertions(+), 54 deletions(-) create mode 100644 jobs/ci-run/integration/gen/test-smoke_k8s_psql.yml create mode 100644 jobs/ci-run/integration/gen/test-unmanaged.yml diff --git a/jobs/ci-run/integration/gen/test-cloud_gce.yml b/jobs/ci-run/integration/gen/test-cloud_gce.yml index 0a44367..49a7dcf 100644 --- a/jobs/ci-run/integration/gen/test-cloud_gce.yml +++ b/jobs/ci-run/integration/gen/test-cloud_gce.yml @@ -28,10 +28,92 @@ - multijob: name: 'IntegrationTests-cloud_gce' projects: + - name: 'test-cloud_gce-test-create-storage-pool-google' + current-parameters: true - name: 'test-cloud_gce-test-deploy-gpu-instance-google' current-parameters: true - name: 'test-cloud_gce-test-pro-images-google' current-parameters: true + - name: 'test-cloud_gce-test-serviceaccount-credential-google' + current-parameters: true + +- job: + name: test-cloud_gce-test-create-storage-pool-google + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_create_storage_pool in cloud_gce suite on google + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'google' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'gce' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[4-9].*|^3\\.([6-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'cloud_gce' + setup_steps: '' + task_name: 'test_create_storage_pool' + skip_tasks: 'test_deploy_gpu_instance,test_pro_images,test_serviceaccount_credential' + publishers: + - integration-artifacts - job: name: test-cloud_gce-test-deploy-gpu-instance-google @@ -107,7 +189,7 @@ test_name: 'cloud_gce' setup_steps: '' task_name: 'test_deploy_gpu_instance' - skip_tasks: 'test_pro_images' + skip_tasks: 'test_create_storage_pool,test_pro_images,test_serviceaccount_credential' publishers: - integration-artifacts @@ -176,6 +258,75 @@ test_name: 'cloud_gce' setup_steps: '' task_name: 'test_pro_images' - skip_tasks: 'test_deploy_gpu_instance' + skip_tasks: 'test_create_storage_pool,test_deploy_gpu_instance,test_serviceaccount_credential' + publishers: + - integration-artifacts + +- job: + name: test-cloud_gce-test-serviceaccount-credential-google + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_serviceaccount_credential in cloud_gce suite on google + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'google' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'gce' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'cloud_gce' + setup_steps: '' + task_name: 'test_serviceaccount_credential' + skip_tasks: 'test_create_storage_pool,test_deploy_gpu_instance,test_pro_images' publishers: - integration-artifacts diff --git a/jobs/ci-run/integration/gen/test-manual.yml b/jobs/ci-run/integration/gen/test-manual.yml index 053d987..1bd05b0 100644 --- a/jobs/ci-run/integration/gen/test-manual.yml +++ b/jobs/ci-run/integration/gen/test-manual.yml @@ -98,11 +98,22 @@ - common - select-oci-registry - prepare-integration-test - - run-integration-test: - test_name: 'manual' - setup_steps: '' - task_name: 'test_deploy_manual' - skip_tasks: 'test_spaces_manual' + - conditional-step: + # Do not run on regexp version match. + # Accounts for tests which do not exist + # in later Juju versions. + condition-kind: not + condition-operand: + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'manual' + setup_steps: '' + task_name: 'test_deploy_manual' + skip_tasks: 'test_spaces_manual' publishers: - integration-artifacts @@ -163,11 +174,22 @@ - common - select-oci-registry - prepare-integration-test - - run-integration-test: - test_name: 'manual' - setup_steps: '' - task_name: 'test_deploy_manual' - skip_tasks: 'test_spaces_manual' + - conditional-step: + # Do not run on regexp version match. + # Accounts for tests which do not exist + # in later Juju versions. + condition-kind: not + condition-operand: + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'manual' + setup_steps: '' + task_name: 'test_deploy_manual' + skip_tasks: 'test_spaces_manual' publishers: - integration-artifacts @@ -232,11 +254,22 @@ - common - select-oci-registry - prepare-integration-test - - run-integration-test: - test_name: 'manual' - setup_steps: '' - task_name: 'test_spaces_manual' - skip_tasks: 'test_deploy_manual' + - conditional-step: + # Do not run on regexp version match. + # Accounts for tests which do not exist + # in later Juju versions. + condition-kind: not + condition-operand: + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'manual' + setup_steps: '' + task_name: 'test_spaces_manual' + skip_tasks: 'test_deploy_manual' publishers: - integration-artifacts @@ -297,10 +330,21 @@ - common - select-oci-registry - prepare-integration-test - - run-integration-test: - test_name: 'manual' - setup_steps: '' - task_name: 'test_spaces_manual' - skip_tasks: 'test_deploy_manual' + - conditional-step: + # Do not run on regexp version match. + # Accounts for tests which do not exist + # in later Juju versions. + condition-kind: not + condition-operand: + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'manual' + setup_steps: '' + task_name: 'test_spaces_manual' + skip_tasks: 'test_deploy_manual' publishers: - integration-artifacts diff --git a/jobs/ci-run/integration/gen/test-secrets_iaas.yml b/jobs/ci-run/integration/gen/test-secrets_iaas.yml index 45a22d9..dda30a5 100644 --- a/jobs/ci-run/integration/gen/test-secrets_iaas.yml +++ b/jobs/ci-run/integration/gen/test-secrets_iaas.yml @@ -28,6 +28,8 @@ - multijob: name: 'IntegrationTests-secrets_iaas' projects: + - name: 'test-secrets_iaas-test-obsolete-revisions-lxd' + current-parameters: true - name: 'test-secrets_iaas-test-secret-drain-lxd' current-parameters: true - name: 'test-secrets_iaas-test-secrets-cmr-lxd' @@ -41,6 +43,71 @@ - name: 'test-secrets_iaas-test-user-secret-drain-lxd' current-parameters: true +- job: + name: test-secrets_iaas-test-obsolete-revisions-lxd + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_obsolete_revisions in secrets_iaas suite on lxd + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'localhost' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'lxd' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'secrets_iaas' + setup_steps: '' + task_name: 'test_obsolete_revisions' + skip_tasks: 'test_secret_drain,test_secrets_cmr,test_secrets_juju,test_secrets_k8s,test_secrets_vault,test_user_secret_drain' + publishers: + - integration-artifacts + - job: name: test-secrets_iaas-test-secret-drain-lxd node: ephemeral-noble-8c-32g-amd64 @@ -111,7 +178,7 @@ test_name: 'secrets_iaas' setup_steps: '' task_name: 'test_secret_drain' - skip_tasks: 'test_secrets_cmr,test_secrets_juju,test_secrets_k8s,test_secrets_vault,test_user_secret_drain' + skip_tasks: 'test_obsolete_revisions,test_secrets_cmr,test_secrets_juju,test_secrets_k8s,test_secrets_vault,test_user_secret_drain' publishers: - integration-artifacts @@ -185,7 +252,7 @@ test_name: 'secrets_iaas' setup_steps: '' task_name: 'test_secrets_cmr' - skip_tasks: 'test_secret_drain,test_secrets_juju,test_secrets_k8s,test_secrets_vault,test_user_secret_drain' + skip_tasks: 'test_obsolete_revisions,test_secret_drain,test_secrets_juju,test_secrets_k8s,test_secrets_vault,test_user_secret_drain' publishers: - integration-artifacts @@ -259,7 +326,7 @@ test_name: 'secrets_iaas' setup_steps: '' task_name: 'test_secrets_juju' - skip_tasks: 'test_secret_drain,test_secrets_cmr,test_secrets_k8s,test_secrets_vault,test_user_secret_drain' + skip_tasks: 'test_obsolete_revisions,test_secret_drain,test_secrets_cmr,test_secrets_k8s,test_secrets_vault,test_user_secret_drain' publishers: - integration-artifacts @@ -333,7 +400,7 @@ test_name: 'secrets_iaas' setup_steps: '' task_name: 'test_secrets_k8s' - skip_tasks: 'test_secret_drain,test_secrets_cmr,test_secrets_juju,test_secrets_vault,test_user_secret_drain' + skip_tasks: 'test_obsolete_revisions,test_secret_drain,test_secrets_cmr,test_secrets_juju,test_secrets_vault,test_user_secret_drain' publishers: - integration-artifacts @@ -407,7 +474,7 @@ test_name: 'secrets_iaas' setup_steps: '' task_name: 'test_secrets_vault' - skip_tasks: 'test_secret_drain,test_secrets_cmr,test_secrets_juju,test_secrets_k8s,test_user_secret_drain' + skip_tasks: 'test_obsolete_revisions,test_secret_drain,test_secrets_cmr,test_secrets_juju,test_secrets_k8s,test_user_secret_drain' publishers: - integration-artifacts @@ -481,6 +548,6 @@ test_name: 'secrets_iaas' setup_steps: '' task_name: 'test_user_secret_drain' - skip_tasks: 'test_secret_drain,test_secrets_cmr,test_secrets_juju,test_secrets_k8s,test_secrets_vault' + skip_tasks: 'test_obsolete_revisions,test_secret_drain,test_secrets_cmr,test_secrets_juju,test_secrets_k8s,test_secrets_vault' publishers: - integration-artifacts diff --git a/jobs/ci-run/integration/gen/test-smoke_k8s_psql.yml b/jobs/ci-run/integration/gen/test-smoke_k8s_psql.yml new file mode 100644 index 0000000..e107362 --- /dev/null +++ b/jobs/ci-run/integration/gen/test-smoke_k8s_psql.yml @@ -0,0 +1,106 @@ + + +# Code generated by gen-wire-tests. DO NOT EDIT. +- job: + name: 'test-smoke_k8s_psql-multijob' + project-type: 'multijob' + description: |- + Test smoke_k8s_psql Suite + condition: SUCCESSFUL + node: noop-parent-jobs + concurrent: true + wrappers: + - ansicolor + - workspace-cleanup + - timestamps + parameters: + - string: + default: '' + description: 'Enable sub job to be run individually.' + name: SHORT_GIT_COMMIT + - string: + default: '' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + builders: + - get-s3-build-details + - set-test-description + - multijob: + name: 'IntegrationTests-smoke_k8s_psql' + projects: + - name: 'test-smoke_k8s_psql-test-deploy-postgresql-microk8s' + current-parameters: true + +- job: + name: test-smoke_k8s_psql-test-deploy-postgresql-microk8s + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test smoke_k8s_psql suite on microk8s + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'microk8s' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'k8s' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test-microk8s: + test_name: 'smoke_k8s_psql' + setup_steps: '' + task_name: '' + skip_tasks: '' + publishers: + - integration-artifacts diff --git a/jobs/ci-run/integration/gen/test-spaces_gce.yml b/jobs/ci-run/integration/gen/test-spaces_gce.yml index 8923353..17802d2 100644 --- a/jobs/ci-run/integration/gen/test-spaces_gce.yml +++ b/jobs/ci-run/integration/gen/test-spaces_gce.yml @@ -93,22 +93,12 @@ - select-oci-registry - prepare-integration-test - conditional-step: - condition-kind: and - condition-operands: - # Do not run on regexp version match. - # Accounts for tests which do not exist - # in later Juju versions. - - condition-kind: not - condition-operand: - condition-kind: regex-match - regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" - label: "${{JUJU_VERSION}}" - # Only run on regexp version match. - # Accounts for tests which do not exist - # until a given Juju version. - - condition-kind: regex-match - regex: "^[4-9].*|^3\\.([6-9]|\\d{{2,}})(\\.|-).*" - label: "${{JUJU_VERSION}}" + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[4-9].*|^3\\.([6-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" on-evaluation-failure: "dont-run" steps: - run-integration-test: diff --git a/jobs/ci-run/integration/gen/test-storage_k8s.yml b/jobs/ci-run/integration/gen/test-storage_k8s.yml index b37a1df..abd89f2 100644 --- a/jobs/ci-run/integration/gen/test-storage_k8s.yml +++ b/jobs/ci-run/integration/gen/test-storage_k8s.yml @@ -28,6 +28,46 @@ - multijob: name: 'IntegrationTests-storage_k8s' projects: + - name: 'test-storage_k8s-test-add-unit-attach-storage-aws' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-azure' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-google' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-lxd' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-microk8s' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-aws' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-azure' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-google' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-lxd' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-microk8s' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-duplicate-pvc-exists-aws' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-duplicate-pvc-exists-azure' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-duplicate-pvc-exists-google' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-duplicate-pvc-exists-lxd' + current-parameters: true + - name: 'test-storage_k8s-test-add-unit-duplicate-pvc-exists-microk8s' + current-parameters: true + - name: 'test-storage_k8s-test-deploy-attach-storage-aws' + current-parameters: true + - name: 'test-storage_k8s-test-deploy-attach-storage-azure' + current-parameters: true + - name: 'test-storage_k8s-test-deploy-attach-storage-google' + current-parameters: true + - name: 'test-storage_k8s-test-deploy-attach-storage-lxd' + current-parameters: true + - name: 'test-storage_k8s-test-deploy-attach-storage-microk8s' + current-parameters: true - name: 'test-storage_k8s-test-force-import-filesystem-aws' current-parameters: true - name: 'test-storage_k8s-test-force-import-filesystem-azure' @@ -49,6 +89,1354 @@ - name: 'test-storage_k8s-test-import-filesystem-microk8s' current-parameters: true +- job: + name: test-storage_k8s-test-add-unit-attach-storage-aws + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage in storage_k8s suite on aws + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'aws' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'ec2' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east-1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage' + skip_tasks: 'test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-azure + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage in storage_k8s suite on azure + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'azure' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'azure' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'eastus' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage' + skip_tasks: 'test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-google + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage in storage_k8s suite on google + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'google' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'gce' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage' + skip_tasks: 'test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-lxd + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage in storage_k8s suite on lxd + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'localhost' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'lxd' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage' + skip_tasks: 'test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-microk8s + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage in storage_k8s suite on microk8s + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'microk8s' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'k8s' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test-microk8s: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage' + skip_tasks: 'test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-aws + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage_scaling_race_condition in storage_k8s suite on aws + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'aws' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'ec2' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east-1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage_scaling_race_condition' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-azure + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage_scaling_race_condition in storage_k8s suite on azure + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'azure' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'azure' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'eastus' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage_scaling_race_condition' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-google + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage_scaling_race_condition in storage_k8s suite on google + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'google' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'gce' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage_scaling_race_condition' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-lxd + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage_scaling_race_condition in storage_k8s suite on lxd + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'localhost' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'lxd' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage_scaling_race_condition' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-attach-storage-scaling-race-condition-microk8s + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_add_unit_attach_storage_scaling_race_condition in storage_k8s suite on microk8s + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'microk8s' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'k8s' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test-microk8s: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_attach_storage_scaling_race_condition' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-duplicate-pvc-exists-aws + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_duplicate_pvc_exists in storage_k8s suite on aws + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'aws' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'ec2' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east-1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_duplicate_pvc_exists' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-duplicate-pvc-exists-azure + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_duplicate_pvc_exists in storage_k8s suite on azure + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'azure' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'azure' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'eastus' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_duplicate_pvc_exists' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-duplicate-pvc-exists-google + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_add_unit_duplicate_pvc_exists in storage_k8s suite on google + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'google' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'gce' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_duplicate_pvc_exists' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-duplicate-pvc-exists-lxd + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_add_unit_duplicate_pvc_exists in storage_k8s suite on lxd + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'localhost' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'lxd' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_duplicate_pvc_exists' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-add-unit-duplicate-pvc-exists-microk8s + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_add_unit_duplicate_pvc_exists in storage_k8s suite on microk8s + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'microk8s' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'k8s' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test-microk8s: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_add_unit_duplicate_pvc_exists' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_deploy_attach_storage,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-deploy-attach-storage-aws + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_deploy_attach_storage in storage_k8s suite on aws + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'aws' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'ec2' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east-1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_deploy_attach_storage' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-deploy-attach-storage-azure + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_deploy_attach_storage in storage_k8s suite on azure + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'azure' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'azure' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'eastus' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_deploy_attach_storage' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-deploy-attach-storage-google + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_deploy_attach_storage in storage_k8s suite on google + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'google' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'gce' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_deploy_attach_storage' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-deploy-attach-storage-lxd + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_deploy_attach_storage in storage_k8s suite on lxd + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'localhost' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'lxd' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_deploy_attach_storage' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + +- job: + name: test-storage_k8s-test-deploy-attach-storage-microk8s + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_deploy_attach_storage in storage_k8s suite on microk8s + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'microk8s' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'k8s' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - run-integration-test-microk8s: + test_name: 'storage_k8s' + setup_steps: '' + task_name: 'test_deploy_attach_storage' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_force_import_filesystem,test_import_filesystem' + publishers: + - integration-artifacts + - job: name: test-storage_k8s-test-force-import-filesystem-aws node: ephemeral-noble-small-amd64 @@ -114,7 +1502,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_force_import_filesystem' - skip_tasks: 'test_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_import_filesystem' publishers: - integration-artifacts @@ -183,7 +1571,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_force_import_filesystem' - skip_tasks: 'test_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_import_filesystem' publishers: - integration-artifacts @@ -252,7 +1640,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_force_import_filesystem' - skip_tasks: 'test_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_import_filesystem' publishers: - integration-artifacts @@ -317,7 +1705,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_force_import_filesystem' - skip_tasks: 'test_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_import_filesystem' publishers: - integration-artifacts @@ -382,7 +1770,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_force_import_filesystem' - skip_tasks: 'test_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_import_filesystem' publishers: - integration-artifacts @@ -451,7 +1839,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_import_filesystem' - skip_tasks: 'test_force_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem' publishers: - integration-artifacts @@ -520,7 +1908,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_import_filesystem' - skip_tasks: 'test_force_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem' publishers: - integration-artifacts @@ -589,7 +1977,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_import_filesystem' - skip_tasks: 'test_force_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem' publishers: - integration-artifacts @@ -654,7 +2042,7 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_import_filesystem' - skip_tasks: 'test_force_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem' publishers: - integration-artifacts @@ -719,6 +2107,6 @@ test_name: 'storage_k8s' setup_steps: '' task_name: 'test_import_filesystem' - skip_tasks: 'test_force_import_filesystem' + skip_tasks: 'test_add_unit_attach_storage,test_add_unit_attach_storage_scaling_race_condition,test_add_unit_duplicate_pvc_exists,test_deploy_attach_storage,test_force_import_filesystem' publishers: - integration-artifacts diff --git a/jobs/ci-run/integration/gen/test-unmanaged.yml b/jobs/ci-run/integration/gen/test-unmanaged.yml new file mode 100644 index 0000000..ef20c69 --- /dev/null +++ b/jobs/ci-run/integration/gen/test-unmanaged.yml @@ -0,0 +1,814 @@ + + +# Code generated by gen-wire-tests. DO NOT EDIT. +- job: + name: 'test-unmanaged-multijob' + project-type: 'multijob' + description: |- + Test unmanaged Suite + condition: SUCCESSFUL + node: noop-parent-jobs + concurrent: true + wrappers: + - ansicolor + - workspace-cleanup + - timestamps + parameters: + - string: + default: '' + description: 'Enable sub job to be run individually.' + name: SHORT_GIT_COMMIT + - string: + default: '' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + builders: + - get-s3-build-details + - set-test-description + - multijob: + name: 'IntegrationTests-unmanaged' + projects: + - name: 'test-unmanaged-test-deploy-unmanaged-aws' + current-parameters: true + - name: 'test-unmanaged-test-deploy-unmanaged-azure' + current-parameters: true + - name: 'test-unmanaged-test-deploy-unmanaged-google' + current-parameters: true + - name: 'test-unmanaged-test-deploy-unmanaged-lxd' + current-parameters: true + - name: 'test-unmanaged-test-deploy-unmanaged-microk8s' + current-parameters: true + - name: 'test-unmanaged-test-spaces-unmanaged-aws' + current-parameters: true + - name: 'test-unmanaged-test-spaces-unmanaged-azure' + current-parameters: true + - name: 'test-unmanaged-test-spaces-unmanaged-google' + current-parameters: true + - name: 'test-unmanaged-test-spaces-unmanaged-lxd' + current-parameters: true + - name: 'test-unmanaged-test-spaces-unmanaged-microk8s' + current-parameters: true + +- job: + name: test-unmanaged-test-deploy-unmanaged-aws + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_deploy_unmanaged in unmanaged suite on aws + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'aws' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'ec2' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east-1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_deploy_unmanaged' + skip_tasks: 'test_spaces_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-deploy-unmanaged-azure + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_deploy_unmanaged in unmanaged suite on azure + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'azure' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'azure' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'eastus' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_deploy_unmanaged' + skip_tasks: 'test_spaces_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-deploy-unmanaged-google + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_deploy_unmanaged in unmanaged suite on google + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'google' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'gce' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_deploy_unmanaged' + skip_tasks: 'test_spaces_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-deploy-unmanaged-lxd + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_deploy_unmanaged in unmanaged suite on lxd + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'localhost' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'lxd' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_deploy_unmanaged' + skip_tasks: 'test_spaces_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-deploy-unmanaged-microk8s + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_deploy_unmanaged in unmanaged suite on microk8s + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'microk8s' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'k8s' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test-microk8s: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_deploy_unmanaged' + skip_tasks: 'test_spaces_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-spaces-unmanaged-aws + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_spaces_unmanaged in unmanaged suite on aws + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'aws' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'ec2' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east-1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_spaces_unmanaged' + skip_tasks: 'test_deploy_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-spaces-unmanaged-azure + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_spaces_unmanaged in unmanaged suite on azure + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'azure' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'azure' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'eastus' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_spaces_unmanaged' + skip_tasks: 'test_deploy_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-spaces-unmanaged-google + node: ephemeral-noble-small-amd64 + concurrent: true + description: |- + Test test_spaces_unmanaged in unmanaged suite on google + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'google' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'gce' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + - string: + default: 'us-east1' + description: 'Cloud Region to use when bootstrapping Juju' + name: BOOTSTRAP_REGION + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_spaces_unmanaged' + skip_tasks: 'test_deploy_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-spaces-unmanaged-lxd + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_spaces_unmanaged in unmanaged suite on lxd + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'localhost' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'lxd' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_spaces_unmanaged' + skip_tasks: 'test_deploy_unmanaged' + publishers: + - integration-artifacts + +- job: + name: test-unmanaged-test-spaces-unmanaged-microk8s + node: ephemeral-noble-8c-32g-amd64 + concurrent: true + description: |- + Test test_spaces_unmanaged in unmanaged suite on microk8s + parameters: + - validating-string: + name: SHORT_GIT_COMMIT + description: 'Enable sub job to be run individually.' + regex: ^\S{{7}}$ + msg: Enter a valid 7 char git sha + - choice: + default: 'amd64' + description: 'Build arch used to download the build tar.gz.' + name: BUILD_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used to boostrap controller.' + name: BOOTSTRAP_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - choice: + default: '' + description: 'Arch used for hosted models.' + name: MODEL_ARCH + choices: + - amd64 + - arm64 + - s390x + - ppc64el + - string: + default: 'microk8s' + description: 'Cloud to use when bootstrapping Juju' + name: BOOTSTRAP_CLOUD + - string: + default: 'k8s' + description: 'Provider to use when bootstrapping Juju' + name: BOOTSTRAP_PROVIDER + wrappers: + - default-integration-test-wrapper + - timeout: + timeout: 30 + fail: true + type: absolute + builders: + - common + - select-oci-registry + - prepare-integration-test + - conditional-step: + # Only run on regexp version match. + # Accounts for tests which do not exist + # until a given Juju version. + condition-kind: regex-match + regex: "^[5-9].*|^4\\.([0-9]|\\d{{2,}})(\\.|-).*" + label: "${{JUJU_VERSION}}" + on-evaluation-failure: "dont-run" + steps: + - run-integration-test-microk8s: + test_name: 'unmanaged' + setup_steps: '' + task_name: 'test_spaces_unmanaged' + skip_tasks: 'test_deploy_unmanaged' + publishers: + - integration-artifacts diff --git a/jobs/ci-run/integration/integrationtests.yml b/jobs/ci-run/integration/integrationtests.yml index 1245929..1a21ad6 100644 --- a/jobs/ci-run/integration/integrationtests.yml +++ b/jobs/ci-run/integration/integrationtests.yml @@ -174,6 +174,10 @@ current-parameters: true predefined-parameters: |- BUILD_ARCH=amd64 + - name: "test-smoke_k8s_psql-multijob" + current-parameters: true + predefined-parameters: |- + BUILD_ARCH=amd64 - name: "test-spaces_ec2-multijob" current-parameters: true predefined-parameters: |- @@ -194,6 +198,10 @@ current-parameters: true predefined-parameters: |- BUILD_ARCH=amd64 + - name: "test-unmanaged-multijob" + current-parameters: true + predefined-parameters: |- + BUILD_ARCH=amd64 - name: "test-upgrade-multijob" current-parameters: true predefined-parameters: |- diff --git a/tools/gen-wire-tests/juju.config b/tools/gen-wire-tests/juju.config index bb4a0a2..dde6033 100644 --- a/tools/gen-wire-tests/juju.config +++ b/tools/gen-wire-tests/juju.config @@ -2,6 +2,8 @@ folders: removed: deploy-test_deploy_os: 4.0 + manual: + 4.0 introduced: test_relation_model_get: 3.6 @@ -59,10 +61,14 @@ folders: 4.0 smoke_k8s-test_deploy: 4.0 + smoke_k8s_psql: + 4.0 test_bootstrap_authorized_keys: 4.0 test_migrate_authorized_keys: 4.0 + unmanaged: + 4.0 timeout: cloud_azure: test_managed_identity: 60 @@ -103,6 +109,7 @@ folders: - storage - secrets_k8s - smoke_k8s + - smoke_k8s_psql - kubeflow skip-aws: - bootstrap @@ -121,6 +128,7 @@ folders: - secrets_iaas - secrets_k8s - smoke_k8s + - smoke_k8s_psql - spaces_gce - kubeflow skip-google: @@ -153,6 +161,7 @@ folders: - sidecar - smoke - smoke_k8s + - smoke_k8s_psql - spaces_ec2 - storage - unit @@ -195,6 +204,7 @@ folders: - sidecar - smoke - smoke_k8s + - smoke_k8s_psql - spaces_ec2 - spaces_gce - storage