Commit Graph

226 Commits

Author SHA1 Message Date
Darko Draskovic
8dc82433c5 Add generic pre/post receive extender (#1138) 2024-03-26 18:17:28 +00:00
Atefeh Mohseni-Ejiyeh
5d0d28e4a3 Support Space Soft Delete, Restore, and Purge (#1076) 2024-03-21 23:34:19 +00:00
Abhinav Singh
16ef31bcb6 feat: support diff repo id check in harness code (#1123) 2024-03-21 00:38:18 +00:00
Atefeh Mohseni-Ejiyeh
fc9e77c91c Support soft delete, restore and purge repos plus a cleanup job for old deleted repos (#1005) 2024-02-14 01:39:39 +00:00
Johannes Batzill
c270b8f7b9 [CLI] move swagger+server under cli/operations (#1011) 2024-02-01 19:41:32 +00:00
Abhinav Singh
87cae05747 feat: different openapi for harness code (#997) 2024-01-30 21:51:44 +00:00
Johannes Batzill
adf2046a94 [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
Atefeh Mohseni-Ejiyeh
29f781201f support update default branch (#973) 2024-01-20 07:10:16 +00:00
Vistaar Juneja
76e3c06b6b Templates support for v1 pipelines (#955) 2024-01-12 11:02:31 +00:00
Vistaar Juneja
a27a1e4abb add support for starlark/jsonnet for drone v1 (#940) 2024-01-05 14:10:22 +00:00
Darko Draskovic
dd49c18b2e Add a repo size limiter method to Unlimited limiter (#943) 2024-01-03 14:13:51 +00:00
Darko Draskovic
c58e82672b Add func to git service to count repo objects and read repo size (#886) 2023-12-29 12:33:53 +00:00
Darko Draskovic
1a8e99f0b6 Add noop repo resource limiter to controller (#926) 2023-12-22 17:31:15 +00:00
Johannes Batzill
1d8d50a188 [Githook] Introduce InMemory Githook (#916) 2023-12-19 15:50:15 +00:00
Abhinav Singh
05af8b777b feat: refactor status check to create abstraction (#902) 2023-12-15 07:13:13 +00:00
Atefeh Mohseni-Ejiyeh
3dbaef0eb8 separate job package config from gitness types (#897) 2023-12-13 06:15:09 +00:00
Marko Gacesa
a7f11126fa remove gogit (#887) 2023-12-11 10:15:15 +00:00
Johannes Batzill
ff9843db26 [MISC] Fix Missuage of processGiteaErrorf (#891) 2023-12-08 23:55:04 +00:00
Johannes Batzill
b8942a4e41 [GIT] Enable Trace Logging (#888) 2023-12-08 22:50:16 +00:00
Atefeh Mohseni-Ejiyeh
5aec7bf37f move job package to the top level (#883) 2023-12-08 17:06:44 +00:00
Marko Gacesa
1899e70e56 detect force push (#856) 2023-12-07 10:25:08 +00:00
Marko Gacesa
90d8ac7193 remove gogit from last commit cache (#877) 2023-12-07 10:24:58 +00:00
Akhilesh Pandey
02aac02993 feat: process notification and send emails (#803) 2023-12-06 22:07:29 +00:00
Marko Gacesa
25d282073d return user info for rule bypass users (#867) 2023-12-05 19:04:04 +00:00
Abhinav Singh
04566e1cf9 feat: support codewoners usrgrp (#826) 2023-11-30 04:02:28 +00:00
Shubham Agrawal
1a2a456550 Add interfaces for keyword search (#816) 2023-11-29 18:02:46 +00:00
Akhilesh Pandey
4fc38bca65 feat: Update token source impersonation and add expiration check (#815) 2023-11-27 14:41:39 +00:00
Enver Bisevac
67f560874d [maint] gitrpc package removed (#726) 2023-11-15 10:15:32 +00:00
Akhilesh Pandey
66ff29d36e feat: introduce new event for repo deletion and refactor existing pullreqevents to repoevents (#736) 2023-11-13 18:37:53 +00:00
Vistaar Juneja
d219d79395 add build link to envs while running pipelines (#773) 2023-11-13 12:01:33 +00:00
Marko Gacesa
b6ee8b6ba9 fix sse space events API blocking app shutdown (#774) 2023-11-08 07:24:14 +00:00
Abhinav Singh
adbe2f6f97 feat: [CODE-967]: codeowners service e2e (#695) 2023-10-26 16:50:59 +00:00
Johannes Batzill
0961ee0906 [MISC] Separate Git Smart HTTP Protocol Into Handler and Controller (#717) 2023-10-25 17:23:19 +00:00
Marko Gacesa
7ab52c1764 add protection to prevent direct push (#712) 2023-10-24 14:22:06 +00:00
Abhinav Singh
3b2ed1de50 feat: [CODE-580]: code comment webhook (#706) 2023-10-23 23:59:45 +00:00
Johannes Batzill
1ea0025f99 [MISC] Fix Linting/Formatting/Generated Files (#697) 2023-10-19 00:36:07 +00:00
Abhinav Singh
1a07ee90d2 fix: [CODE-965]: codeowners file parse (#684) 2023-10-18 06:38:50 +00:00
Marko Gacesa
419fe92dde add branch protection: DB and API layer (#671) 2023-10-16 11:33:00 +00:00
Akhilesh Pandey
23b9117302 feat: Image Upload (Backend) (#651) 2023-10-11 17:54:03 +00:00
Enver Bisevac
1c762c6802 [maint] add docker buildx support (#661) 2023-10-06 22:53:48 +00:00
Johannes Batzill
d83552f288 [MISC] Cleanup stale Webhook-Executions & Session Tokens (#640) 2023-10-03 17:54:18 +00:00
Johannes Batzill
cb518d5197 [MISC] Redirect Clone URL to Repo Page (#641) 2023-10-03 15:51:18 +00:00
Marko Gaćeša
933d2d9703 remove sqlx.DB from controllers and services 2023-09-28 14:07:25 +02:00
Johannes Batzill
5b33258589 [MISC] Abstract URL Provider (#617) 2023-09-27 02:42:33 +00:00
Johannes Batzill
a8cb5dc8d2 remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
Johannes Batzill
dc351cdcef [LINT] Fix All Linting Errors (#609) 2023-09-26 00:56:53 +00:00
Johannes Batzill
1246bd78ab [MISC] improve url generation to reduce configuration overhead (#606) 2023-09-25 17:58:20 +00:00
Johannes Batzill
a83cd21c17 [OPEN-SOURCE] Prepare Repository (#605) 2023-09-24 07:33:16 +00:00
Johannes Batzill
6c42b77500 [SSE] Add full stack SSE support for PRs (#591) 2023-09-21 02:55:41 +00:00
Enver Bisevac
138f47dd92 Merge branch 'eb/cookiename-configurable' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#573) 2023-09-20 15:00:18 +00:00
Enver Bisevac
36f83c8652 cookie name configurable 2023-09-20 16:54:47 +02:00
Vistaar Juneja
0305eb8431 write to checks store in case of cancellation (#572) 2023-09-20 14:00:11 +00:00
Vistaar Juneja
40af7bfa33 add plugins support for v1 YAML (#552) 2023-09-19 21:05:50 +00:00
Marko Gaćeša
a0d63707df introduce git object cache for gogit 2023-09-19 16:36:57 +02:00
Johannes Batzill
ebe2800101 [Webhooks] Add Encryption support (#520) 2023-09-18 16:00:22 +00:00
Johannes Batzill
27de7971b9 [File Viewed] Adding Full Stack Support for File Viewed Feature (#516) 2023-09-18 15:59:40 +00:00
Johannes Batzill
0a9dde7459 [Refactor] Move from paths to space_paths Table (#500) 2023-09-15 15:19:53 +00:00
Abhinav Singh
4ff032c968 feat: [CODE-852]: code export e2e (#483) 2023-09-15 08:08:13 +00:00
Marko Gaćeša
b78c04e054 import pipelines 2023-09-14 17:22:26 +02:00
Enver Bisevac
53d277b108 metrics collector added 2023-09-14 13:25:44 +02:00
Johannes Batzill
8cd3e5d015 [Standalone] Add temporary JWT for pipeline executions (#480) 2023-09-14 08:54:03 +00:00
Abhinav Singh
32014f0776 feat: [CODE-853]: harness code client 2023-09-13 15:33:36 -07:00
Abhinav Singh
b41a40082b Merge remote-tracking branch 'origin' into abhinav/CODE-830 2023-09-13 15:28:46 -07:00
Vistaar Juneja
625d8af797 add cancellation support for CI builds (#456) 2023-09-13 15:22:26 +00:00
Vistaar Juneja
3bc56a1814 add support for checks summary in CI (#436) 2023-09-13 09:55:25 +00:00
Johannes Batzill
db4379e5b9 [SSE] Add repository_import_completed event (#445) 2023-09-13 02:45:03 +00:00
Johannes Batzill
ef4855e901 [Server Sent Events] Improve both Frontend and Backend (#441) 2023-09-12 23:45:54 +00:00
Abhinav Singh
3ec8d18fbf Merge remote-tracking branch 'origin' into abhinav/CODE-830 2023-09-12 16:20:15 -07:00
Johannes Batzill
50b66d9342 [PR] Recheck Unchecked PR Merge Status (#434) 2023-09-12 16:26:18 +00:00
Marko Gaćeša
68792a9581 require scm auth for import API; import repo job encrypt 2023-09-12 15:01:01 +02:00
Vistaar Juneja
c7ef132cbc add support for triggered builds (#428) 2023-09-12 09:08:38 +00:00
Abhinav Singh
54154ec7d6 feat: [CODE-830]: export init commit 2023-09-11 16:10:23 -07:00
Abhinav Singh
742eea6321 Merge remote-tracking branch 'origin' into abhinav/CODE-830 2023-09-11 15:59:23 -07:00
Abhinav Singh
4ae38988db feat: [CODE-830]: export init commit 2023-09-11 15:58:21 -07:00
Marko Gaćeša
cde80d53a8 add space import 2023-09-09 12:55:49 +02:00
Johannes Batzill
0d086a1a4d [Events] This PR introduces the Trigger Service for Event Consumption + Some Minor improvements (#419) 2023-09-08 23:52:19 +00:00
Vistaar Juneja
5000e78b5e rename Events interface to EventsStreamer, add file header 2023-09-08 13:15:18 +01:00
Vistaar Juneja
414993a388 add pubsub for events 2023-09-08 12:52:25 +01:00
Marko Gaćeša
239ae8f10f add repo import api 2023-09-08 11:55:38 +02:00
Vistaar Juneja
9361734683 add ENABLE_CI and pass in CI implementations to harness wire 2023-09-07 18:50:35 +01:00
Vistaar Juneja
501605721e address comments, fix stage and step join 2023-09-07 16:29:15 +01:00
Vistaar Juneja
4c8302845d add logic to run executions 2023-09-07 11:07:49 +01:00
Vistaar Juneja
d15aa03dfd move pipelines, executions, triggers & logs under repos (#376) 2023-08-31 08:03:33 +00:00
Marko Gacesa
5a2caa9c3e Merge branch 'mg/jobs/initial' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#342) 2023-08-29 16:29:37 +00:00
Marko Gaćeša
045d80c5bf background jobs 2023-08-29 17:57:09 +02:00
Vistaar Juneja
a1948ff42d Add plugins list API (#349) 2023-08-28 19:02:46 +00:00
Marko Gaćeša
dea23b88a4 add filtering and pagination to the user's list spaces API 2023-08-28 14:02:58 +02:00
Vistaar Juneja
ebfac87860 fix some formatting 2023-08-22 15:28:30 +01:00
Vistaar Juneja
ef69decbde Run make format 2023-08-22 15:08:46 +01:00
Vistaar Juneja
887670bd7d add openapi defs 2023-08-22 14:05:13 +01:00
Vistaar Juneja
2870aaaabc added controllers and handlers for connectors, triggers, templates 2023-08-22 14:05:13 +01:00
Johannes Batzill
3cec2573a2 [GITHA] Add githaserver executable (#331) 2023-08-17 17:51:38 +00:00
Vistaar Juneja
13ae2a0361 fix lint/format 2023-08-17 12:15:45 +01:00
Vistaar Juneja
f784eedeae working executions flow 2023-08-17 12:15:09 +01:00
Vistaar Juneja
443ec9e600 use stage store and step store to fetch logs 2023-08-17 12:15:09 +01:00
Vistaar Juneja
b6304683d4 add livelog and move logs to log controller 2023-08-17 12:15:08 +01:00
Vistaar Juneja
6ae5145be4 add log data store for s3/DB 2023-08-17 12:13:25 +01:00
Akhilesh Pandey
34e46c30c1 Merge branch 'main' into akp/CODE-617 2023-08-17 01:07:59 +05:30
Vistaar Juneja
29c494c23f Merge branch 'ci_gitness' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#273) 2023-08-11 16:55:54 +00:00
Vistaar Juneja
d1d50377fc address comments 2023-08-11 11:36:39 +01:00
Marko Gaćeša
4f1767d512 dedicated api to get the last commit info 2023-08-10 18:42:10 +02:00
Vistaar Juneja
01fffd56a3 address comments 2023-08-10 14:33:02 +01:00
Vistaar Juneja
e24eb858d5 run make format and fix lint errors 2023-08-09 23:00:33 +01:00
Vistaar Juneja
f35d8fe03d add list secrets 2023-08-09 17:19:26 +01:00
Vistaar Juneja
26d6651168 address comments, complete secret CRUD 2023-08-09 15:02:48 +01:00
Vistaar Juneja
bc921ac1a2 add execution endpoints 2023-08-07 02:19:41 +01:00
Vistaar Juneja
4390376acd add list, fix delete 2023-08-04 16:44:51 +01:00
Vistaar Juneja
8cdcecb56f add pipelines and executions handlers to gitness 2023-08-04 10:50:39 +01:00
Akhilesh Pandey
8f2c1d93ef Merge branch 'main' into akp/CODE-617 2023-08-01 17:40:50 +05:30
Hitesh Aringa
592a9aeb63 [PR Check] Fix PR Status Check Bug (#253) 2023-07-28 23:15:01 +00:00
Johannes Batzill
338271fb14 feat: [CODE-674]: user's space membership; membership API pagination (#241) 2023-07-26 20:53:42 +00:00
Akhilesh Pandey
2759673713 [CODE-621]: Remove config from function parameter and initialize it in the constructor 2023-07-26 00:20:21 +05:30
Akhilesh Pandey
0539a21719 [CODE-617]: Create new component for system controller and move configs API to it 2023-07-24 20:01:41 +05:30
Johannes Batzill
baa4eb5ac9 feat: [CODE-626,CODE-627]: space membership API&DB (#194) 2023-07-20 21:20:56 +00:00
Johannes Batzill
5543fba0b4 [GIHA] Introduce githa custom githook binary (#186) 2023-07-12 15:49:06 +00:00
Atefeh Mohseni-Ejiyeh
4dde956e83 removed wrong build tags for gitness standalone (#175) 2023-07-05 16:29:02 +00:00
Johannes Batzill
63c45cb0db [GITHA] Prepare GITRPC for GITHA changes (HTTP Server, GRPC Operations: Sync, RemoteDefaultBranch, Deterministic CommitID) (#153) 2023-06-22 16:54:18 +00:00
Johannes Batzill
36e8bdb368 [GITHA] Introduce Generic store Package (#143) 2023-06-20 00:26:40 +00:00
Atefeh Mohseni-Ejiyeh
96f331c4c2 [hotfix] update setting harness events streams prefix to avoid changing global variable (#149) 2023-06-19 23:12:27 +00:00
Johannes Batzill
d80fc15753 [GITHA] Prepare lock package (#144) 2023-06-19 15:35:46 +00:00
Johannes Batzill
06067d4f6c Fix Linting errors (#142) 2023-06-15 21:27:06 +00:00
Johannes Batzill
e1a24699c3 CODE-385: Search and Add reviewers to Database API (#126) 2023-06-15 20:26:36 +00:00
Enver Bisevac
43f0be35e0 [MAINT] Isolate harness app into harness package (#133) 2023-06-15 13:35:12 +00:00
Enver Bisevac
85361d27fb docker UBI images for pipelines 2023-06-06 15:39:38 +02:00
Johannes Batzill
7da9bce7c1 [Githook] Add GitHook binary (#259)
This PR adds a githook sub-package to our cmd packages, introducing the githook binary.
The binary is linked as pre-receie/update/post-receive by gitrpc if configured.
This is required to have a gitrpc deployment without requiring the one-in-all gitness binary on the same machine.
2023-01-27 13:04:58 -08:00
Johannes Batzill
114cdb34e0 [GITRPC] Add GitRPC Binary (#257) 2023-01-27 10:34:42 -08:00