|
28 | 28 | - multijob: |
29 | 29 | name: 'IntegrationTests-cloud_gce' |
30 | 30 | projects: |
| 31 | + - name: 'test-cloud_gce-test-create-storage-pool-google' |
| 32 | + current-parameters: true |
31 | 33 | - name: 'test-cloud_gce-test-deploy-gpu-instance-google' |
32 | 34 | current-parameters: true |
33 | 35 | - name: 'test-cloud_gce-test-pro-images-google' |
34 | 36 | current-parameters: true |
| 37 | + - name: 'test-cloud_gce-test-serviceaccount-credential-google' |
| 38 | + current-parameters: true |
| 39 | + |
| 40 | +- job: |
| 41 | + name: test-cloud_gce-test-create-storage-pool-google |
| 42 | + node: ephemeral-noble-small-amd64 |
| 43 | + concurrent: true |
| 44 | + description: |- |
| 45 | + Test test_create_storage_pool in cloud_gce suite on google |
| 46 | + parameters: |
| 47 | + - validating-string: |
| 48 | + name: SHORT_GIT_COMMIT |
| 49 | + description: 'Enable sub job to be run individually.' |
| 50 | + regex: ^\S{{7}}$ |
| 51 | + msg: Enter a valid 7 char git sha |
| 52 | + - choice: |
| 53 | + default: 'amd64' |
| 54 | + description: 'Build arch used to download the build tar.gz.' |
| 55 | + name: BUILD_ARCH |
| 56 | + choices: |
| 57 | + - amd64 |
| 58 | + - arm64 |
| 59 | + - s390x |
| 60 | + - ppc64el |
| 61 | + - choice: |
| 62 | + default: '' |
| 63 | + description: 'Arch used to boostrap controller.' |
| 64 | + name: BOOTSTRAP_ARCH |
| 65 | + choices: |
| 66 | + - amd64 |
| 67 | + - arm64 |
| 68 | + - s390x |
| 69 | + - ppc64el |
| 70 | + - choice: |
| 71 | + default: '' |
| 72 | + description: 'Arch used for hosted models.' |
| 73 | + name: MODEL_ARCH |
| 74 | + choices: |
| 75 | + - amd64 |
| 76 | + - arm64 |
| 77 | + - s390x |
| 78 | + - ppc64el |
| 79 | + - string: |
| 80 | + default: 'google' |
| 81 | + description: 'Cloud to use when bootstrapping Juju' |
| 82 | + name: BOOTSTRAP_CLOUD |
| 83 | + - string: |
| 84 | + default: 'gce' |
| 85 | + description: 'Provider to use when bootstrapping Juju' |
| 86 | + name: BOOTSTRAP_PROVIDER |
| 87 | + - string: |
| 88 | + default: 'us-east1' |
| 89 | + description: 'Cloud Region to use when bootstrapping Juju' |
| 90 | + name: BOOTSTRAP_REGION |
| 91 | + wrappers: |
| 92 | + - default-integration-test-wrapper |
| 93 | + - timeout: |
| 94 | + timeout: 30 |
| 95 | + fail: true |
| 96 | + type: absolute |
| 97 | + builders: |
| 98 | + - common |
| 99 | + - select-oci-registry |
| 100 | + - prepare-integration-test |
| 101 | + - conditional-step: |
| 102 | + # Only run on regexp version match. |
| 103 | + # Accounts for tests which do not exist |
| 104 | + # until a given Juju version. |
| 105 | + condition-kind: regex-match |
| 106 | + regex: "^[4-9].*|^3\\.([6-9]|\\d{{2,}})(\\.|-).*" |
| 107 | + label: "${{JUJU_VERSION}}" |
| 108 | + on-evaluation-failure: "dont-run" |
| 109 | + steps: |
| 110 | + - run-integration-test: |
| 111 | + test_name: 'cloud_gce' |
| 112 | + setup_steps: '' |
| 113 | + task_name: 'test_create_storage_pool' |
| 114 | + skip_tasks: 'test_deploy_gpu_instance,test_pro_images,test_serviceaccount_credential' |
| 115 | + publishers: |
| 116 | + - integration-artifacts |
35 | 117 |
|
36 | 118 | - job: |
37 | 119 | name: test-cloud_gce-test-deploy-gpu-instance-google |
|
107 | 189 | test_name: 'cloud_gce' |
108 | 190 | setup_steps: '' |
109 | 191 | task_name: 'test_deploy_gpu_instance' |
110 | | - skip_tasks: 'test_pro_images' |
| 192 | + skip_tasks: 'test_create_storage_pool,test_pro_images,test_serviceaccount_credential' |
111 | 193 | publishers: |
112 | 194 | - integration-artifacts |
113 | 195 |
|
|
176 | 258 | test_name: 'cloud_gce' |
177 | 259 | setup_steps: '' |
178 | 260 | task_name: 'test_pro_images' |
179 | | - skip_tasks: 'test_deploy_gpu_instance' |
| 261 | + skip_tasks: 'test_create_storage_pool,test_deploy_gpu_instance,test_serviceaccount_credential' |
| 262 | + publishers: |
| 263 | + - integration-artifacts |
| 264 | + |
| 265 | +- job: |
| 266 | + name: test-cloud_gce-test-serviceaccount-credential-google |
| 267 | + node: ephemeral-noble-small-amd64 |
| 268 | + concurrent: true |
| 269 | + description: |- |
| 270 | + Test test_serviceaccount_credential in cloud_gce suite on google |
| 271 | + parameters: |
| 272 | + - validating-string: |
| 273 | + name: SHORT_GIT_COMMIT |
| 274 | + description: 'Enable sub job to be run individually.' |
| 275 | + regex: ^\S{{7}}$ |
| 276 | + msg: Enter a valid 7 char git sha |
| 277 | + - choice: |
| 278 | + default: 'amd64' |
| 279 | + description: 'Build arch used to download the build tar.gz.' |
| 280 | + name: BUILD_ARCH |
| 281 | + choices: |
| 282 | + - amd64 |
| 283 | + - arm64 |
| 284 | + - s390x |
| 285 | + - ppc64el |
| 286 | + - choice: |
| 287 | + default: '' |
| 288 | + description: 'Arch used to boostrap controller.' |
| 289 | + name: BOOTSTRAP_ARCH |
| 290 | + choices: |
| 291 | + - amd64 |
| 292 | + - arm64 |
| 293 | + - s390x |
| 294 | + - ppc64el |
| 295 | + - choice: |
| 296 | + default: '' |
| 297 | + description: 'Arch used for hosted models.' |
| 298 | + name: MODEL_ARCH |
| 299 | + choices: |
| 300 | + - amd64 |
| 301 | + - arm64 |
| 302 | + - s390x |
| 303 | + - ppc64el |
| 304 | + - string: |
| 305 | + default: 'google' |
| 306 | + description: 'Cloud to use when bootstrapping Juju' |
| 307 | + name: BOOTSTRAP_CLOUD |
| 308 | + - string: |
| 309 | + default: 'gce' |
| 310 | + description: 'Provider to use when bootstrapping Juju' |
| 311 | + name: BOOTSTRAP_PROVIDER |
| 312 | + - string: |
| 313 | + default: 'us-east1' |
| 314 | + description: 'Cloud Region to use when bootstrapping Juju' |
| 315 | + name: BOOTSTRAP_REGION |
| 316 | + wrappers: |
| 317 | + - default-integration-test-wrapper |
| 318 | + - timeout: |
| 319 | + timeout: 30 |
| 320 | + fail: true |
| 321 | + type: absolute |
| 322 | + builders: |
| 323 | + - common |
| 324 | + - select-oci-registry |
| 325 | + - prepare-integration-test |
| 326 | + - run-integration-test: |
| 327 | + test_name: 'cloud_gce' |
| 328 | + setup_steps: '' |
| 329 | + task_name: 'test_serviceaccount_credential' |
| 330 | + skip_tasks: 'test_create_storage_pool,test_deploy_gpu_instance,test_pro_images' |
180 | 331 | publishers: |
181 | 332 | - integration-artifacts |
0 commit comments