Commit Graph

54 Commits

Author SHA1 Message Date
Louis Abel 18b985cdcc
add delete old packages option 2022-08-03 23:07:47 -07:00
Louis Abel 126e44e48b
powerpc is PPC, everything else is LINUX 2022-07-30 09:48:48 -07:00
Louis Abel 045e07cf25
add system_id to xorriso template 2022-07-30 02:32:22 -07:00
Louis Abel 6c20ee5a43
Add needed features (0.4.0)
* Add --disable-gpg-check switch to sync scripts
* Add --disable-repo-gpg-check switch to sync scripts
* Add datestamp for future image use
2022-07-28 16:00:40 -07:00
Louis Abel e4018d11d7
add sig syncs 2022-07-25 18:03:07 -07:00
Louis Abel e337d723c9
deploy gpg key with sig 2022-07-25 16:46:53 -07:00
Louis Abel c73d52d42b
755 is sufficient enough 2022-07-25 03:30:52 -07:00
Louis Abel 35e3028fce
address permission issues with EFI files from lorax 2022-07-25 01:30:11 -07:00
Louis Abel 2b0907043e
try to resolve ppc64le not booting RLBT#0000158 2022-07-21 00:25:31 -07:00
Louis Abel 8d77a63a6a
Start work on 0.4.0
* Start SIG deployment testing
* Add additional sigs: desktop, virt
* Modify altarch to match repo names in release package
2022-07-20 16:17:19 -07:00
Louis Abel 60f97b1c67
joliet on 2022-07-18 15:51:10 -07:00
Louis Abel debad119d9
attempt to add joliet long names 2022-07-18 15:27:35 -07:00
Louis Abel 90efde8477
add in a fix for timestamps on packages 2022-07-16 11:44:05 -07:00
Louis Abel beebdaa105
fix up script 2022-07-13 20:01:23 -07:00
Louis Abel 37714cabd6
force selinux for the temporary repo file 2022-07-12 18:30:59 -07:00
Louis Abel f1fbcff0ef
Add pungi-like composeinfo metadata and modify readme 2022-07-12 01:57:25 -07:00
Louis Abel 8017026bc8
Add a final grep to log for "FAILED" (RLBT#0000138)
Add a final grep if exit code of reposync is 0. There are cases where
dnf reposync will say the sync succeeded despite not downloading a
package due to a failed mirror. It is a failure when a GPG key can't be
verified or some other unforeseen cirumstance... but not when a package
can't be downloaded because of "all mirrors tried"

Also added "time" to the fpsync commands for RL9 syncing.
2022-07-12 00:59:19 -07:00
Neil Hanlon 20bf0812db
revert to stg url now that CDN is fixed. add in some additional metadata for builds and cleanup output for containers 2022-07-11 21:15:31 -04:00
Neil Hanlon 911f835bfb
I hate this syntax, use a \n 2022-07-11 20:50:30 -04: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
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 aaa89c74a4
begin live build configuration and move funcs to shared 2022-07-08 01:43:30 -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
Neil Hanlon fe4daffb25
Changes for oz/imagefactory config naming 2022-07-04 16:35:58 -04:00
Louis Abel 340a6a3377
add checksum combine for close out 2022-07-04 12:23:12 -07: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 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 4bc377cd44
Attempt to resolve RLBT#0000133 2022-06-30 15:38:50 -07:00
Louis Abel f342046f25
test should use && 2022-06-28 10:08:17 -07: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 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 7d9f222fe9
end argument missing 2022-06-27 01:18:57 -07:00
Louis Abel e7386c2f6f
xorr conf blank? 2022-06-27 01:01:36 -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 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
Louis Abel 43470e336b
RLBS - Finalize Treeinfo and Add xorrisofs
In preparation to build ISO's with mock or parallel podman containers,
treeinfo support was fully added as well as the addition of xorrisofs to
prepare for the future. xorrisofs should also work for both current and
previous releases.

We have also add a currently-pending RLN experiment.
2022-06-26 12:24:56 -07:00
Louis Abel b75fe62899
scripts now generate 2022-06-23 15:29:22 -07:00
Louis Abel 2e5c4778f4
Update Configs + Extra ISO Build Progress
* Configs updated to deal with repo and structure
* Add graft point process
* Start local and podman process for extra ISO builds
2022-06-23 13:12:53 -07:00
Louis Abel 00f330226d
update poetry and iso utilities 2022-06-21 17:21:37 -07:00