Skip to content

Commit

Permalink
Update docs; Bump v1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Torchia <[email protected]>
  • Loading branch information
torchiaf committed May 24, 2024
1 parent b2afeab commit ee59fbf
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 14 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,8 @@ code-editor is an open source application to deploy [code-server](https://github
{
"viewId": "0001",
"code-server-session": code-server instance token to use in the browser,
"path": path for the code-server instance
}
```
- Add `code-server` configs:
```
PUT https://localhost/code-editor/api/v1/views/0001
response:
{
"query-param": path to a cloned repo
"path": path of the code-server instance UI,
"query-param": path to the cloned repo provisioned in the code-server instance
}
```

Expand Down
17 changes: 17 additions & 0 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -438,13 +438,16 @@ components:
- code-server-session
- path
- viewId
- query-param
properties:
code-server-session:
type: string
path:
type: string
viewId:
type: string
query-param:
type: string
ViewConfigResponse:
allOf:
- $ref: '#/components/schemas/MessageResponse'
Expand Down Expand Up @@ -527,6 +530,20 @@ components:
sshKey:
type: string
description: SSH key for git authentication
gitSource:
type: object
description: Git Repository configurations
properties:
type:
type: string
org:
type: string
repo:
type: string
branch:
type: string
commit:
type: string
ViewConfigRequestBody:
type: object
required:
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/code-editor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ server:
tokenExpiration: 24
image:
repository: ghcr.io/torchiaf/code-editor/server
tag: v0.1.3
tag: v1.0.0
pullPolicy: Always
ports:
- port: 8082
Expand All @@ -239,7 +239,7 @@ console:
type: ClusterIP
image:
repository: ghcr.io/torchiaf/code-editor/console
tag: v0.1.3
tag: v1.0.0
pullPolicy: Always
env:
baseHref: "/code-editor/console/"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "code-editor",
"version": "v0.1.3",
"version": "v1.0.0",
"description": "code-server deployed on kubernetes clusters, supporting multi-user and external authentication",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"View test\",\n \"git\": {\n \"name\": \"Francesco Torchia\",\n \"email\": \"[email protected]\"\n },\n \"extensions\": [\n {\n \"id\": \"hoovercj.vscode-power-mode\",\n \"settings\": {\n \"powermode.enabled\": true\n }\n }\n \n ],\n \"vscode-settings\": {},\n \"sshKey\": \"\"\n}",
"raw": "{\n \"name\": \"View test\",\n \"git\": {\n \"name\": \"Francesco Torchia\",\n \"email\": \"[email protected]\"\n },\n \"extensions\": [\n {\n \"id\": \"hoovercj.vscode-power-mode\",\n \"settings\": {\n \"powermode.enabled\": true\n }\n }\n \n ],\n \"vscode-settings\": {},\n \"sshKey\": \"\",\n \"gitSource\": {\n \"org\": \"torchiaf\",\n \"repo\": \"code-editor\",\n \"branch\": \"main\"\n }\n}",
"options": {
"raw": {
"language": "json"
Expand Down

0 comments on commit ee59fbf

Please sign in to comment.