Commit Graph

274 Commits

Author SHA1 Message Date
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
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
resf-prow[bot]
6e752a3704
Merge pull request #61 from mstg/module-v3-support
Module v3 support and misc fixes
2022-11-04 02:46:43 +00:00
Mustafa Gezen
41e81718d8
Add .envrc.local to gitignore 2022-11-04 03:30:10 +01:00
Mustafa Gezen
d57186510f
Go.mod upgrades (srpmproc and aws-sdk-go) 2022-11-04 03:30:10 +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
26ab9cbdb2
Support changing local domain 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
e7173cbe9b
Default copyright profile 2022-11-04 03:30:09 +01:00
Mustafa Gezen
ba014228bd
Vendor 2022-11-04 03:30:09 +01:00
Mustafa Gezen
aeca22b751
Add support for .envrc.local 2022-11-04 03:30:09 +01:00
resf-prow[bot]
e37a5bac58
Merge pull request #58 from TheTedAdams/product-errata-header-fix
Fix header wrapping in safari. Add tooltip to type/severity row icons
2022-11-02 17:45:19 +00:00
Ted Adams
d778d5843c Fix header wrapping in safari. Add tooltip to type/severity row icons 2022-11-02 09:09:13 -07:00
resf-prow[bot]
67fb8751fd
Merge pull request #60 from mstg/add-mergecommitblocker-to-prow
Prow should block PRs with merge commits
2022-11-01 23:01:19 +00:00
Mustafa Gezen
59585e7e78
Block PRs with merge commits 2022-11-01 23:57:35 +01:00
resf-prow[bot]
5f39d45b2d
Merge pull request #59 from mstg/deploy-impacted-fix
Fix impacted deploy (postsubmit)
2022-11-01 20:36:18 +00:00
Mustafa Gezen
5ab7151dd6
Fetch all refs, then use HEAD~ to get previous merge, then checkout back to current commit 2022-11-01 21:30:06 +01:00
resf-prow[bot]
d21a8a3f37
Merge pull request #57 from mstg/deploy-test-5
Obsidian: Explain callbackForwarder
2022-11-01 03:55:18 +00:00
Mustafa Gezen
34748f5c33
Obsidian: Explain callbackForwarder 2022-11-01 04:49:59 +01:00
Mustafa Gezen
a15e184cf3
Fix resfdeploy deployment 2022-11-01 04:45:12 +01:00
Mustafa Gezen
6f9ad97063
It's "-w 0" and not "-b 0" 2022-11-01 04:33:44 +01:00
Mustafa Gezen
8b2c65990a
Try "-b 0" for docker base64 2022-11-01 04:31:21 +01:00
Mustafa Gezen
aea228f816
Actually base64 credentials for docker 2022-11-01 04:29:54 +01:00
Mustafa Gezen
8fdc60cc52
Remove dead code (deploy test 4) 2022-11-01 04:27:24 +01:00
Mustafa Gezen
a3fb219ed8
Use reverse postsubmit for impact detection 2022-11-01 04:24:51 +01:00
Mustafa Gezen
e9f7e34810
Target should be current merge 2022-11-01 04:18:29 +01:00
resf-prow[bot]
257644f533
Merge pull request #56 from mstg/config-change-bump
Bump image version to v0.3.19 (Prow)
2022-11-01 03:15:18 +00:00
Mustafa Gezen
d2c653717b
Bump image version to v0.3.19 (Prow) 2022-11-01 04:11:51 +01:00
Mustafa Gezen
a603d9b877
Add comment ListAdvisoriesRSS (deploy test 3) 2022-11-01 03:05:49 +01:00
Mustafa Gezen
c0a82d2408
Actually use TARGET_HASH 2022-11-01 03:03:19 +01:00
Mustafa Gezen
29e1e0977c
Debug logs from impacted targets script 2022-11-01 03:01:36 +01:00
resf-prow[bot]
1b5e945d96
Merge pull request #55 from mstg/deploy-test-2
Add comment (deploy test 2)
2022-11-01 01:57:17 +00:00
Mustafa Gezen
51400a9fdb
Add comment (deploy test 2) 2022-11-01 02:53:45 +01:00
resf-prow[bot]
887bc668d6
Merge pull request #54 from mstg/deploy-test-1
Add comment (deploy test 1)
2022-11-01 01:41:18 +00:00
Mustafa Gezen
1a0e82a9d5
Add comment (deploy test 1) 2022-11-01 02:36:42 +01:00