Commit Graph

286 Commits

Author SHA1 Message Date
289947247b
feature(peridot-cli): add task logs command
`peridot task logs` will accept either a build ID or package name. In
the latter case, the project will be queried for the latest build for
the given package name. With the build task ID in hand, the task can be
queried for its BUILD_ARCH subtasks, which contain the logs for the
binary RPM builds.

Passing `-C` or `--cwd` with a directory will change into that directory
before writing files. That directory **must** exist beforehand.
Otherwise, $PWD is used.

By default, a separate file will be created for each
<task>-<subtask>-<architecture> tuple, which accounts for modular packages
with multiple outputs.

Passing the `-c` or `--combined` flag will combine all the logs into a
single file, named <task id>.log
2024-07-25 21:44:31 -04:00
a019665f84
build RPM for peridot cli 2024-07-25 09:42:38 -04:00
resf-prow[bot]
dba4868fbc
Merge pull request #192 from rocky-linux/fix/debuginfo
fix: match against a regex for debug* packages
2024-07-23 22:11:25 +00:00
Louis Abel
05961c8f61
fix: match against a regex for debug* packages 2024-07-23 14:14:10 -07:00
resf-prow[bot]
68e2db8af0
Merge pull request #187 from mstg/support-v3-headers
Add support for V3 signature headers
2024-07-10 14:32:46 +00:00
Mustafa Gezen
1e93acfa76
Add support for V3 signature headers
Currently the signing process assumes that the "Package" size stays
consistent post-build and post-sign. This is a small
backwards-compatible change that properly sets a post-sign size in the
metadata during sync.
2024-04-30 01:17:10 +02:00
resf-prow[bot]
65b877b7e5
Merge pull request #186 from mstg/fix-lookaside
Fix authentication for machine clients
2024-04-25 14:46:39 +00:00
Mustafa Gezen
b63cd8ff31
Fix authentication for machine clients
New Hydra v2 doesn't return an empty sub, but rather nil. Using GetSub() should fix this so we can do an introspection and fill in userInfo.Sub
2024-04-25 16:43:29 +02:00
resf-prow[bot]
eddab71ce8
Merge pull request #185 from mstg/upgrade-go-fix-ppc64le
Upgrade Go to 1.22.2 and fix ppc64le builds
2024-04-25 13:19:40 +00:00
Mustafa Gezen
c660b1990f
Upgrade Go to 1.22.2 and fix ppc64le builds
Go 1.22.2 fixes some CVEs so we should upgrade. This PR reverts support
for "ppc64" in rules_go. It was a recent addition but breaks builds for
ppc64le. @platforms recently added explicit ppc64le support so when
rules_go switches to that we can remove this patch
2024-04-25 13:07:06 +02:00
resf-prow[bot]
2189a988d4
Merge pull request #184 from rocky-linux/fix-nvr-checks
add ^ as a character for release tag
2024-04-24 20:54:39 +00:00
Louis Abel
0c5227c146
add ^ as a character for release tag 2024-04-24 13:49:44 -07:00
resf-prow[bot]
6bcd4a3060
Merge pull request #178 from NeilHanlon/hotfix-obsidian
fix: check return of consent request and don't send context (apparently)
2024-03-17 21:48:48 +00:00
139989fc01
fix: check return of consent request and don't send context (apparently) 2024-03-17 16:26:50 -04:00
resf-prow[bot]
6a625b0957
Merge pull request #176 from mstg/hydra-v2-sdk
Major upgrades
2024-03-17 19:45:00 +00:00
Mustafa Gezen
ad0f7a5305
Major upgrades
Upgrade to Go 1.20.5, Hydra v2 SDK, rules-go v0.44.2 (with proper resolves), protobuf v25.3 and mass upgrade of Go dependencies.
2024-03-17 08:06:08 +01:00
resf-prow[bot]
64031c35c8
Merge pull request #167 from NeilHanlon/feat/cmd-project-info
feat: add command to dump project info as JSON
2024-02-29 00:18:31 +00:00
e39b29d30a
add project list command 2024-02-28 18:20:33 -05:00
a3cc1364df
feat: add command to dump project info as JSON 2024-02-28 18:16:31 -05:00
resf-prow[bot]
cedf1d1db1
Merge pull request #166 from mstg/frontend-common-autosignup-fix-v2
fix: make autosignup.mjs work with hydra v2
2024-02-23 22:59:26 +00:00
resf-prow[bot]
348e1f0962
Merge pull request #165 from mstg/upgrade-builder-image-230224
maintenance: upgrade base images and enable rpmautospec for RL10
2024-02-23 22:49:26 +00:00
Mustafa Gezen
3111f6fdc4
fix: make autosignup.mjs work with hydra v2 2024-02-23 23:44:11 +01:00
resf-prow[bot]
e1be0a6e92
Merge pull request #164 from NeilHanlon/fix/sync-hydra-to-ui
fix: hydra v2 removed arg
2024-02-23 22:33:26 +00:00
dd9c0aef15
fix: hydra v2 removed arg 2024-02-23 17:27:59 -05:00
Mustafa Gezen
ab09709b10
maintenance: upgrade base images and enable rpmautospec for RL10 2024-02-23 23:27:36 +01:00
resf-prow[bot]
71ee8feaf6
Merge pull request #163 from NeilHanlon/fix/sync-hydra-to-ui
fix: sync hydra deployment to ^2.0
2024-02-23 22:22:26 +00:00
53bfe835f0
fix: sync hydra deployment to ^2.0
UI was upgraded for hydra-client v2.0.2, but the chart deployment is
still deploying an incompatible server version causing a deployment
mismatch and failure to deploy the new peridot frontend
2024-02-23 17:16:34 -05:00
resf-prow[bot]
7a95bf17ec
Merge pull request #159 from mstg/latest-ir-fix
fix: Import Revisions from other projects should NOT be counted as latest
2024-01-25 06:18:58 +00:00
Mustafa Gezen
096a7fd3ee
fix: Import Revisions from other projects should NOT be counted as latest 2024-01-25 07:04:09 +01:00
resf-prow[bot]
1eae2071ae
Merge pull request #155 from rocky-linux/hotfix/timeouts
hotfix: increase heartbeat timeout for updateinfo activity, too
2023-11-09 04:03:44 +00:00
679a841c57
hotfix: increase heartbeat timeout for updateinfo activity, too
Signed-off-by: Neil Hanlon <neil@rockylinux.org>
2023-11-08 22:58:42 -05:00
resf-prow[bot]
62b626691a
Merge pull request #154 from mstg/hotfix-increase-timeout-again
hotfix: Increase timeout again (force re-deploy, reduce impacted list)
2023-11-09 00:29:43 +00:00
Mustafa Gezen
189b416f48
hotfix: Increase timeout again (force re-deploy, reduce impacted list) 2023-11-09 01:24:43 +01:00
Mustafa Gezen
ac49b359b4
Merge pull request #153 from mstg/hotfix-timeout-increase-yumrepofs 2023-11-09 01:21:57 +01:00
Mustafa Gezen
0fe924be64 New bazel diff version 2023-11-09 01:18:30 +01:00
Mustafa Gezen
dd80d922eb Match bazelversion to new image 2023-11-09 01:12:02 +01:00
Mustafa Gezen
1fba85e083
Merge pull request #152 from mstg/hotfix-presubmit 2023-11-09 01:06:42 +01:00
Mustafa Gezen
d6c6564852
Use newer CI images due to Bazel corruption issue 2023-11-09 01:02:38 +01:00
Mustafa Gezen
b5af09c028 hotfix: Increase yumrepofs update timeout to accommodate kernel 2023-11-09 00:44:09 +01:00
resf-prow[bot]
a2aef0460e
Merge pull request #150 from mstg/hotfix/heartbeat
Increase HeartbeatTimeout for BuildArchActivity
2023-10-23 13:09:26 +00:00
Mustafa Gezen
2d8541533d Increase HeartbeatTimeout for BuildArchActivity
Currently the Rust builds fails, most likely due to a lock that happens
with aarch64. Either the heartbeat tick dies early and timeout happens
right before success or something else makes heartbeats not work at all.
Best solution for now is to just increase timeout.
2023-10-23 09:53:48 +02:00
resf-prow[bot]
805fef24e5
Merge pull request #149 from mstg/updates-packages-ui
Change Affected Packages to Updated Packages
2023-10-16 20:29:18 +00:00
Mustafa Gezen
5f1ef27be1
Change Affected Packages to Updated Packages 2023-10-14 20:58:42 +02:00
resf-prow[bot]
3e40c16368
Merge pull request #146 from TrevorBenson/readme-include-wiki-reference
section for reporting issues
2023-09-25 20:52:59 +00:00
7011295290
section for reporting issues
Signed-off-by: illuminatus <trevor.benson@gmail.com>
2023-09-12 11:14:19 -07:00
resf-prow[bot]
163e01c788
Merge pull request #142 from NeilHanlon/remove-syncform-file-field
Remove file form field from CatalogSync
2023-07-31 05:20:09 +00:00
c88369fd66
Remove file form field from CatalogSync
This endpoint doesn't ask for a file, so this is superfluous and,
therefore, confusing.. me. It's confusing me.

Signed-off-by: Neil Hanlon <neil@rockylinux.org>
2023-07-26 16:15:26 -04:00
resf-prow[bot]
1adc5d0b93
Merge pull request #140 from mstg/dualstack-yumrepofs
Enable dual stack for yumrepofs s3
2023-07-18 15:06:57 +00:00
Mustafa Gezen
71e4fd8618
Enable dual stack for yumrepofs s3 2023-07-18 17:02:15 +02:00
resf-prow[bot]
320a10d11c
Merge pull request #113 from mstg/fix-nvr-for-upload
Allow ^ in version (NVR)
2023-04-23 18:36:37 +00:00