c6f6c2c47d
fix: preCommand and postCommand injected improperly ( #4 )
...
these need to be strings we pass as a single object to bash -c, rather
than multiple discrete commands.
2023-04-07 01:16:57 +00:00
656f7b5a4f
deploy(apollo-rhworker): add preCommand and postCommand values for cronjobs ( #3 )
...
* deploy(apollo-rhworker): add preCommand and postCommand values for cronjobs
We don't want to assume a user will be running this with Istio as the
RESF is, so we don't always need to kill the istio proxy in this manner
This change moves the existing trap/curl command to terminate the istio
proxy into values.yaml for our deployment allowing it to be overwritten
for others needs
* feat: automatically terminate cronjob after 5 minutes
2023-04-07 01:05:49 +00:00
Mustafa Gezen
0d51fdb161
Add last_updated_at to list_advisories_osv
2023-03-23 21:34:32 +01:00
Mustafa Gezen
650a80989e
Add last_updated_at to list_advisories
2023-03-23 17:02:02 +01:00
Mustafa Gezen
1d90b6db2e
Fix specific OSV get
2023-03-23 12:59:33 +01:00
Mustafa Gezen
6915813e2d
updateinfo: noarch only advisories were wrongfully excluded
2023-03-14 17:31:59 +01:00
Mustafa Gezen
11de73dbd1
osv: Only show src.rpm once in affected
2023-03-06 06:19:23 +01:00
Mustafa Gezen
f3b76fdcec
osv: Change ECOSYSTEM naming
2023-03-06 06:09:42 +01:00
Mustafa Gezen
0a26fbbabb
osv: Make root database_specific field None
2023-03-06 06:01:17 +01:00
Mustafa Gezen
13c430c2aa
Add admin users actions and profile actions
2023-03-06 05:49:48 +01:00
Mustafa Gezen
76dc39fc6b
Fix OSV
2023-03-06 05:49:20 +01:00
Mustafa Gezen
5b8935e387
Add endpoint to apollo docs and remove non-api
2023-03-03 19:28:24 +01:00
Mustafa Gezen
caab3e3360
Stop using mkdocs action and just build it manually
2023-03-02 18:40:27 +01:00
Mustafa Gezen
1601c21ac0
Fix mkdocs path in workflow
2023-03-02 18:35:07 +01:00
Mustafa Gezen
d102a3a058
Remove CUSTOM_DOMAIN from workflow
2023-03-02 18:33:52 +01:00
Mustafa Gezen
0bed9c3b7c
Add mkdocs webpage
2023-03-02 18:32:19 +01:00
fae33ec2b0
Merge pull request #2 from resf/rhworker-cron
2023-02-28 17:19:46 +01:00
776f4eddbe
Poll for new advisories every 15 minutes
2023-02-28 11:14:52 -05:00
Mustafa Gezen
8abcdf4206
Add light mode support
2023-02-23 05:46:30 +01:00
Mustafa Gezen
bb5159cf1c
Speed up advisory fetching by manually crafting each where statement (add if exists)
2023-02-22 02:54:46 +01:00
Mustafa Gezen
c267eabf78
Allow disabling fetchRelated for compat list
2023-02-22 02:35:08 +01:00
Mustafa Gezen
dc804bc06c
Only replace rhel when it's a container name
2023-02-22 02:20:56 +01:00
Mustafa Gezen
ca132958b0
Remove print from compat params
2023-02-22 00:06:52 +01:00
Mustafa Gezen
d1e15bbd55
Support multi digit epoch
2023-02-05 02:15:04 +01:00
Mustafa Gezen
ba9c8c2f05
Properly report all arches and RPMs
2023-02-05 02:14:58 +01:00
Mustafa Gezen
47179f62f5
Make OSV consistent
2023-02-05 01:18:46 +01:00
Mustafa Gezen
19d514830a
Respect fetch_related for fetch_advisories
2023-02-05 01:18:34 +01:00
Mustafa Gezen
2763793211
OpenAPI branding
2023-02-05 01:18:22 +01:00
Mustafa Gezen
b456941631
Add references and credits to OSV
2023-02-05 00:35:47 +01:00
Mustafa Gezen
4afa718da4
Add OSV API
2023-02-05 00:24:31 +01:00
Mustafa Gezen
5c60d387d8
Stop failing when old updateinfo doesn't exist
2023-02-04 10:27:13 +01:00
Mustafa Gezen
383f28f714
Fix ignore when arch is first
2023-02-04 10:25:55 +01:00
Mustafa Gezen
bb6795b172
Fix new ignore feature
2023-02-04 10:20:44 +01:00
Mustafa Gezen
bb0d22c63c
Add ability to ignore arches, and skip 404 updateinfos
2023-02-04 10:13:20 +01:00
Mustafa Gezen
d157846fb7
Remove print statements from matcher
2023-02-04 09:32:38 +01:00
Mustafa Gezen
9c9bca5716
Allow prefix matching if full NVRA doesn't match
2023-02-04 09:28:38 +01:00
Mustafa Gezen
b758793987
Fix updateinfo date format and enable short tags
2023-02-04 08:59:44 +01:00
Mustafa Gezen
6300c73b56
Fix pkglist for modules
2023-02-04 02:15:01 +01:00
Mustafa Gezen
5dde117301
Check against basename before deleting
2023-02-04 01:54:32 +01:00
Mustafa Gezen
b8fa293e33
Don't delete updateinfo if it's same as new
2023-02-04 01:50:40 +01:00
Mustafa Gezen
de3d7526f2
Check if isdir
2023-02-04 01:45:10 +01:00
Mustafa Gezen
c64f9621fa
Abspath for existing_updateinfo_path
2023-02-04 01:37:16 +01:00
Mustafa Gezen
7287bb38eb
Switch ignore dirs to ignore repos
2023-02-04 01:35:58 +01:00
Mustafa Gezen
70aa9d3466
Fix existing_updateinfo_path
2023-02-04 01:33:46 +01:00
Mustafa Gezen
fe376df854
Reduce ignore list for apollo_tree
2023-02-04 01:32:25 +01:00
Mustafa Gezen
02b4192be5
Fix old updateinfo locator
2023-02-04 01:29:47 +01:00
Mustafa Gezen
e1f2e757bf
Support $arch in product name
2023-02-04 01:05:48 +01:00
Mustafa Gezen
a686b921ae
Add run_apollo_tree function
2023-02-04 00:54:26 +01:00
Mustafa Gezen
aecc8c3823
Setup in CI
2023-02-04 00:39:40 +01:00
Mustafa Gezen
5e1fde1027
Add apollo_tree and fix pylint warnings
2023-02-04 00:37:45 +01:00