Page MenuHomeFreeBSD

Update Azure release bits
ClosedPublic

Authored by lwhsu on Feb 23 2020, 9:50 AM.
Tags
None
Referenced Files
F106132533: D23804.id75209.diff
Wed, Dec 25, 10:46 PM
F106131994: D23804.id68698.diff
Wed, Dec 25, 10:34 PM
F106130562: D23804.id95078.diff
Wed, Dec 25, 10:02 PM
F106101420: D23804.diff
Wed, Dec 25, 10:24 AM
Unknown Object (File)
Sat, Dec 21, 6:48 PM
Unknown Object (File)
Fri, Dec 20, 8:18 PM
Unknown Object (File)
Mon, Dec 16, 5:06 AM
Unknown Object (File)
Sat, Dec 14, 10:53 PM
Subscribers

Details

Summary

More documents will follow.

Update Azure release bits

Imports the changes for building official images on Azure Marketplace,
which fulfill the requirements of Azure and FreeBSD cloud images like
disk layout and UEFI for Gen2 VM, along with some minor improvements like
configurations to speed up booting.

Sponsored by:   The FreeBSD Foundation
Technical assistance from:  Microsoft

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

It's weird that I got Error parsing field "Reviewers": The objects you have listed include objects which do not exist (#releng). when updating this differential.

Remove sneaked debug code.

gjb added inline comments.
release/Makefile.azure
15

How does it get run automatically, then? Is there a .config directory or similar that can be extracted into the build chroot environment?

release/Makefile.azure
15

Yes, after doing az login (see target azure-do-login) the credential will be stored in ~/.azure

This is learnt from Makefile.gce, please let me know if there is a preferable way.

release/Makefile.azure
15

OK, thanks. (Note, I have not yet reviewed the rest of this. I plan to do so today.)

Fix the issues found in the closed tests.

I will take a look at this more closely once we are out of the 11.4 cycle.

release/tools/azure.conf
6

convention

Update to the version I used for 11.4-RELEASE

It turns out that there is actually no az login required to upload an image
or generate an access URL. Setting the access token in the config file is
enough, thus simply remove the azure-do-login target.

I think this version is good for review. The doc about how to use Microsoft
Partner Center to publish the image (VM offer) will be posted to here soon.

Update to codes for building 13.0-R image,
including some new requirements from Azure

release/Makefile.vm
178

This will be in a separated commit.

gjb added inline comments.
release/Makefile.vm
19

Please leave this change out for now, so there is time to do additional testing.

This revision is now accepted and ready to land.Oct 1 2021, 4:28 PM
This revision was automatically updated to reflect the committed changes.