Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix unsafe conditional #332

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
- vm_created.record.0.disks.2.type == "ide_cdrom"
- vm_created.record.0.disks.2.disk_slot == 1
# VM with "uuid": "e640e784-606f-4b96-9de2-31970e0a13e8" has ISO with "iso_name": "cloud-init-e640e784.iso"
- '"{{ vm_created.record.0.disks.2.iso_name }}" == "cloud-init-{{ (vm_created.record.0.uuid | split("-")) [0] }}.iso"'
- vm_created.record.0.disks.2.iso_name == "cloud-init-" + (vm_created.record.0.uuid | split("-") | first) + ".iso"
- vm_created.record.0.disks.1.type == "ide_cdrom"
- vm_created.record.0.disks.1.disk_slot == 0
- vm_created.record.0.disks.1.iso_name == ""
Expand Down Expand Up @@ -135,7 +135,7 @@
- vm_created_2.record.0.nics.1.type == "virtio"
- vm_created_2.record.0.disks.2.type == "ide_cdrom"
- vm_created_2.record.0.disks.2.disk_slot == 1
- '"{{ vm_created_2.record.0.disks.2.iso_name }}" == "cloud-init-{{ (vm_created_2.record.0.uuid | split("-")) [0] }}.iso"'
- vm_created_2.record.0.disks.2.iso_name == "cloud-init-" + (vm_created_2.record.0.uuid | split("-") | first) + ".iso"
- vm_created_2.record.0.disks.1.type == "ide_cdrom"
- vm_created_2.record.0.disks.1.disk_slot == 0
- vm_created_2.record.0.disks.1.iso_name == ""
Expand Down Expand Up @@ -170,7 +170,7 @@
- vm_created.record.0.nics.1.type == "virtio"
- vm_created.record.0.disks.2.type == "ide_cdrom" # This stays, module logic should recognize this is cloud_init IDE from the disk name.
- vm_created.record.0.disks.2.disk_slot == 1
- '"{{ vm_created.record.0.disks.2.iso_name }}" == "cloud-init-{{ (vm_created.record.0.uuid | split("-")) [0] }}.iso"'
- vm_created.record.0.disks.2.iso_name == "cloud-init-" + (vm_created.record.0.uuid | split("-") | first) + ".iso"
- vm_created.record.0.disks.1.type == "ide_cdrom"
- vm_created.record.0.disks.1.disk_slot == 0
- vm_created.record.0.disks.1.iso_name == ""
Expand Down Expand Up @@ -230,7 +230,7 @@
- vm_created.record.0.nics.1.type == "virtio"
- vm_created.record.0.disks.2.type == "ide_cdrom"
- vm_created.record.0.disks.2.disk_slot == 1
- '"{{ vm_created.record.0.disks.2.iso_name }}" == "cloud-init-{{ (vm_created.record.0.uuid | split("-")) [0] }}.iso"'
- vm_created.record.0.disks.2.iso_name == "cloud-init-" + (vm_created.record.0.uuid | split("-") | first) + ".iso"
- vm_created.record.0.disks.1.type == "ide_cdrom"
- vm_created.record.0.disks.1.disk_slot == 0
- vm_created.record.0.disks.1.iso_name == ""
Expand Down Expand Up @@ -264,7 +264,7 @@
- vm_created_2.record.0.nics.1.type == "virtio"
- vm_created_2.record.0.disks.2.type == "ide_cdrom"
- vm_created_2.record.0.disks.2.disk_slot == 1
- '"{{ vm_created_2.record.0.disks.2.iso_name }}" == "cloud-init-{{ (vm_created_2.record.0.uuid | split("-")) [0] }}.iso"'
- vm_created_2.record.0.disks.2.iso_name == "cloud-init-" + (vm_created_2.record.0.uuid | split("-") | first) + ".iso"
- vm_created_2.record.0.disks.1.type == "ide_cdrom"
- vm_created_2.record.0.disks.1.disk_slot == 0
- vm_created_2.record.0.disks.1.iso_name == ""
Expand Down Expand Up @@ -324,7 +324,7 @@
- vm_created_2.record.0.nics.1.type == "virtio"
- vm_created_2.record.0.disks.2.type == "ide_cdrom"
- vm_created_2.record.0.disks.2.disk_slot == 1
- '"{{ vm_created_2.record.0.disks.2.iso_name }}" == "cloud-init-{{ (vm_created_2.record.0.uuid | split("-")) [0] }}.iso"'
- vm_created_2.record.0.disks.2.iso_name == "cloud-init-" + (vm_created_2.record.0.uuid | split("-") | first) + ".iso"
- vm_created_2.record.0.disks.1.type == "ide_cdrom"
- vm_created_2.record.0.disks.1.disk_slot == 0
- vm_created_2.record.0.disks.1.iso_name == ""
Expand Down
Loading