Commit Graph

363 Commits

Author SHA1 Message Date
Louis Abel 79682d0e98
os is missing from initial lorax variant 2022-07-03 21:14:33 -07:00
Louis Abel b9037585c7
move treeinfo writing to Shared 2022-07-03 21:01:19 -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
Louis Abel 957bf5ef3f
change comments briefly before merging changes 2022-07-03 14:08:59 -07:00
Louis Abel 462ea264b3
add finalize script to mix 2022-07-03 00:22:00 -07:00
Louis Abel c081f6f202
test out parts of finalize 2022-07-03 00:19:13 -07:00
Louis Abel 2884bb0eaa
Fix source and debuginfo portions 2022-07-01 14:16:14 -07:00
Louis Abel 412a7ab089
add json and yaml components 2022-07-01 13:28:24 -07:00
Louis Abel e47ca962af
missing write function for compose_id 2022-07-01 13:13:00 -07:00
Louis Abel c1f1be9353
Remove hardcodes, add in metadata
* Remove hardcodes of "Rocky" to use "shortname" instead
* Add in metadata
2022-07-01 13:09:52 -07:00
Louis Abel 4bc377cd44
Attempt to resolve RLBT#0000133 2022-06-30 15:38:50 -07:00
Louis Abel 7f6f7babf5
Attempt to resolve RLBT#0000133 2022-06-30 13:14:27 -07:00
Louis Abel 2c3409de51
treeinfo is not writing to paths 2022-06-30 03:06:29 -07:00
Louis Abel 49b001e31d
Resolve RLBT#0000132 discinfo and treeinfo 2022-06-30 01:45:08 -07:00
Louis Abel 5a02fe5a25
Resolve RLBT#0000132 discinfo and treeinfo 2022-06-30 01:43:14 -07:00
Louis Abel 4922e283d6
add a sudo test 2022-06-29 21:49:12 -07:00
Louis Abel 1d710a6d42
fix up IPA portion 2022-06-29 21:27:50 -07:00
Louis Abel 1acca22141
make kinit as admin simpler 2022-06-29 20:45:58 -07:00
Louis Abel 2e38400255
expect is missing from install 2022-06-29 20:39:13 -07:00
Louis Abel 69317f3881
make IPA tests runnable, lamp disabled for now 2022-06-29 20:36:59 -07:00
Louis Abel 1a04399851
fix up readme, disable gitlab tests for now 2022-06-28 12:41:12 -07:00
Louis Abel f342046f25
test should use && 2022-06-28 10:08:17 -07:00
Neil Hanlon f65a331826
remove jinja types 2022-06-28 11:19:58 -04:00
Louis Abel 7d7163a156
prepping treeinfo outside 2022-06-28 07:49:28 -07:00
Neil Hanlon 760967211b
Update the image tag 2022-06-28 10:10:30 -04:00
Neil Hanlon 710cb08134
update github workflow to build image in the right namespace 2022-06-28 10:04:23 -04:00
Neil Hanlon 0deaae0c65
update github workflow to build image in the right namespace 2022-06-28 09:39:01 -04:00
Neil Hanlon 56799df270 Merge branch 'feature/imagebuild' into 'devel'
Run builds in a container

See merge request release-engineering/public/toolkit!46
2022-06-28 13:34:36 +00:00
Neil Hanlon 79425e848e
Use devel branch for container, doc fixes 2022-06-28 09:33:48 -04:00
Neil Hanlon e60f6524a2
Implement a feature to assist in generating various images
* use a flag to determine if we want an RC or not
* Convert rldict and sigdict to an AttributeDict to allow access via
  __getattr__
* add fedora_release variable to configs for controlling icicle
  templates
* build_image.py script to generate per-architecture XML files used by
  imagefactory
* refactor time to call utcnow() once
* add jinja types to development dependencies until we move past jinja
  2.x
* Generate TDL templates per architecture for each image variant on
  demand
* Generate imagefactory and copy commands to execute image build
* Refactor Kubernetes job template to be generic for all current jobs
2022-06-28 09:33:15 -04:00
Neil Hanlon 4bf6fb6618
Implement a feature to assist in generating various images
* use a flag to determine if we want an RC or not
* Convert rldict and sigdict to an AttributeDict to allow access via
  __getattr__
* add fedora_release variable to configs for controlling icicle
  templates
* build_image.py script to generate per-architecture XML files used by
  imagefactory
* refactor time to call utcnow() once
* add jinja types to development dependencies until we move past jinja
  2.x
* Generate TDL templates per architecture for each image variant on
  demand
* Generate imagefactory and copy commands to execute image build
* Refactor Kubernetes job template to be generic for all current jobs
2022-06-28 09:33:13 -04:00
Louis Abel 190e1b4b22 Merge branch 'devel' into 'main'
Sync into Main

See merge request release-engineering/public/toolkit!47
2022-06-28 01:38:26 +00:00
Louis Abel 6fc01c8590
change RC notes 2022-06-27 18:35:11 -07:00
Louis Abel f4f29d97cc
Expand and Generalize ISO Functions
* Utils is now empanadas.util.Shared
* Each config now has a profile name to determine latest-Rocky-{} link
  (Results RLBT#0000131)
* Check added to see if an ISO was built at some point, and forcefully
  exit if so
* Lorax tar ball should be in the format of of lorax-X.Y-ARCH to ensure
  there's no collisions between stable, beta, and lh builds
2022-06-27 17:59:21 -07:00
Louis Abel 57d51dadc7
initial boot images should have dvd in the volid 2022-06-27 03:39:11 -07:00
Louis Abel 1e043ee714
fix manifest and add checksum phase to podman 2022-06-27 02:06:01 -07:00
Louis Abel 7d9f222fe9
end argument missing 2022-06-27 01:18:57 -07:00
Louis Abel 5ca80da56d
wrong path was being used for grafts 2022-06-27 01:13:12 -07:00
Louis Abel e7386c2f6f
xorr conf blank? 2022-06-27 01:01:36 -07:00
Louis Abel cd16cf78f4
fix dialog error 2022-06-27 00:50:41 -07:00
Louis Abel 0ac1b0ba96
try logging some stuff 2022-06-27 00:40:28 -07:00
Louis Abel 6d239b48e9
remove templates for xorr 2022-06-27 00:29:45 -07:00
Louis Abel 8302604f7d
enable logs in general 2022-06-27 00:26:42 -07:00
Louis Abel 436caefcbd
turn on xorrisofs for 9 2022-06-27 00:07:39 -07:00
Louis Abel b262e6f0c5
fix list and fix packages 2022-06-26 23:51:08 -07:00
Louis Abel fce45f3a72
put in a hack for xorrisofs 2022-06-26 22:45:31 -07:00
Louis Abel 28facef12c
fix template for iso build 2022-06-26 22:05:24 -07:00
Louis Abel 37c0be3fd0
attempt to build ISO in both mock and podman 2022-06-26 21:29:55 -07:00