-
Notifications
You must be signed in to change notification settings - Fork 40
Use .raw assets as HDD_1 #211
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
Conversation
af19221 to
cd50f6e
Compare
| ASSET_256=ALP-Bedrock.x86_64-0.1-Default-encrypted-Build2.2.raw.sha256 \ | ||
| BUILD=2.2 \ | ||
| CHECKSUM_ASSET_1=$(cut -b-64 /var/lib/openqa/factory/other/ALP-Bedrock.x86_64-0.1-Default-encrypted-Build2.2.raw.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \ | ||
| CHECKSUM_HDD_1=$(cut -b-64 /var/lib/openqa/factory/other/ALP-Bedrock.x86_64-0.1-Default-encrypted-Build2.2.raw.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the important change to review, the other files are just build number changes.
| DISTRI=alp \ | ||
| FLAVOR=Default-encrypted \ | ||
| FULLURL=1 \ | ||
| HDD_1=ALP-Bedrock.x86_64-0.1-Default-encrypted-Build2.2.raw \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will fix this error: https://openqa.opensuse.org/tests/3193166
where HDD_1 was missing.
| elif [[ $destiso =~ \.iso$ ]]; then | ||
| echo \" ''' + openqa_call_start_ex1(checksum, 'ISO') + '''\" | ||
| elif [[ $destiso =~ \.(hdd|qcow2|raw\.xz|raw\.gz|vhdx\.xz|vmdk\.xz)$ ]]; then | ||
| elif [[ $destiso =~ \.(hdd|qcow2|raw|raw\.xz|raw\.gz|vhdx\.xz|vmdk\.xz)$ ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the main feature change.
ALP produces a non-compressed RAW images for the encrypted flavor. Without this change, it's set as ASSET_1 instead of HDD_1: ASSET_1=ALP-Micro.x86_64-0.1-Default-encrypted-Build2.2.raw and the test fails: https://openqa.opensuse.org/tests/3193166
cd50f6e to
75f820f
Compare
ALP produces a non-compressed RAW images for the encrypted flavor. Without this change, it's set as ASSET_1 instead of
HDD_1: ASSET_1=ALP-Micro.x86_64-0.1-Default-encrypted-Build2.2.rawand the test fails:https://openqa.opensuse.org/tests/3193166
Follow up from #209