Skip to content

Code Spaces

Josip Skafar edited this page Oct 4, 2023 · 4 revisions

CodeSpaces feature enables provisioning of predefined Visual Studio Code environments that are running on the remote environment reducing onboarding time by removing need to install tools on the local computer. Collaboration feature enables multiple developers to work together on one application/solution. Beside working, CodeSpaces enables one click deployment of the solution to the target environment as per predefined templates.

After clicking on CodeSpaces tile:

image

User gets a list of existing CodeSpaces workspaces:

image

Creating new CodeSpace workspace is done by clicking on "Create new CodeSpace":

image

image

Editing existing one is done via click on Edit button on Code Space itself:

image

After opening workspace, standard Visual Studio code user interface is shown:

image

In there in the upper part user has a possibility to visit productiona and staging environment (notice that in the text it is stated from which branch of the code deployment was done - in this case main one):

image

Redeployment is done by clicking on:

image

User has a simple possibility to define which branch of code should be taken to which environment and if resulting endpoint should be protected with standard Identity and Access MAnagement solution.

image

Finally ruser can also either open Visual Studio Code in maximized mode or fully in new tab:

image

Current solution utilizes GitHub Enterprise Actions to create, deploy and start Code Spaces - we are planning to replace this with some open source solution that would run directly in DnA platform in the future.

Clone this wiki locally