Commit Graph

67 Commits

Author SHA1 Message Date
Vikyath Harekal
e18f16e688 feat: [CDE-553]: concat skopeo stdout and stderr output (#3149)
* feat: [CDE-553]: concat output
2024-12-11 12:32:34 +00:00
Vikyath Harekal
2f83725e12 feat: [CDE-549]: print buffer logs before exiting (#3145)
* feat: [CDE-549]: print buffer logs before exiting
* feat: [CDE-549]: print buffer logs before exiting
2024-12-10 15:21:09 +00:00
Vikyath Harekal
aabc2cd60d feat: [CDE-549]: fix image name and tag split (#3144)
* feat: [CDE-549]: fix image name and tag split
* feat: [CDE-549]: fix image name and tag split
2024-12-10 12:51:23 +00:00
Vikyath Harekal
93c1462fec feat: [CDE-549]: Handle no tag (#3140)
* feat: [CDE-549]: use --src-tls-verify
* feat: [CDE-549]: Handle no tag
2024-12-10 09:46:48 +00:00
Vikyath Harekal
65a9253a9b feat: [CDE-549]: Fix --tls-verify=false (#3139)
* feat: [CDE-549]: Fix --tls-verify=false
2024-12-10 08:48:44 +00:00
Vikyath Harekal
5ec36a8b74 feat: [CDE-549]: skopeo command fix and response handling (#3138)
* feat: [CDE-549]: debug
2024-12-10 06:32:08 +00:00
Vikyath Harekal
5ccbbd76a6 feat: [CDE-549]: debug (#3137)
* feat: [CDE-549]: debug
2024-12-10 05:03:27 +00:00
Vikyath Harekal
df3342aefe feat: [CDE-549]: Copy image using skopeo (#3127)
* feat: [CDE-549]: fix
* feat: [CDE-549]: fix lint
* feat: [CDE-549]: fix
* feat: [CDE-549]: fix
* feat: [CDE-549]: update command
* feat: [CDE-549]: Copy image using skopeo
2024-12-09 13:16:13 +00:00
Dhruv Dhruv
ccf7673ee5 fix: [CDE-473]: Checking default containerUser from the image. (#3105)
* fix: [CDE-473]: Checking default containerUser from the image.
2024-12-04 07:24:22 +00:00
Ansuman Satapathy
74ff87178f feat: [CDE-472]: add status code to the channel for gitspace exec (#3096)
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
2024-12-03 04:49:05 +00:00
Ansuman Satapathy
04b4dab207 feat: [CDE-472]: make IDE service args typed (#3092)
* feat: [CDE-472]: reduce verbosity of internal installation steps
* feat: [CDE-472]: reduce verbosity of internal installation steps
* feat: [CDE-472]: make IDE service args typed
2024-12-02 12:04:47 +00:00
Ansuman Satapathy
c65f994af9 feat: [CDE-522]: send total gitspaces without applying user filters in header (#3089)
* feat: [CDE-522]: formatting
* feat: [CDE-522]: formatting
* feat: [CDE-522]: send total gitspaces without applying user filters in header
* feat: [CDE-522]: send total gitspaces without applying filter in header
2024-12-02 07:03:22 +00:00
Ansuman Satapathy
08d9d959cc feat: [CDE-472]: install extensions only during setup, vscode impl for it. (#3088)
* feat: [CDE-522]: formatting
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
2024-12-02 06:49:31 +00:00
Ansuman Satapathy
293aa5ff29 feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command (#3087)
* feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command
2024-12-01 06:50:59 +00:00
Dhruv Dhruv
1086397b3f feat: [CDE-473]: Adding support for containerUser and remoteUser. (#3086)
* Adding support for root as remoteUser
* Changing logger from gitspace to application in config util.
* Changing logger from gitspace to application in config util.
* feat: [CDE-473]: Adding support for containerUser and remoteUser.
2024-12-01 05:03:48 +00:00
Ansuman Satapathy
7daa9666cc feat: [CDE-472]: customizations refactor code (#3078)
* feat: [CDE-472]: customizations refactor code
2024-11-29 08:29:38 +00:00
Deepak Bhatt
b4baf364a9 fix: [CDE-508]: use image auth map (#3058)
* use image auth map
2024-11-28 07:39:06 +00:00
Ansuman Satapathy
843dc4df5f feat: [CDE-525]: Add support for customization IDE extensions from devcontainer.json (#3057)
* feat: [CDE-525]: lint fixes
* feat: [CDE-525]: lint fixes
* feat: [CDE-525]: setup vscode web plugins
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
2024-11-27 13:14:44 +00:00
Deepak Bhatt
3b2db60eea feat: [CDE-508]: add image auth (#3053)
* add comment
* split pull image func into smaller parts
* split pull image func into smaller parts
* use MaskSecret type
* fix lint
* add image auth
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-image-auth
* add image auth
2024-11-27 10:24:33 +00:00
Dhruv Dhruv
7c358528ef feat: [CDE-475]: Adding support for runArgs. (#3031)
* Rebasing
* feat: [CDE-475]: Adding support for runArgs.
* WIP
* WIP
2024-11-25 09:56:30 +00:00
Ansuman Satapathy
35039b9499 feat: [CDE-525]: stream pull image o/p cde, timeline events connector (#3037)
* feat: [CDE-525]: move event before network call
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-470]: execute commands with harness user
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
2024-11-25 04:43:26 +00:00
Ansuman Satapathy
c43d0e62a7 fix: [CDE-525]: update parsing for devcontainer.json (#3035)
* fix: [CDE-525]: fix step names
* fix: [CDE-525]: fix step names
* feat: [CDE-470]: update the parsing logic for lifecycle steps

fix: [CDE-525]: fix step names
2024-11-22 07:37:12 +00:00
Ansuman Satapathy
d3d1ba32ff fix: [CDE-525]: for each execution form a new list of steps to execute. (#3034)
* fix: [CDE-525]: for each execution form a new list of steps to execute.
2024-11-22 05:03:50 +00:00
Ansuman Satapathy
17dea68b57 feat: [CDE-470]: use stream logger and buffer the results for gitspaces exec (#3008)
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: format code
* feat: [CDE-470]: format code
* feat: [CDE-470]: format code
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: env variables for VS Code desktop
2024-11-18 04:55:01 +00:00
Ansuman Satapathy
94ec638b7b feat: [CDE-470]: remove redundant logging lines for post commands gitspaces (#2988)
* feat: [CDE-470]: remove redundant logging lines for post commands gitspaces
2024-11-13 08:50:08 +00:00
Ansuman Satapathy
50fe99a564 feat: [CDE-461]: parameterize bindMount type for devcontainer setup. (#2979)
* feat: [CDE-461]: parameterize bindMount type for devcontainer setup.
* feat: [CDE-461]: parameterize bindMount type for devcontainer setup.
2024-11-12 08:19:43 +00:00
Dhruv Dhruv
1781c3be70 feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state. (#2977)
* feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state.
2024-11-12 05:58:28 +00:00
Ansuman Satapathy
4d4917eddc feat: [CDE-461]: gitspaces expose the container methods (#2974)
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
2024-11-11 18:09:38 +00:00
Ansuman Satapathy
c635effd2f feat: [CDE-461]: expose the step methods (#2969)
* feat: [CDE-461]: expose the step methods
* feat: [CDE-461]: expose the step methods
* feat: [CDE-461]: expose the step methods
2024-11-11 12:06:42 +00:00
Ansuman Satapathy
d4c7f6930c feat: [CDE-461]: abstract logger for docker, gitspace setup steps (#2966)
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
2024-11-11 10:16:26 +00:00
Ansuman Satapathy
3cdbf05237 feat: [CDE-461]: HOSS support for Port Forwarding And Environments (#2964)
* feat: [CDE-461]: register steps and run
* feat: [CDE-461]: register steps and run
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: linting
* feat: [CDE-461]: linting
* fix: [CDE-461]: clean-up
* feat: [CDE-461]: added docker port forward
* feat: [CDE-461]: added port forward support
2024-11-11 04:22:14 +00:00
Ansuman Satapathy
565820fbc8 fix: [CDE-469]: remove pointer types from gitspace scm (#2956)
* fix: [CDE-461]: remove pointer types from gitspace scm
* fix: [CDE-461]: remove pointer types from gitspace scm
* fix: [CDE-461]: remove pointer types from gitspace scm
2024-11-08 09:51:59 +00:00
Vikyath Harekal
9e9790a67d feat: [CDE-332]: Install tools (#2907)
* 

feat: [CDE-332]: Install tools
* 

feat: [CDE-332]: Install tools
* 

feat: [CDE-332]: Install tools
* 

feat: [CDE-332]: Install tools
* 

feat: [CDE-332]: Install tools
* 

feat: [CDE-332]: lint issues
* 





feat: [CDE-332]: Install tools
2024-10-30 11:16:57 +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
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
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
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
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
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
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