Ansuman Satapathy
a802fc8d29
feat: [CDE-336]: call gitspaces stop only when required. ( #2762 )
...
* feat: [CDE-336]: call stop only when required.
* feat: [CDE-336]: call stop only when required.
* feat: [CDE-336]: call stop only when required.
2024-10-02 08:31:28 +00:00
Dhruv Dhruv
efcfd92517
feat: [CDE-350]: Adding columns for active time start and end in gitspace table. ( #2744 )
...
* feat: [CDE-350]: Adding columns for active time start and end in gitspace table.
2024-09-26 10:35:42 +00:00
Ansuman Satapathy
827305afdb
feat: [CDE-336]: update heartbeat for gitspace instance ( #2742 )
...
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
2024-09-26 08:27:34 +00:00
Patrick Wolf
d789e5775e
feat: [CODE-2402] : Update all occurences of 'gitness' to 'harness' within comments and markdown. Updated the logo reference (did not delete the Gitness logo directory yet). No active code changes except display strings. ( #2684 )
...
* Apply suggestion from code review
* updating images for signin and register page.
* fix: lint
* fix: logo update
* revert golangci
* Adding more strings and updated the logo. Still need to update the signin page images
* Apply suggestion from code review
Updating harness logo to use Open Source logo
* Update all occurences of 'gitness' to 'harness' within comments and markdown. Updated the logo reference (did not delete the Gitness logo directory yet). No active code changes except display strings.
2024-09-25 00:13:28 +00:00
Vikyath Harekal
8bcd4aa0a6
feat: [CDE-334]: infra.HostScheme is already set ( #2720 )
...
* feat: [CDE-334]: infra.HostScheme is already set
2024-09-23 11:18:52 +00:00
Kapil Garg
370007c0f7
remove creds from clone url ( #2653 )
...
* wrap template variables in quotes
* remove redundant fields from credentials
* add creds in gitness clone url
* set git user name and email after cloning
* remove creds from clone url
2024-09-09 08:30:04 +00:00
Ansuman Satapathy
f8f54c43c7
feat: [CDE-202]: remove extra spaceID ( #2641 )
...
* feat: [CDE-202]: remove extra spaceID
* feat: [CDE-202]: remove extra spaceID
* feat: [CDE-202]: remove extra spaceID
2024-09-03 14:07:52 +00:00
Ansuman Satapathy
5cfd41ae1a
feat: [CDE-202]: infra provider resource cache ( #2637 )
...
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
2024-09-03 09:59:29 +00:00
Vikyath Harekal
636f6a9847
feat: [CDE-284]: Return infra by unmarshalling it from meetadata ( #2638 )
...
* feat: [CDE-284]: fix lint
* feat: [CDE-284]: Return infra by unmarshalling it from meetadata
2024-09-03 09:44:04 +00:00
Dhruv Dhruv
38023da2db
feat: [CDE-286]: Moving user and git mgmt to respective services. ( #2634 )
...
* feat: [CDE-286]: Moving user and git mgmt to respective services.
2024-09-02 10:27:27 +00:00
Ansuman Satapathy
3b0c20ae53
fix: [CDE-244]: set user details automatically ( #2632 )
...
* fix: [CDE-244]: set user details automatically
* fix: [CDE-244]: set user details automatically
* fix: [CDE-244]: set user details automatically
2024-09-02 07:16:07 +00:00
Dhruv Dhruv
d50945fd60
feat: [CDE-278]: Ensure infra is in provisioned state before triggering stop or delete, or before fectching logs. ( #2616 )
...
* feat: [CDE-278]: Ensure infra is in provisioned state before triggering stop or delete, or before fectching logs.
2024-08-29 13:38:54 +00:00
Kapil Garg
1697d15f8e
create ssh directory in manager_user ( #2598 )
...
* set user directory perm to 755
* set userpass in case of ssh
* fix ssh server script
* change access type if condition
* create ssh directory in manager_user
2024-08-27 18:06:50 +00:00
Kapil Garg
7af28da479
add credentials in getfilecontent ( #2591 )
...
* add credentials in getfilecontent
2024-08-26 19:23:28 +00:00
Ansuman Satapathy
fde5e2c93b
fix: [CDE-244]: infra status stopped added ( #2587 )
...
* Merge remote-tracking branch 'origin/main' into vm_suspend_gitness
* fix: [CDE-244]: infra status stopped added
* fix: [CDE-244]: infra status stopped added
2024-08-26 12:27:27 +00:00
Kapil Garg
b79d217d8f
add missing fields in scm types ( #2586 )
...
* add missing fields in scm types
2024-08-26 10:31:00 +00:00
Kapil Garg
e888f8c481
add methods in gitness scm ( #2540 )
...
* fix lint issue
* fix lint issue
* add credentials in methods
* add methods in gitness scm
2024-08-26 09:11:45 +00:00
Vikyath Harekal
57e7b7247c
feat: [CDE-242]: Find flow for ovh ( #2532 )
...
* feat: [CDE-242]: refactor
* feat: [CDE-242]: Find flow for ovh
2024-08-21 04:40:56 +00:00
Kapil Garg
516fd5c1ca
add scm provider in lookup repo ( #2544 )
...
* fix: [CDE-244]: added validation for missing URL ref
* fix: [CDE-244]: added validation for missing URL ref
* fix: [CDE-244]: added validation for missing URL ref
* treat empty input as unknown repo type
* add scm provider in lookup repo
2024-08-20 13:16:32 +00:00
Ansuman Satapathy
93af2c724e
feat: [CDE-192]: show user info for gitspace listing. ( #2531 )
...
* feat: [CDE-192]: added TODO to move to user int as key
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: wire principal info cache
* feat: [CDE-192]: show user info for gitspace listing.
* feat: [CDE-192]: show user info for gitspace listing.
2024-08-20 09:34:10 +00:00
Dhruv Dhruv
0f8eb568e2
feat: [CDE-241]: Adding protocol to the gitspace port returned by the IDE and corresponding changes. Fixing gitspace instance's reference instead of value in the orchestrator. ( #2521 )
...
* feat: [CDE-241]: Addressing review comment.
* feat: [CDE-241]: Addressing review comment.
* feat: [CDE-241]: Adding protocol to the gitspace port returned by the IDE and corresponding changes. Fixing gitspace instance's reference instead of value in the orchestrator.
2024-08-16 08:31:05 +00:00
Ansuman Satapathy
2f3b6a6f85
feat: [CDE-177]: Update listing page for CDE ( #2506 )
...
* feat: [CDE-207]: Fixed typecheck (#2513 )
* feat: [CDE-207]: remove currentUserInfo app prop
* Merge branch 'CDE-207-FixTypeCheck' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-207-FixTypeCheck
* feat: [CDE-207]: remove currentUserInfo app prop
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* fix lint errors (#2520 )
* add copyright header
* add copyright header
* fix lint errors
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: fix gitspace instance store
* Merge remote-tracking branch 'origin/main' into CDE-New
* add secret resolver in gitness (#2493 )
* rename identifier to space identifier
* update factory method
* remove access_key from gitspace table
* add access key and type to devcontainer exec
* add migration for gitspace access key ref
* fix error message for resolver factory
* update resolver interface
* add secret resolver in gitness
* feat: [CDE-192]: correctly update date and sync update
* Merge remote-tracking branch 'origin/main' into CDE-New
# Conflicts:
# app/api/controller/gitspace/action.go
# app/api/controller/gitspace/delete.go
* feat: [CDE-192]: correctly update dates for updated
* feat: [CDE-192]: handle empty inputparams
* feat: [CDE-192]: handle empty inputparams
* Merge remote-tracking branch 'origin/main' into CDE-New
* Merge remote-tracking branch 'origin/main' into CDE-New
* feat: [CDE-207]: Use SCM api hook (#2499 )
* feat: [CDE-207]: Updated Strings
* feat: [CDE-207]: Use SCM api hook
* feat: fixed string issue (#2476 )
* feat: [CDE-211]: fixed lint issues
* feat: [CDE-211]: fixed lint issues
* feat: fixed string issue
* feat: fixed string issue (#2474 )
* feat: fixed string issue
* add ssh identifier in map functions in gitness store
* add ssh fields in types
* feat: fixed GitspaceCodeRepoType in create payload
* feat: updated common hooks
* feat: update for listing
* feat: update for listing
* feat: removed cde folder
* feat: [CDE-177]: Update listing page for CDE
2024-08-16 06:46:02 +00:00
Ansuman Satapathy
7a3df78d8b
feat: [CDE-192]: correctly cache login info during first checkout ( #2515 )
...
* feat: [CDE-192]: correctly cache login info during first checkout
2024-08-15 05:33:11 +00:00
Dhruv Dhruv
dcf2068873
feat: [CDE-192]: Updating instance state synchronously when calling orchestrator's trigger flows. ( #2505 )
...
* feat: [CDE-192]: Updating instance state synchronously when calling orchestrator's trigger flows.
2024-08-14 11:57:19 +00:00
Ansuman Satapathy
99d8d2d6a3
feat: [CDE-192]: make hosts and ports in gitspace infrastructure more verbose ( #2496 )
...
* feat: [CDE-192]: make hosts and ports in gitspace infrastructure more verbose
2024-08-13 11:42:01 +00:00
Dhruv Dhruv
1e3c910c07
feat: [CDE-231]: Adding logs method to orchestrator and fixing logic to catch cmd execuction errors in devcontainer.Exec. ( #2472 )
...
* feat: [CDE-231]: Adding logs method to orchestrator and fixing logic to catch cmd execuction errors in devcontainer.Exec.
2024-08-13 04:27:04 +00:00
Ansuman Satapathy
65b3cabf8f
feat: [CDE-192]: validate url scheme for repos for gitspaces ( #2464 )
...
* feat: [CDE-192]: validate url scheme for repos for gitspaces
2024-08-11 07:04:10 +00:00
Dhruv Dhruv
b1b4111271
fix: [CDE-229]: Updating code-repo mgmt inside gitspace container. ( #2460 )
...
* feat: [CDE-230]: Cleaning logs from command exec inside gitspace container.
* fix: [CDE-229]: Updating code-repo mgmt inside gitspace container.
2024-08-11 05:22:58 +00:00
Dhruv Dhruv
e1979c0b24
feat: [CDE-228]: Remove raw template params from the list of final params passed to the provider. ( #2452 )
...
* feat: [CDE-228]: Remove raw template params from the list of final params passed to the provider.
2024-08-09 15:49:11 +00:00
Ansuman Satapathy
a8ea70c96d
feat: [CDE-192]: use json library to serde ( #2451 )
...
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
2024-08-09 14:23:31 +00:00
Dhruv Dhruv
008aa5c17a
feat: [CDE-227]: Change SSH port for VSCode. ( #2445 )
...
* feat: [CDE-227]: Change SSH port for VSCode.
2024-08-09 08:31:14 +00:00
Dhruv Dhruv
52bfdfb3f8
feat: [CDE-220]: Adding gitspace instance identifier to infra provisioning. Adding checks to ensure infra status is always same as required. Adding infra status type error enum. Adding util method to derive gitspace container name. Cleaning parameters to use values instead of references. Refactoring fields for infra struct to make them more explicit. Adding config to read agent port and pass it on to infra provider for provisioning and finding. ( #2411 )
...
* feat: [CDE:220]: Adding util method to get working dir from repo name.
* feat: [CDE:220]: Addressing review comments.
* feat: [CDE-220]: Adding gitspace instance identifier to infra provisioning. Adding checks to ensure infra status is always same as required. Adding infra status type error enum. Adding util method to derive gitspace container name. Cleaning parameters to use values instead of references. Refactoring fields for infra struct to make them more explicit. Adding config to read agent port and pass it on to infra provider for provisioning and finding.
2024-08-07 02:29:10 +00:00
Ansuman Satapathy
ce8b17bb93
feat: [CDE-192]: handle docker-host for non darwin internal url ( #2406 )
...
* feat: [CDE-192]: handle docker-host for non darwin internal url
* feat: [CDE-192]: handle docker-host for non darwin internal url
2024-08-06 11:10:42 +00:00
Dhruv Dhruv
34a07f4d8b
feat: [CDE-192]: Adding infra template and provisioned stores and using those in infra provisioning flows. ( #2392 )
...
* Addressing review comments and fixing lint issues.
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: Adding infra template and provisioned stores and using those in infra provisioning flows.
2024-08-05 07:48:47 +00:00
Dhruv Dhruv
9d5071b45c
feat: [CDE-203]: Making infra processing async. ( #2325 )
...
* Cleaning the flow around gitspace instance update.
* Renaming params and param schema types.
* Correcting comments.
* feat: [CDE-203]: Making infra processing async.
* feat: [CDE-203]: Making infra processing async.
* feat: [CDE-203]: Making infra processing async.
2024-08-01 10:01:31 +00:00
Shashwat Sachan
1e6330a589
feat: [CDE-195]: gitness use repo ref ( #2336 )
...
* feat: [CDE-195]: gitness use repo ref
* feat: [CDE-195]: UI changes for type and ref.
* feat: [CDE-195]: gitness use repo ref
2024-07-31 14:30:09 +00:00
Kapil Garg
3edc1db615
feat: [CDE-195]: Add factory constructor method to create factory with providers map ( #2323 )
...
* update method name
* feat: [CDE-195]: Add factory constructor method to create factory with providers map
2024-07-30 10:49:24 +00:00
Ansuman Satapathy
a3203ef284
feat: [CDE-195]: missing repo type is treated as unknown for gitspaces ( #2317 )
...
* feat: [CDE-195]: missing repo type is treated as unknown for gitspaces
2024-07-30 08:14:49 +00:00
Ansuman Satapathy
42af216dc7
feat: [CDE-195]: use dependency-injection for scm providers for gitspaces. ( #2308 )
...
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
2024-07-30 07:02:59 +00:00
Ansuman Satapathy
f7928f1f77
feat: [CDE-195]: autoset git user config for internal repos ( #2304 )
...
* feat: [CDE-195]: autoset git user config for internal repos
2024-07-29 06:52:07 +00:00
Vistaar Juneja
722caeddf8
fix: [CI-13599]: use latest version of docker ( #2288 )
...
* fix merge conflicts
* fix pr checks
* fix go mod tidy
* fix: [CI-13599]: use latest version of docker
2024-07-26 13:04:45 +00:00
Ansuman Satapathy
b6034a25aa
feat: [CDE-195]: read devcontainer.json directly for gitness ( #2294 )
...
* feat: [CDE-195]: Run VS Code Web as non-root user.
* feat: [CDE-195]: read devcontainer.json directly for gitness
2024-07-26 12:44:36 +00:00
Dhruv Dhruv
9232029c74
WIP ( #2284 )
...
* feat: [CDE-194]: Reverting docker port range changes.
* feat: [CDE-194]: Removing extra types.
* feat: [CDE-194]: Restructuring code around port publishing and forwarding.
* WIP
* WIP
* WIP
* WIP
2024-07-26 06:26:22 +00:00
Dhruv Dhruv
fb88cb34ab
feat: [CDE-182]: Using go:embed to load logo files. ( #2260 )
...
* feat: [CDE-182]: Using go:embed to load logo files.
2024-07-22 13:12:15 +00:00
Dhruv Dhruv
bed2659e03
feat: [CDE-182]: Fixing clone check. ( #2259 )
...
* feat: [CDE-182]: Fixing clone check.
2024-07-22 11:24:33 +00:00
Dhruv Dhruv
d159df6b7b
feat: [CDE-182]: Changes to replace default vs code web icons with gitspaces icons. ( #2258 )
...
* feat: [CDE-182]: Changes to replace default vs code web icons with gitspaces icons.
2024-07-22 10:34:02 +00:00
Dhruv Dhruv
bb7433ef9a
feat: [CDE-175]: Changing all shell commands from bash to sh. ( #2244 )
...
* feat: [CDE-175]: Changing all shell commands from bash to sh.
2024-07-18 08:01:37 +00:00
Dhruv Dhruv
ed92f75f68
feat: [CDE-173]: Running IDE and related services on boot up. Changing entrypoint cmd for quicker stopping. ( #2240 )
...
* feat: [CDE-173]: Running IDE and related services on boot up. Changing entrypoint cmd for quicker stopping.
2024-07-17 13:12:49 +00:00
Dhruv Dhruv
1af6be80e9
feat: [CDE-174]: Adding logic to restart gitspaces. ( #2239 )
...
* feat: [CDE-174]: Linting
* feat: [CDE-174]: Updating the entrypoint to trap SIGTERM.
* feat: [CDE-174]: Adding logic to restart gitspaces.
2024-07-17 09:28:29 +00:00
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