launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #31718
[Merge] ~lgp171188/launchpad-mojo-specs/+git/private:add-arm64-gpu-builders-bos03-qastaging into ~launchpad/launchpad-mojo-specs/+git/private:vbuilder
Guruprasad has proposed merging ~lgp171188/launchpad-mojo-specs/+git/private:add-arm64-gpu-builders-bos03-qastaging into ~launchpad/launchpad-mojo-specs/+git/private:vbuilder.
Commit message:
vbuilder: Add initial applications and config for bos03 arm64 gpu builders in qastaging
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~lgp171188/launchpad-mojo-specs/+git/private/+merge/475295
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/launchpad-mojo-specs/+git/private:add-arm64-gpu-builders-bos03-qastaging into ~launchpad/launchpad-mojo-specs/+git/private:vbuilder.
diff --git a/vbuilder/bundle.yaml b/vbuilder/bundle.yaml
index 72991cf..4d32d96 100644
--- a/vbuilder/bundle.yaml
+++ b/vbuilder/bundle.yaml
@@ -248,6 +248,25 @@ applications:
region: scalingstack-bos03
use_swift: false
visibility: private
+{%- if stage_name == "qastaging" %}
+ glance-simplestreams-sync-bos03-arm64-gpu:
+ charm: {{ charm_dir }}/glance-simplestreams-sync
+ constraints: "{{ extra_constraints }}"
+ num_units: 1
+ options:
+ content_id_template: "{{ content_id_template }}:gpu"
+ custom_properties: "hypervisor_type=kvm hw_firmware_type=uefi"
+ mirror_list: |-
+ [{url: "http://cloud-images.ubuntu.com/daily/", name_prefix: "ubuntu:released", path: "streams/v1/index.sjson", max: 3, item_filters: ["release~({{ gss_series }})", "arch~(arm64|aarch64)", "ftype~(disk1.img|disk.img)"]}]
+ name_prefix: "{{ name_prefix }}-gpu/"
+ openstack-auth-url: "https://keystone.ps6.canonical.com:5000/v3"
+ openstack-identity-api-version: "3"
+ openstack-tenant-name: "{{ openstack_tenant_name_bos03 }}"
+ openstack-username: "{{ openstack_username_bos03 }}"
+ region: scalingstack-bos03
+ use_swift: false
+ visibility: private
+{%- endif %}
{%- if stage_name in ("production", "qastaging") %}
glance-simplestreams-sync-bos03-riscv64:
charm: {{ charm_dir }}/glance-simplestreams-sync
@@ -372,6 +391,18 @@ applications:
remote-modifiers: '{{ modifiers_bos03 }}'
remote-modifier-private-key: include-base64://{{ local_dir }}/id_rsa.imagebuilder
remote-modifier-public-key: include-base64://{{ local_dir }}/id_rsa.imagebuilder.pub
+{%- if stage_name == "qastaging" %}
+ launchpad-buildd-image-modifier-bos03-arm64-gpu:
+ charm: {{ charm_dir }}/launchpad-buildd-image-modifier
+ options:
+ clamav-database-url: "{{ clamav_database_url }}"
+ extra-packages: "nvidia-headless-525-server nvidia-utils-525-server"
+ launchpad-buildd-repository: "{{ launchpad_buildd_repository }}"
+ linux-command-line-extra: "systemd.unified_cgroup_hierarchy=false compat_uts_machine=armv7l"
+ remote-modifiers: '{{ modifiers_bos01 }}'
+ remote-modifier-private-key: include-base64://{{ local_dir }}/id_rsa.imagebuilder
+ remote-modifier-public-key: include-base64://{{ local_dir }}/id_rsa.imagebuilder.pub
+{%- endif %}
{%- if stage_name in ("production", "qastaging") %}
launchpad-buildd-image-modifier-bos03-riscv64:
charm: {{ charm_dir }}/launchpad-buildd-image-modifier
@@ -504,6 +535,9 @@ relations:
- ["glance-simplestreams-sync-bos03-amd64:image-modifier", "launchpad-buildd-image-modifier-bos03-amd64:image-modifier"]
- ["glance-simplestreams-sync-bos03-amd64-gpu:image-modifier", "launchpad-buildd-image-modifier-bos03-amd64-gpu:image-modifier"]
- ["glance-simplestreams-sync-bos03-arm64:image-modifier", "launchpad-buildd-image-modifier-bos03-arm64:image-modifier"]
+{%- if stage_name == "qastaging" %}
+ - ["glance-simplestreams-sync-bos03-arm64-gpu:image-modifier", "launchpad-buildd-image-modifier-bos03-arm-gpu:image-modifier"]
+{%- endif %}
{%- if stage_name in ("production", "qastaging") %}
- ["glance-simplestreams-sync-bos03-riscv64:image-modifier", "launchpad-buildd-image-modifier-bos03-riscv64:image-modifier"]
{%- endif %}
@@ -519,6 +553,9 @@ relations:
- ["glance-simplestreams-sync-bos03-amd64", "ntp"]
- ["glance-simplestreams-sync-bos03-amd64-gpu", "ntp"]
- ["glance-simplestreams-sync-bos03-arm64", "ntp"]
+{%- if stage_name == "qastaging" %}
+ - ["glance-simplestreams-sync-bos03-arm64-gpu", "ntp"]
+{%- endif %}
{%- if stage_name in ("production", "qastaging") %}
- ["glance-simplestreams-sync-bos03-riscv64", "ntp"]
{%- endif %}
diff --git a/vbuilder/rebuild-images b/vbuilder/rebuild-images
index 3e627aa..10e91d7 100755
--- a/vbuilder/rebuild-images
+++ b/vbuilder/rebuild-images
@@ -18,6 +18,7 @@ targets_by_stage = {
("bos03", "amd64", "noble"),
("bos03", "amd64-gpu", "focal"),
("bos03", "arm64", "noble"),
+ ("bos03", "arm64-gpu", "focal"),
("bos03", "ppc64el", "focal"),
("bos03", "riscv64", "noble"),
("bos03", "s390x", "focal"),
diff --git a/vbuilder/upgrade-charms b/vbuilder/upgrade-charms
index c4f7b5a..ea4c955 100755
--- a/vbuilder/upgrade-charms
+++ b/vbuilder/upgrade-charms
@@ -13,6 +13,7 @@ targets_by_stage = {
("bos03", "amd64"),
("bos03", "amd64-gpu"),
("bos03", "arm64"),
+ ("bos03", "arm64-gpu"),
("bos03", "ppc64el"),
("bos03", "riscv64"),
("bos03", "s390x"),
Follow ups