Commit Graph

259 Commits

Author SHA1 Message Date
Mustafa Gezen
1cac9ed958
Add a dummy placeholder for apollo tests 2023-02-17 19:43:07 +01:00
Mustafa Gezen
53d53f03ac
Delete publisher too, we're using apollo_tree 2023-02-17 19:38:04 +01:00
Mustafa Gezen
032909173e
Delete Apollo from this repo 2023-02-17 19:35:58 +01:00
resf-prow[bot]
808a48a80d
Merge pull request #95 from jeffredodd/feat/add-favicon
Add favicon to page template
2023-02-12 17:11:45 +00:00
Jeffrey Johnson
5d20bf93d7 Add favicon to page template 2023-02-10 16:25:23 -08:00
resf-prow[bot]
ce2d4eccc4
Merge pull request #94 from jeffredodd/main
Add product picker filter
2023-02-07 04:50:40 +00:00
Jeffrey Johnson
babde0bf04 Fix some stray console logs 2023-02-06 19:11:43 -08:00
Jeffrey Johnson
6cfe9a7b44 Add product picker filter 2023-02-06 15:40:39 -08:00
resf-prow[bot]
c69be4edc5
Merge pull request #93 from TheTedAdams/dark-mode
Add errata dark mode
2023-02-02 02:02:35 +00:00
Ted Adams
c6e8688dc0 Add browser level dark color scheme 2023-01-26 10:46:48 -08:00
Ted Adams
b6d94ecdc4 Add toggleable dark mode to errata 2023-01-26 01:34:14 -08:00
Ted Adams
c0b97f5c85 Lock yarn version to classic because build does not support yarn modern 2023-01-26 00:42:18 -08:00
resf-prow[bot]
3131651ae3
Merge pull request #92 from NeilHanlon/main
Fix `peridot build package` arguments bound to wrong command
2023-01-23 19:24:26 +00:00
2cfa84ecc3
Fix peridot build package arguments bound to wrong command 2023-01-23 14:21:16 -05:00
resf-prow[bot]
3e345060bf
Merge pull request #91 from NeilHanlon/main
fix bad sql in SetBuildRootPackages
2023-01-20 21:24:24 +00:00
897bc0969d
fix bad sql in SetBuildRootPackages 2023-01-20 16:17:08 -05:00
resf-prow[bot]
fc32d87087
Merge pull request #90 from mstg/peridot-cli-improvements1
Add additional peridot cli commands
2023-01-20 02:50:23 +00:00
Mustafa Gezen
38b0d9cb6c
Add additional peridot cli commands 2023-01-20 03:34:45 +01:00
resf-prow[bot]
26777167c4
Merge pull request #88 from NeilHanlon/apollo/87/advisories-fixes
Make GetAllAdvisories return fixes in the sql query
2023-01-16 21:01:20 +00:00
a3d61251ba
Make GetAllAdvisories return fixes in the sql query 2023-01-10 15:58:58 -05: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
resf-prow[bot]
a200005b64
Merge pull request #81 from NeilHanlon/scoped-packages-modules
Fix regresions introduced by #78
2023-01-06 06:15:09 +00:00
aa3a97cb87
change SetBuildRootPackages to use proper pq types and set defaults on nil 2023-01-05 23:53:25 -05:00
60a3885b91
Catch error for debugging purposes 2023-01-05 18:12:53 -05:00
f0f461c03b
Fix regresions introduced by #78 2023-01-05 13:07:58 -05:00
resf-prow[bot]
fa26cb34df
Merge pull request #78 from NeilHanlon/scoped-packages-modules
Support enabling/disabling modules during package builds
2023-01-04 15:47:08 +00:00
b22060dd52
support modular enable/disable for scoped packages
Signed-off-by: Neil Hanlon <neil@rockylinux.org>
2022-12-19 15:51:49 -05:00
resf-prow[bot]
ebedf766c9
Merge pull request #75 from NeilHanlon/security/golang
bump golang to 1.18.9 for several CVEs
2022-12-08 23:16:44 +00:00
resf-prow[bot]
a2fb251227
Merge pull request #71 from mstg/yumrepofs-speedup
Multiple changes related to build, modules and cloning
2022-12-08 06:23:43 +00:00
ef70d3c41b
bump golang to 1.18.9 for several CVEs
* net/http (CVE-2022-41717, CVE-2022-41720)
* os (CVE-2022-41720)

Signed-off-by: Neil Hanlon <neil@rockylinux.org>
2022-12-07 13:28:46 -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
resf-prow[bot]
8222ab2f43
Merge pull request #70 from mstg/module-debuginfo-fix
Module mode now correctly replaces all artifacts
2022-11-14 15:31:22 +00: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
resf-prow[bot]
4e9db547f6
Merge pull request #68 from mstg/active-in-repo-fix
Peridot: Fix MakeActiveInRepo - Only set for current project
2022-11-07 13:42:46 +00: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
resf-prow[bot]
850c4b93bb
Merge pull request #67 from mstg/errata-keyword-fix-name
Apollo: Keyword search now does pagination correctly
2022-11-07 13:30:45 +00:00
Mustafa Gezen
93304aca7b
Apollo: Keyword search now does pagination correctly
Previously there was an outer query to further filter using CVEs and keyword, but that broke the pagination. All filtering is now moved to the inner layer and the outer layer has been removed. Also add search by advisory name.
2022-11-07 14:26:17 +01:00
resf-prow[bot]
ab5ae64ef8
Merge pull request #66 from mstg/hotfix-deploy-impacted
Deploy objects with force_normal_tags should only apply
2022-11-07 13:06:46 +00:00
Mustafa Gezen
0eaaf4dbfe
Deploy objects with force_normal_tags should only apply 2022-11-07 14:03:24 +01:00
resf-prow[bot]
37a958bad0
Merge pull request #65 from mstg/hotfix-s3
s3.kube_env should default to RESF Peridot bucket
2022-11-07 12:55:45 +00:00
Mustafa Gezen
e6d319b8a2
s3.kube_env should default to RESF Peridot bucket 2022-11-07 13:52:22 +01:00
resf-prow[bot]
70056dedd5
Merge pull request #64 from mstg/vre-detection-fixes
Upgrade srpmproc to v0.4.2
2022-11-07 01:09:51 +00:00
resf-prow[bot]
d3e50d4e1d
Merge pull request #63 from mstg/errata-skip-fix
Fix Apollo skipping errata if failure happens after updating last sync
2022-11-07 01:09:45 +00:00
resf-prow[bot]
96d2a2d736
Merge pull request #62 from mstg/keykeeper-fix
Import RPM key to verify signature and stop blocking on failure
2022-11-07 01:00:46 +00:00
Mustafa Gezen
5f06ed99d0
Upgrade srpmproc to v0.4.2
Earlier srpmproc versions have a bug with VRE matching. The regex used to match the NVR was actually formed to match NVRA. This is generally not harmful, but NVRs that has an extra dot something in Release can throw off this regex into thinking that the dist is actually the arch.
2022-11-06 04:59:44 +01:00
Mustafa Gezen
e23a83e859
Fix Apollo skipping errata if failure happens after updating last sync
When polling RH Errata, Apollo sets the last sync date to the first advisory we process (advisories are synced in descending order). If a failure happens while processing newer advisories, the sync is already set and the system skips over advisories it has NOT yet processed.

This PR sets the mirror state in a parent transaction, then commits that transaction if no failures occur. Skipping advisories when an error occurs is also reworked, where the first failure fails the workflow. The workflow will retry on its normal schedule.
2022-11-06 04:39:28 +01:00