Skip to content

Commit

Permalink
Merge pull request #202 from hpidcock/concurrent-jobs
Browse files Browse the repository at this point in the history
feat: allow arm/amd jobs to run concurrently
  • Loading branch information
hpidcock authored Nov 19, 2024
2 parents fb99ab0 + d3d3761 commit 4e40ea9
Show file tree
Hide file tree
Showing 45 changed files with 349 additions and 222 deletions.
4 changes: 4 additions & 0 deletions jobs/ci-run/integration/gen/test-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- job:
name: test-actions-test-actions-params-aws
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test actions suite on aws
parameters:
Expand Down Expand Up @@ -122,6 +123,7 @@
- job:
name: test-actions-test-actions-params-azure
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test actions suite on azure
parameters:
Expand Down Expand Up @@ -200,6 +202,7 @@
- job:
name: test-actions-test-actions-params-google
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test actions suite on google
parameters:
Expand Down Expand Up @@ -278,6 +281,7 @@
- job:
name: test-actions-test-actions-params-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test actions suite on lxd
parameters:
Expand Down
2 changes: 2 additions & 0 deletions jobs/ci-run/integration/gen/test-agents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
- job:
name: test-agents-test-charmrevisionupdater-aws
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test agents suite on aws
parameters:
Expand Down Expand Up @@ -112,6 +113,7 @@
- job:
name: test-agents-test-charmrevisionupdater-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test agents suite on lxd
parameters:
Expand Down
2 changes: 2 additions & 0 deletions jobs/ci-run/integration/gen/test-appdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
- job:
name: test-appdata-test-appdata-int-aws
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test appdata suite on aws
parameters:
Expand Down Expand Up @@ -112,6 +113,7 @@
- job:
name: test-appdata-test-appdata-int-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test appdata suite on lxd
parameters:
Expand Down
144 changes: 104 additions & 40 deletions jobs/ci-run/integration/gen/test-authorized_keys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
- job:
name: test-authorized_keys-test-bootstrap-authorized-keys-aws
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_bootstrap_authorized_keys in authorized_keys suite on aws
parameters:
Expand Down Expand Up @@ -146,6 +147,7 @@
- job:
name: test-authorized_keys-test-bootstrap-authorized-keys-azure
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_bootstrap_authorized_keys in authorized_keys suite on azure
parameters:
Expand Down Expand Up @@ -224,6 +226,7 @@
- job:
name: test-authorized_keys-test-bootstrap-authorized-keys-google
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_bootstrap_authorized_keys in authorized_keys suite on google
parameters:
Expand Down Expand Up @@ -302,6 +305,7 @@
- job:
name: test-authorized_keys-test-bootstrap-authorized-keys-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test test_bootstrap_authorized_keys in authorized_keys suite on lxd
parameters:
Expand Down Expand Up @@ -376,6 +380,7 @@
- job:
name: test-authorized_keys-test-machine-ssh-aws
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_machine_ssh in authorized_keys suite on aws
parameters:
Expand Down Expand Up @@ -437,17 +442,24 @@
- select-oci-registry
- wait-for-cloud-init
- prepare-integration-test
- run-integration-test:
test_name: 'authorized_keys'
setup_steps: ''
task_name: 'test_machine_ssh'
skip_tasks: 'test_bootstrap_authorized_keys,test_migrate_authorized_keys,test_user_ssh_keys'
- conditional-step:
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: 'authorized_keys'
setup_steps: ''
task_name: 'test_machine_ssh'
skip_tasks: 'test_bootstrap_authorized_keys,test_migrate_authorized_keys,test_user_ssh_keys'
publishers:
- integration-artifacts

- job:
name: test-authorized_keys-test-machine-ssh-azure
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_machine_ssh in authorized_keys suite on azure
parameters:
Expand Down Expand Up @@ -509,17 +521,24 @@
- select-oci-registry
- wait-for-cloud-init
- prepare-integration-test
- run-integration-test:
test_name: 'authorized_keys'
setup_steps: ''
task_name: 'test_machine_ssh'
skip_tasks: 'test_bootstrap_authorized_keys,test_migrate_authorized_keys,test_user_ssh_keys'
- conditional-step:
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: 'authorized_keys'
setup_steps: ''
task_name: 'test_machine_ssh'
skip_tasks: 'test_bootstrap_authorized_keys,test_migrate_authorized_keys,test_user_ssh_keys'
publishers:
- integration-artifacts

- job:
name: test-authorized_keys-test-machine-ssh-google
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_machine_ssh in authorized_keys suite on google
parameters:
Expand Down Expand Up @@ -581,17 +600,24 @@
- select-oci-registry
- wait-for-cloud-init
- prepare-integration-test
- run-integration-test:
test_name: 'authorized_keys'
setup_steps: ''
task_name: 'test_machine_ssh'
skip_tasks: 'test_bootstrap_authorized_keys,test_migrate_authorized_keys,test_user_ssh_keys'
- conditional-step:
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: 'authorized_keys'
setup_steps: ''
task_name: 'test_machine_ssh'
skip_tasks: 'test_bootstrap_authorized_keys,test_migrate_authorized_keys,test_user_ssh_keys'
publishers:
- integration-artifacts

- job:
name: test-authorized_keys-test-machine-ssh-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test test_machine_ssh in authorized_keys suite on lxd
parameters:
Expand Down Expand Up @@ -649,17 +675,24 @@
- select-oci-registry
- wait-for-cloud-init
- prepare-integration-test
- run-integration-test:
test_name: 'authorized_keys'
setup_steps: ''
task_name: 'test_machine_ssh'
skip_tasks: 'test_bootstrap_authorized_keys,test_migrate_authorized_keys,test_user_ssh_keys'
- conditional-step:
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: 'authorized_keys'
setup_steps: ''
task_name: 'test_machine_ssh'
skip_tasks: 'test_bootstrap_authorized_keys,test_migrate_authorized_keys,test_user_ssh_keys'
publishers:
- integration-artifacts

- job:
name: test-authorized_keys-test-migrate-authorized-keys-aws
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_migrate_authorized_keys in authorized_keys suite on aws
parameters:
Expand Down Expand Up @@ -738,6 +771,7 @@
- job:
name: test-authorized_keys-test-migrate-authorized-keys-azure
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_migrate_authorized_keys in authorized_keys suite on azure
parameters:
Expand Down Expand Up @@ -816,6 +850,7 @@
- job:
name: test-authorized_keys-test-migrate-authorized-keys-google
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_migrate_authorized_keys in authorized_keys suite on google
parameters:
Expand Down Expand Up @@ -894,6 +929,7 @@
- job:
name: test-authorized_keys-test-migrate-authorized-keys-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test test_migrate_authorized_keys in authorized_keys suite on lxd
parameters:
Expand Down Expand Up @@ -968,6 +1004,7 @@
- job:
name: test-authorized_keys-test-user-ssh-keys-aws
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_user_ssh_keys in authorized_keys suite on aws
parameters:
Expand Down Expand Up @@ -1029,17 +1066,24 @@
- select-oci-registry
- wait-for-cloud-init
- prepare-integration-test
- run-integration-test:
test_name: 'authorized_keys'
setup_steps: ''
task_name: 'test_user_ssh_keys'
skip_tasks: 'test_bootstrap_authorized_keys,test_machine_ssh,test_migrate_authorized_keys'
- conditional-step:
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: 'authorized_keys'
setup_steps: ''
task_name: 'test_user_ssh_keys'
skip_tasks: 'test_bootstrap_authorized_keys,test_machine_ssh,test_migrate_authorized_keys'
publishers:
- integration-artifacts

- job:
name: test-authorized_keys-test-user-ssh-keys-azure
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_user_ssh_keys in authorized_keys suite on azure
parameters:
Expand Down Expand Up @@ -1101,17 +1145,24 @@
- select-oci-registry
- wait-for-cloud-init
- prepare-integration-test
- run-integration-test:
test_name: 'authorized_keys'
setup_steps: ''
task_name: 'test_user_ssh_keys'
skip_tasks: 'test_bootstrap_authorized_keys,test_machine_ssh,test_migrate_authorized_keys'
- conditional-step:
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: 'authorized_keys'
setup_steps: ''
task_name: 'test_user_ssh_keys'
skip_tasks: 'test_bootstrap_authorized_keys,test_machine_ssh,test_migrate_authorized_keys'
publishers:
- integration-artifacts

- job:
name: test-authorized_keys-test-user-ssh-keys-google
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test test_user_ssh_keys in authorized_keys suite on google
parameters:
Expand Down Expand Up @@ -1173,17 +1224,24 @@
- select-oci-registry
- wait-for-cloud-init
- prepare-integration-test
- run-integration-test:
test_name: 'authorized_keys'
setup_steps: ''
task_name: 'test_user_ssh_keys'
skip_tasks: 'test_bootstrap_authorized_keys,test_machine_ssh,test_migrate_authorized_keys'
- conditional-step:
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: 'authorized_keys'
setup_steps: ''
task_name: 'test_user_ssh_keys'
skip_tasks: 'test_bootstrap_authorized_keys,test_machine_ssh,test_migrate_authorized_keys'
publishers:
- integration-artifacts

- job:
name: test-authorized_keys-test-user-ssh-keys-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test test_user_ssh_keys in authorized_keys suite on lxd
parameters:
Expand Down Expand Up @@ -1241,10 +1299,16 @@
- select-oci-registry
- wait-for-cloud-init
- prepare-integration-test
- run-integration-test:
test_name: 'authorized_keys'
setup_steps: ''
task_name: 'test_user_ssh_keys'
skip_tasks: 'test_bootstrap_authorized_keys,test_machine_ssh,test_migrate_authorized_keys'
- conditional-step:
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: 'authorized_keys'
setup_steps: ''
task_name: 'test_user_ssh_keys'
skip_tasks: 'test_bootstrap_authorized_keys,test_machine_ssh,test_migrate_authorized_keys'
publishers:
- integration-artifacts
2 changes: 2 additions & 0 deletions jobs/ci-run/integration/gen/test-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
- job:
name: test-backup-test-basic-backup-aws
node: ephemeral-noble-small-amd64
concurrent: true
description: |-
Test backup suite on aws
parameters:
Expand Down Expand Up @@ -112,6 +113,7 @@
- job:
name: test-backup-test-basic-backup-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test backup suite on lxd
parameters:
Expand Down
1 change: 1 addition & 0 deletions jobs/ci-run/integration/gen/test-bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- job:
name: test-bootstrap-test-bootstrap-simplestream-lxd
node: ephemeral-noble-8c-32g-amd64
concurrent: true
description: |-
Test bootstrap suite on lxd
parameters:
Expand Down
Loading

0 comments on commit 4e40ea9

Please sign in to comment.