Commit Graph
321 Commits
Author SHA1 Message Date
Greg Hellings 7b77d12a8b Make pushing optional 2024-06-28 09:55:11 -05:00
Greg Hellings c34dd1995e Fix Rawhide install 2024-06-28 09:54:17 -05:00
Greg Hellings c24e15d04e Move more commands into nix 2024-06-28 09:54:17 -05:00
Greg Hellings e6804fefc3 Only restore files that don't exist 2024-06-28 09:54:17 -05:00
Greg Hellings 1629effd51 Tell cURL to follow redirects 2024-06-26 23:13:13 -05:00
Greg Hellings ff31288530 Create director before using 2024-06-26 22:09:54 -05:00
Greg Hellings 107922f3d0 Suppress Shellcheck errors 2024-06-26 22:04:16 -05:00
Greg Hellings 810008b1ea Skip restore step
With the new cache setup, there is no need for me to run the cache
restore before doing a download. However, it is now once again necessary
that download begin AFTER the dynamic scripts have already executed
their bits
2024-06-26 21:56:19 -05:00
Greg Hellings edffd23802 Have cache actually check cache
Cache has not been hitting the actual cache bits, so now we will tell it
to reach out to the cache server locally and check for the ISO to be
present in the bucket before we run the curl at all
2024-06-26 21:50:10 -05:00
Greg Hellings bc1f23a47b Better cache file naming 2024-06-26 20:57:47 -05:00
Greg Hellings 31f14a5e8f Start downloads right away
There is no need to wait until after validation and linting is done
before beginning the download caching, and it definitely does not need
its own portion of the cycle. Move it to the beginning of the generate
phase, so it gets started up right away.
2024-06-26 16:33:41 -05:00
Greg Hellings eebc19c81c Fix fetch URLs 2024-06-26 16:17:33 -05:00
Greg Hellings 7f3b04da76 Update distros to use nix 2024-06-26 16:03:27 -05:00
Greg Hellings 832c901b9b Move almost everything over to Nix
Eliminate Xonsh usage
Eliminate usage of the supports.yml files for default.nix
Point ISOs directly to MinIO URLs instead
2024-06-26 16:00:57 -05:00
Greg Hellings 2d124c652a Move validate step into Nix script 2024-06-24 23:13:53 -05:00
Greg Hellings f138e5af3e Nixify shellcheck
Add shellcheck command to flake.nix and use it in the Gitlab
2024-06-24 23:04:16 -05:00
Greg Hellings c5875f9943 Remove cat command 2024-06-24 22:45:42 -05:00
Greg Hellings 8f25c08be7 Cat out file somewhere else 2024-06-24 22:43:44 -05:00
Greg Hellings e25f08ee63 Cat out the file first 2024-06-24 22:40:48 -05:00
Greg Hellings 3264070b84 Explicitly call shell shebang 2024-06-21 16:24:37 -05:00
Greg Hellings 04b625f9e4 Add an explicit cache restore 2024-06-21 16:23:24 -05:00
Greg Hellings 9bb997c9e7 Only run nix with Nix command 2024-06-21 13:09:42 -05:00
Greg Hellings fc1d419506 Tweak download script 2024-06-21 13:00:22 -05:00
Greg Hellings 91c56299ec Use full URL 2024-06-21 12:33:38 -05:00
Greg Hellings 9cf56f635f Correct the writing of files 2024-06-21 11:27:59 -05:00
Greg Hellings c1156a93d3 Fix invocations to minio-client 2024-06-21 11:01:09 -05:00
Greg Hellings 13f2dc7943 Try manually running uploads 2024-06-21 10:48:58 -05:00
Greg Hellings d16e79b850 Version updates
Retire Alma and Rocky 8
Update Alma/Rocky 9 to 9.4
Retire Fedora 38
Add Fedora 40
2024-06-21 00:05:57 -05:00
Greg Hellings b5ffbac664 Prevent EOL from moving 2024-06-20 22:20:28 -05:00
Greg Hellings e976908b3f Remove CentOS Stream 8
Fixes #1
2024-06-20 22:16:45 -05:00
Greg Hellings 12e94263ef Update cache properly 2024-04-21 15:07:50 -05:00
Greg Hellings 6cadd7193b Output file list before run 2024-04-21 14:53:44 -05:00
Greg Hellings 00a41fd7e2 Fish cache policy 2024-04-21 16:35:27 +00:00
Greg Hellings 160b065cac Try setting cache policy 2024-04-21 16:32:15 +00:00
Greg Hellings 3e360a000a Tell curl to also retry 2024-04-20 15:11:21 +00:00
Greg Hellings 2bd1d75d72 Apparently, you can only retry twice 2024-04-20 02:46:25 -05:00
Greg Hellings f20c5c714e Auto-retry the downloads 2024-04-20 02:45:12 -05:00
Greg Hellings a5469d1073 Try using ISOs as artifacts instead of cache 2024-04-17 15:51:25 -05:00
Greg Hellings 2baf005b84 Tell builders to skip HTTP 2024-04-16 23:02:23 -05:00
Greg Hellings 087a1ee58c Ignore demanded absolute paths 2024-04-16 15:55:49 -05:00
Greg Hellings cc08a440ff Explicitly call bash 2024-04-16 14:49:39 -05:00
Greg Hellings 822e1c869d Do not hardcode env 2024-04-16 14:21:00 -05:00
Greg Hellings 669068a902 Skip the port number 2024-04-16 12:42:55 -05:00
Greg Hellings 20286d0697 Try different path 2024-04-16 12:31:30 -05:00
Greg Hellings 146be6b129 Use new image by default 2024-04-16 12:25:03 -05:00
Greg Hellings d14ae1a609 Fix shellcheck lint 2024-04-16 10:54:57 -05:00
Greg Hellings 2f3a082104 Externalize cache file 2024-04-15 23:11:35 -05:00
Greg Hellings b9f10c9c86 Make more intelligent use of the cache
Bust cache on the dynamic files
Use the cached builds for both virtualbox and Hyper-V
Hopefully improve loop downloading files to cache
2024-04-15 03:53:58 +00:00
Greg Hellings 2070d55b5d Merge branch 'pre-cache-isos' into 'main'
Try pre-caching ISO files

See merge request greg/vms!9
2024-04-12 21:36:05 +00:00
Greg Hellings f4a43a46cf Try, again, to do this right... 2024-04-12 12:01:16 -05:00