Commit Graph

68 Commits

Author SHA1 Message Date
mystic knight 988b9a1a2c Issues: peridot #100 -- empty migration files
Signed-off-by: mystic knight <techguru@byiq.com>
2023-02-17 15:02:17 -10:00
mystic knight e9e3cb54e7 allow peridot project to specify a build pool type in additional to build pool architecture
Signed-off-by: mystic knight <techguru@byiq.com>
2023-02-17 14:11:35 -10:00
mystic knight fdc848b847 allow peridot project to specify a build pool type in additional to build pool architecture
Signed-off-by: mystic knight <techguru@byiq.com>
2023-02-17 14:01:50 -10:00
mystic knight f19044b3d2 allow peridot project to specify a build pool type in additional to build pool architecture
Signed-off-by: mystic knight <techguru@byiq.com>
2023-02-17 12:55:49 -10:00
Mustafa Gezen 2b88f7b5c8 govendor 2023-02-17 20:00:41 +01:00
Mustafa Gezen 69f985f637 Remove references to apollopb 2023-02-17 19:54:32 +01:00
Mustafa Gezen 9854661cea Remove dependency on publisher 2023-02-17 19:51:20 +01:00
Mustafa Gezen e901745be5 Support simple filter for Build API 2023-02-17 19:49:42 +01:00
Mustafa Gezen 5eec7a5354 Add peridotadmin and updateinfo workflow 2023-02-17 19:49:38 +01:00
Mustafa Gezen 2470a9df7f Yumrepofsupdater now supports updateinfo.xml, and delete works better. Heartbeats should no longer cause memory leaks 2023-02-17 19:48:59 +01:00
Neil Hanlon 2cfa84ecc3
Fix `peridot build package` arguments bound to wrong command 2023-01-23 14:21:16 -05:00
Neil Hanlon 897bc0969d
fix bad sql in SetBuildRootPackages 2023-01-20 16:17:08 -05:00
Mustafa Gezen 38b0d9cb6c
Add additional peridot cli commands 2023-01-20 03:34:45 +01:00
resf-prow[bot] 95d7351c22
Merge pull request #84 from NeilHanlon/fix/83
Fix bug in setting build/srpm stage packages for project
2023-01-06 06:20:09 +00:00
Neil Hanlon aa3a97cb87
change SetBuildRootPackages to use proper pq types and set defaults on nil 2023-01-05 23:53:25 -05:00
Neil Hanlon 60a3885b91
Catch error for debugging purposes 2023-01-05 18:12:53 -05:00
Neil Hanlon f0f461c03b
Fix regresions introduced by #78 2023-01-05 13:07:58 -05:00
Neil Hanlon b22060dd52
support modular enable/disable for scoped packages
Signed-off-by: Neil Hanlon <neil@rockylinux.org>
2022-12-19 15:51:49 -05:00
Mustafa Gezen 9592fc297c
Properly delete excluded rpms after a catalog change 2022-11-23 23:48:55 +01:00
Mustafa Gezen c6bec99698
Add support for deleting builds from yumrepofs 2022-11-21 00:58:14 +01:00
Mustafa Gezen be2b871fff
Strictly use module side repo during module builds and target only current project setting branches 2022-11-19 22:51:16 +01:00
Mustafa Gezen 3319abf62b
Multiple changes related to build, modules and cloning
* Dependencies are now installed with best=1
* rpmutils.NVR is now equal to srpmproc's rpmutils.Nvr
* Add support for cloning a project and swapping target project builds on top
* Side NVR repos are now faster to create
* Module builds now support side NVRs
* Side NVRs now support multiple builds of a certain version
* ListBuilds now properly supports filters
* yumrepofsupdater now runs on a better node pool
* Upgrade srpmproc to v0.4.3
* kubernetes.jsonnet now supports node pool placements
* Modulemds are now copied properly to avoid accidental pointer overrides that propagated back to unrelated Mds
* rpmimport now properly imports SRPMs and doesn't fail randomly
* Yumrepofs now properly adds module defaults in non-all repos
* Yumrepofs now properly swaps older module artifacts
* Yumrepofs now properly replaces non-project artifacts after a clone swap
* Added additional logging to yumrepofs
2022-11-19 02:52:24 +01:00
Mustafa Gezen 6e5a2ae2b6
Remove debug logs from yumrepofs 2022-11-14 11:08:54 +01:00
Mustafa Gezen e0a043afb3
Module mode now correctly replaces all artifacts
There was a bug in module mode where debuginfo+src would not get replaced correctly. That is now fixed. Additional changes to module artifact detection is also made after the build merge solution was implemented. Previously src.rpms could be collapsed because of multiple src.rpms in one build, leading to non-devel artifacts being placed in devel. That is also fixed with this.
2022-11-14 11:06:16 +01:00
Mustafa Gezen a143c18b94
Peridot: Fix MakeActiveInRepo - Only set for current project
Current behavior sets active package version in repo for all projects even though yumrepofs is only updating for a specific project. This fixes it by only setting active package version in repo for that specific version in that specific project.
2022-11-07 14:33:44 +01:00
Mustafa Gezen 6e77412823
Import RPM key to verify signature and stop blocking on failure
Previously Keykeeper had a faulty verify check, where `rpm --checksig` didn't actually work because the RPM key was never imported. This would normally be caught but the TaskSignature creation was done after every signature without a transaction. That led to the activity succeeding next launch with either a faulty signed RPM or a correctly signed RPM.

We caught all instances of this by verifying signature of all artifacts during compose, but it was an annoying problem that we would run into occasionally. This should fix that.
2022-11-05 18:32:58 +01:00
Mustafa Gezen 0eeb8395e4
Rpm-import is now simpler 2022-11-04 03:30:10 +01:00
Mustafa Gezen 8d2116dfeb
Fix dev mode for yumrepofs 2022-11-04 03:30:10 +01:00
Mustafa Gezen d62a16923f
Support modulemd v3 and module sync 2022-11-04 03:30:10 +01:00
Mustafa Gezen ba014228bd
Vendor 2022-11-04 03:30:09 +01:00
Ted Adams 89a8a41c4e Add @emotion/unitless to obsidian and peridot ui BUILD files 2022-10-31 10:39:24 -07:00
Mustafa Gezen 1c861fd53b
Add chart manifests to all services except Apollo UI 2022-10-31 16:38:32 +01:00
Mustafa Gezen 6bc4ea866c
Initial Helm support 2022-10-31 03:23:40 +01:00
Mustafa Gezen beae4446aa
Add Cancel button to running tasks 2022-10-30 22:10:39 +01:00
Mustafa Gezen bd03ada0d5
Fix references to resfdeploy 2022-10-30 09:18:01 +01:00
Mustafa Gezen 5ac71b67c2
Rename all to rules_resf and resf_frontend 2022-10-30 08:58:16 +01:00
Mustafa Gezen 48788cfd4c
Update govendor 2022-10-30 06:02:42 +01:00
Mustafa Gezen f96781d3c5
Fine tune manual targets 2022-10-30 04:29:29 +01:00
Mustafa Gezen 6e213b3263
Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00
Neil Hanlon 77fb4ac65b
Finalize SCL feature 2022-10-19 15:21:19 -04:00
Neil Hanlon 949ab935e6
[WIP] Break out packages to per-project settings defined by catalog import
* Add support for Software Collections by way of dymanic package
  dependency injection
2022-10-02 15:37:31 -04:00
Neil Hanlon 61ded91001
Revert "Mount /sys/fs and /tmp as a new tmpfs"
This reverts commit dfc9b39002.

Yeah, we don't need this.
2022-09-29 10:18:10 -04:00
Neil Hanlon dfc9b39002
Mount /sys/fs and /tmp as a new tmpfs 2022-09-21 14:25:53 -04:00
Neil Hanlon 17601804f7
Resolve peridot CLI build error due to unbound variable 2022-09-06 15:01:42 -04:00
Mustafa Gezen de742cf196
Add service account to peridotserver
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-08-31 21:49:26 +02:00
Mustafa Gezen b89ddeb62f
Use SetHeader instead of SendHeader
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-08-31 21:49:26 +02:00
Mustafa Gezen 226c0f4c30
Change interceptor handling and add prometheus metrics to all services
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-08-31 20:06:02 +02:00
Mustafa Gezen 6848798e1b
Add support for unusual NVRs to yumrepofs
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-08-31 20:06:02 +02:00
Mustafa Gezen d3e5d9ea92
Wait for rpm import to finish in CLI
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-08-31 20:06:02 +02:00
Mustafa Gezen 7370e487f2
Add support for create-hashed-repos to peridot CLI
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-08-31 20:06:01 +02:00