Commit Graph

139 Commits (unified-ui)

Author SHA1 Message Date
Dhruv Dhruv 411eda9819 Changing order of execution for postCreateCommand and using repo name as working dir (#2236)
* Changing order of execution for postCreateCommand and using repo name as working dir
2024-07-16 14:23:22 +00:00
Ansuman Satapathy 767bb717d9 feat: [CDE-142]: provider interface pass pointers. (#2232)
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
2024-07-16 13:06:08 +00:00
Dhruv Dhruv 6e516183fd feat: [CDE-163]: Moving dir creation and deletion to infra provider. Refactoring gitspace env variables. Renaming unprovisioning to deprovisioning. (#2231)
* feat: [CDE-163]: Moving dir creation and deletion to infra provider. Refactoring gitspace env variables. Renaming unprovisioning to deprovisioning.
2024-07-16 07:59:02 +00:00
Dhruv Dhruv b9d3bb4d2b feat: [CDE-140]: Adding docker machine host name config to identify the public host name on which the docker host is running. Updated the docker config to read from the default docker env variables if config values are not set. Updated the events timestamp to use nanoseconds. Fixed the working directory response and cleaned the logic of how the gitspace instance url is generated. Updated the scm service to parse repo name in a provider agnostic manner. (#2201)
* feat: [CDE-140]: Fixing ProvideGitspaceContainerOrchestratorConfig.
* feat: [CDE-140]: Fixing ProvideGitspaceContainerOrchestratorConfig.
* feat: [CDE-140]: Addressing review comments.
* feat: [CDE-140]: Reverting changes done for docker config default values. Adding default value of GITNESS_GITSPACE_DEFAULT_BIND_MOUNT_SOURCE_BASE_PATH and GITNESS_DOCKER_HOST to Dockerfile. Adding new column in gitspace_events table for storing event timestamp in nanoseconds and corresponding migrations.
* Lingting.
* feat: [CDE-140]: Adding docker machine host name config to identify the public host name on which the docker host is running. Updated the docker config to read from the default docker env variables if config values are not set. Updated the events timestamp to use nanoseconds. Fixed the working directory response and cleaned the logic of how the gitspace instance url is generated. Updated the scm service to parse repo name in a provider agnostic manner.
2024-07-13 04:35:20 +00:00
Dhruv Dhruv 87157de7fa feat: [CDE-127]: Adding changes to include logging in container orchestration's start flow. (#2192)
* feat: [CDE-96]: Renaming reusable scanner as scanner doesn't support resetting the reader. Removing closec as return param in livelog.Tail method. CLosing the handler channel when the stream is closed, this ensures the consumer to know the channel is closed. Adding a check in the render.StreamSSE to close the stream when the events channel is closed and drained.
* feat: [CDE-127]: Changes to enable log stream API for gitspaces. Adding close channel to the logstream Tail method. Changes to use a default host and working dir from config for a running gitspace instance's URL. Change to append gitspaces to the bind mount of the gitspace container in the container orchestrator instead of in the config provider.
* Initial commit
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Adding flush stream logic to delete gitspace in orchestrator. Linting.
* feat: [CDE-127]: Addressing review comments.
* feat: [CDE-127]: Adding changes to make logutil.StatefulLogger a wrapper on livelog.LogStream and adding initialisation and flush functions.
* feat: [CDE-127]: Adding changes to make logutil.StatefulLogger a wrapper on livelog.LogStream and adding initialisation and flush functions.
* feat: [CDE-127]: Adding changes to include logging in container orchestration's start flow.
2024-07-10 10:25:41 +00:00
Dhruv Dhruv 3ccd39df01 feat: [CDE-126]: Addressing review comments. (#2171)
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
2024-07-05 11:20:09 +00:00
Dhruv Dhruv 3acded8ed8 feat: [CDE-92]: Container orchestrator and IDE service
* feat: [CDE-92]: Removing Client method from infraprovider interface and using DockerClientFactory to generate docker clients. Using go templates to substitute values in gitspace scripts. Setting a default base path for gitspaces if not provided.
* Rebasing
* feat: [CDE-92]: Addressing review comments.
* Rebasing
* Rebasing
* feat: [CDE-92]: Addressing review comments
* Rebasing
* feat: [CDE-92]: Using port from config for code-server installation
* feat: [CDE-92]: Initial commit
* Rebasing
2024-07-05 05:28:31 +00:00
Enver Biševac 2f8900e463 [code-1946] initial work on ssh server (#2075) 2024-06-03 12:47:31 +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
Vistaar Juneja 76e3c06b6b Templates support for v1 pipelines (#955) 2024-01-12 11:02:31 +00:00
Johannes Batzill 53555544a2 [Webhook] Add UID field (#936) 2023-12-29 16:39:45 +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
Johannes Batzill 1d8d50a188 [Githook] Introduce InMemory Githook (#916) 2023-12-19 15:50:15 +00:00
Atefeh Mohseni-Ejiyeh 3dbaef0eb8 separate job package config from gitness types (#897) 2023-12-13 06:15:09 +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
Akhilesh Pandey 02aac02993 feat: process notification and send emails (#803) 2023-12-06 22:07:29 +00:00
Shubham Agrawal 1a2a456550 Add interfaces for keyword search (#816) 2023-11-29 18:02:46 +00:00
Akhilesh Pandey 00a69152d7 feat: add impersonation support to gcs client (#810) 2023-11-17 21:15:05 +00:00
Enver Bisevac 67f560874d [maint] gitrpc package removed (#726) 2023-11-15 10:15:32 +00:00
Abhinav Singh 8c68b0cd51 feat: codeowners multi location (#785) 2023-11-10 01:51:02 +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
Akhilesh Pandey 23b9117302 feat: Image Upload (Backend) (#651) 2023-10-11 17:54:03 +00:00
Johannes Batzill 1220faf659 [Pipelines] Replace logger with zerolog (#670) 2023-10-11 16:00:22 +00:00
Johannes Batzill 7334c4b8ed [MISC] Extend support of URL Configuration (#645) 2023-10-03 19:32:35 +00:00
Johannes Batzill d83552f288 [MISC] Cleanup stale `Webhook-Executions` & `Session Tokens` (#640) 2023-10-03 17:54:18 +00:00
Johannes Batzill f51f97adb2 [MISC] Make `Internal`/`Container` URL Generic (and fix `GetTreeNode`) (#621) 2023-09-28 03:33:45 +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 5ca48e7f59 [MISC] Replace `BIND` with `PORT`, fix space_path for postgres (#607) 2023-09-25 22:34:45 +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
Vistaar Juneja 40af7bfa33 add plugins support for v1 YAML (#552) 2023-09-19 21:05:50 +00:00
Johannes Batzill ae42cabc15 [Harness] Fix Harness Build (#488) 2023-09-14 16:23:07 +00: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
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 9361734683 add ENABLE_CI and pass in CI implementations to harness wire 2023-09-07 18:50:35 +01:00
Vistaar Juneja 4c8302845d add logic to run executions 2023-09-07 11:07:49 +01:00
Marko Gaćeša 045d80c5bf background jobs 2023-08-29 17:57:09 +02:00
Hitesh Aringa ce90c63d01 [CODE-717]: redis sentinel mode (#292) 2023-08-11 16:28:53 +00:00
Johannes Batzill c8ce82d197 [Standalone] Make Token Expiration Optional & Fix CLI Register + Login (#239) 2023-07-26 01:03:03 +00:00
Johannes Batzill 45e48a2b05 [GITHA] Expose GRPC Server/Client Configurations for HA Kubernetes Deployment (#231) 2023-07-25 18:15:06 +00:00
Johannes Batzill 5543fba0b4 [GIHA] Introduce `githa` custom githook binary (#186) 2023-07-12 15:49:06 +00:00
Johannes Batzill 59e3bff412 fix missed error and linting errors 2023-06-26 11:37:08 -07: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