Commit Graph

48 Commits

Author SHA1 Message Date
Louis Abel 6731e3f4a5
add fedora major version for future use 2022-08-28 23:21:54 -07:00
Louis Abel bffff511f3
Add unversioned linking and checksums
Add symlinked versions of all images that are unversioned. This is
primarily for users who would like a URL path to the latest ISO for a
particular release. This is also for cases like osinfo where there
should be a generic path per major release.
2022-08-05 01:24:49 -07:00
Louis Abel 18b985cdcc
add delete old packages option 2022-08-03 23:07:47 -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 9119e772d6
add initial sig syncing components 2022-07-25 00:46:34 -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
Neil Hanlon 03d0c585ae
add gitignore
* change capitalization for vbox
2022-07-13 23:33:23 -04: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 6b236b7b5f
Add symlink parameter to resolve script runtime 2022-07-11 21:14:08 -04:00
Louis Abel 1ba76a849a
force build 2022-07-11 16:01:19 -07:00
Louis Abel 520db534be
add justcopyit for live images 2022-07-11 15:12:41 -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
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 aaa89c74a4
begin live build configuration and move funcs to shared 2022-07-08 01:43:30 -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
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
Neil Hanlon 55abe763ef
Refactor Architecture class and fix names for output files 2022-07-04 14:44:20 -04: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
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 462ea264b3
add finalize script to mix 2022-07-03 00:22:00 -07:00
Louis Abel 4bc377cd44
Attempt to resolve RLBT#0000133 2022-06-30 15:38:50 -07:00
Louis Abel 49b001e31d
Resolve RLBT#0000132 discinfo and treeinfo 2022-06-30 01:45:08 -07: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 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 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 28facef12c
fix template for iso build 2022-06-26 22:05:24 -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 fdbfd840a0
add extra file refresh to primary script 2022-06-21 23:10:25 -07:00
Neil Hanlon 7a097fb302
Ensure builds work properly - architectures must match
* Actually use release version input to run build-iso command
* Buildstamp should be an epoch
* template out the job/pod names instead of doing them in the rendering
* label pods with toleration
2022-06-20 18:03:11 -04:00
Neil Hanlon 0603620773
Fixes for current RC images
* Make jobs uploads unique and match security context of peridot
* change image build, fix extraction of build artifacts
2022-06-20 18:02:44 -04:00
Neil Hanlon 4587287e1e
Github actions work for automatic building
* Add in really simple job template creation to prove the generation will
work
2022-06-20 18:02:19 -04:00
Louis Abel 22f920042e
add next phase before sign off 2022-06-20 01:34:10 -07:00
Louis Abel 72f98dcdb6
Tarball pull and extract 2022-06-19 22:52:20 -07:00
Louis Abel 5e34a9b9c7
syntax error for syncing 2022-06-17 16:27:39 -07:00
Neil Hanlon 0abdea5c86
Some changes to make scripts work in the new setup" 2022-06-17 15:55:26 -04:00
Neil Hanlon 3749866dee
Cleanup bad rebase 2022-06-17 15:08:38 -04:00
Neil Hanlon fa74e96c84
Lets write some poetry 2022-06-17 15:06:45 -04:00