oracle upload script for releng tooling ready for review now.
- added portinstall for qemu-img, curl
- uses base tar, & flua instead of sed, 2 dependencies less
- uses qemu-tools to reduce build requirements
Differential D48382
release: add cloudware oracle targets to package and upload .oci files dch on Wed, Jan 8, 8:51 PM. Authored by Tags None Referenced Files
Details oracle upload script for releng tooling ready for review now.
This is how I use it. Needs the $ORACLE_PAR_URL to upload. # as root cd /usr/src export SRCCONF=/dev/null export SRC_ENV_CONF=/dev/null make -j2C buildworld TARGET_ARCH=amd64 TARGET=amd64 -s \ && make -j2C buildkernel TARGET_ARCH=amd64 TARGET=amd64 KERNCONF=GENERIC -s \ && cd ./release \ && -make TARGET_ARCH=amd64 TARGET=amd64 -j2C clean \ && make KERNCONF=GENERIC TARGET_ARCH=amd64 TARGET=amd64 \ WITH_CLOUDWARE=yes \ CLOUDWARE=ORACLE \ ORACLE_PAR_URL=$(vault read -field=url secret/releng/upload) \ -s clean cloudware-release cw-oracle-upload
Diff Detail
Event Timeline
Comment Actions switch to qemu-nox11 as tools flavor doesnt support zstd raw 9.0GiB vs zip at 6.0GiB and zstd at 1.6GiB
Comment Actions
amd64 images seem to boot fine Comment Actions Is this enough for including as a block comment in the Makefile outlining the process? # Overview: # # The base image is created by cloudware-release already. # Construct the custom OCI metdata, derived by exporting official OCI images. # It is architecture-specific but appears mostly stable over time. # Compress the raw image and place it in the same directory as the metadata. # Make a GNU format tarball of these files. # Upload the tarball to Oracle Cloud via a pre-approved curl URI, into # the FreeBSD Foundation's Oracle Cloud account. # # These images go into dch@ "re" bucket in us-ashburn-1 region, which # is mounted into the FreeBSD Foundation Oracle Marketplace account. # Once uploaded, a manual step is needed to import the images as local # custom images. These can then be tested within the us-ashburn-1 region. # Once tested, follow the manual Oracle Marketplace import process to # create a new FreeBSD version, attach the images, and initiate validation # by Oracle. This can take up to 5 working days. Once complete, a final # manual step is needed to make the currently private images, public. # Syncing to all sites should take 2-3 hours.
Comment Actions This looks reasonable to me, I think it's sensible to get this into the tree and iterate on it from there later, if necessary. |