Commit Graph

156 Commits

Author SHA1 Message Date
Louis Abel 76012c8549
looking at the wrong place 2022-07-11 16:53:20 -07:00
Louis Abel 1ba76a849a
force build 2022-07-11 16:01:19 -07:00
Louis Abel cee688b2c2
should have used shortname for mock root 2022-07-11 15:54:03 -07:00
Louis Abel 9e4f89cf6d
should have used shortname for mock root 2022-07-11 15:33:33 -07:00
Louis Abel a3c5d33ae8
add justcopyit for live images 2022-07-11 15:12:50 -07:00
Louis Abel 520db534be
add justcopyit for live images 2022-07-11 15:12:41 -07:00
Louis Abel 30d1c317cd
seems to work with selinux on 2022-07-11 08:58:13 -07:00
Louis Abel 9568b0cbcb
add in live generation 2022-07-11 01:06:33 -07:00
Neil Hanlon 1f94680924
compress genericcloud and vagrant images by default
* add azure support
* use download.r.o url
2022-07-10 21:58:12 -04:00
Louis Abel 193c3f9b73
solve path join issue 2022-07-08 20:44:15 -07:00
Louis Abel 40b3af462d
add checksum combo for images 2022-07-08 14:41:06 -07:00
Louis Abel 5f2f3cae5b
properly loop live images 2022-07-08 14:33:14 -07:00
Neil Hanlon 007f571224
Fix path to containerized azure prep script 2022-07-08 17:31:30 -04:00
Neil Hanlon 3cccd03d55
Build azure images, too 2022-07-08 17:29:32 -04:00
Neil Hanlon 767362aceb
Various image building changes
* Add UBI container specification
* Change ouput path to simplify copying operations
* Install patches for imagefactory and fixed version of oz for RHEL in
  container
    * Please ignore the RPM in this repo for now...
* Add conversion steps for Vagrant, EC2 images
* Fix KSes if they have a $basearch variable by subtitution
* Add usefbx variable to ensure we have an output for debugging
2022-07-08 13:30:15 -04:00
Louis Abel a4ee9ecc02
images should be pulled based on format and name 2022-07-08 09:54:43 -07:00
Louis Abel 4c426ca1e3
add another temporary sync-to-X-X script 2022-07-08 02:22:58 -07:00
Louis Abel aaa89c74a4
begin live build configuration and move funcs to shared 2022-07-08 01:43:30 -07:00
Louis Abel 6880403c38
Revert back to RC2, there isn't an RC3
I really don't know why I switched it to RC3. Was it reflex? Was it my
inability to sleep? You be the judge.
2022-07-07 00:32:42 -07:00
Louis Abel 343fe053d9
logging wasn't ready 2022-07-06 23:57:38 -07:00
Louis Abel 8f9f2646b7
revert config and add repo name check 2022-07-06 23:56:19 -07:00
Louis Abel e9e37384ae
undo config name 2022-07-06 23:41:28 -07:00
Louis Abel 22184f30a4
put sed in right spot 2022-07-06 23:29:02 -07:00
Louis Abel d482019ca5
turn off all repos in container 2022-07-06 23:23:07 -07:00
Louis Abel 73f08780d9
correct comments, fix livemap configs 2022-07-06 07:44:37 -07:00
Louis Abel b54447571b
Modify all Configs and add image puller
* Add livemap and imagemap to configs
* Add cloud image puller to iso_utils (part 1)
* Simplify color logging (potential prep for colorlog)
2022-07-05 20:42:41 -07:00
Louis Abel 6946b737fc
Simplify colors and start fleshing out cloud image pulls 2022-07-05 14:47:38 -07:00
Louis Abel a7cf5db050
fix up if statement 2022-07-05 08:43:57 -07:00
Louis Abel cf13fb0a02
add missing ks treeinfo deploy 2022-07-05 08:04:46 -07:00
Louis Abel 1d5447b1fb
use actual logging now 2022-07-05 00:50:02 -07:00
Louis Abel 3aa640ec45
add generic exceptions 2022-07-05 00:26:49 -07:00
Louis Abel 138d1076f5
correct treeinfo for ks 2022-07-04 21:24:35 -07:00
Neil Hanlon 554937009e
Fixup container files 2022-07-04 21:17:02 -04:00
Neil Hanlon 8954987365
Remove fedora_release var, no longer needed 2022-07-04 17:55:46 -04:00
Neil Hanlon fe4daffb25
Changes for oz/imagefactory config naming 2022-07-04 16:35:58 -04:00
Louis Abel 1c90edaa70
fix readme and bump to RC2 2022-07-04 13:10:48 -07:00
Louis Abel b89ebe777a
Finish and resolve RLBT#0000134 2022-07-04 12:36:15 -07:00
Louis Abel 340a6a3377
add checksum combine for close out 2022-07-04 12:23:12 -07:00
Neil Hanlon 55abe763ef
Refactor Architecture class and fix names for output files 2022-07-04 14:44:20 -04:00
Louis Abel 04e7e1d164
Bump to 0.2.0
* Add metadata with README information
* Bump to 0.2.0
* Move more functions into shared
2022-07-04 11:32:10 -07:00
Neil Hanlon 7365ca6b06
various cleanup of image build script
* reorder imports
* pass cli arguments directly into class for simplification and
  segregation
* reorder class variables
* Some error checking to ensure we're writing what we want to
* Allow copy(upload?) step to be skipped
* properly consume stdout and stderr from popen to avoid exception when
  FD is closed but trying to be read by the subprocess_log function
2022-07-04 12:09:10 -04:00
Louis Abel d84a686102
add live root logic before sign off 2022-07-04 00:53:39 -07:00
Louis Abel b78c4a774d
reverse for loops 2022-07-03 23:50:08 -07:00
Louis Abel f308e87b15
add more logging 2022-07-03 23:42:35 -07:00
Louis Abel 93d6bae08c
missing logger 2022-07-03 23:35:03 -07:00
Louis Abel f9166541f4
add tweak treeinfo for dnf_utils 2022-07-03 23:27:49 -07:00
Louis Abel 79682d0e98
os is missing from initial lorax variant 2022-07-03 21:14:33 -07:00
Louis Abel 77178e9657
move treeinfo writing to Shared 2022-07-03 21:01:18 -07:00
Neil Hanlon 3cf47dd85c
remove final dependencies on results variable
* put logging code into runCmd method to reduce repeated code
2022-07-03 22:48:12 -04:00
Neil Hanlon 361c155481
Containerize and refactor image building
* Add new fedora container to run imagefactory
* Make architecture class from py attrs and make it raise exceptions
* Change build-image script to primarily invoke imagefactory directly. A
  second wrapper will be added to support running in kubernetes if
needed.
2022-07-03 22:29:35 -04:00