Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove the double git sub-object in the helm request #510

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/schemas/HelmGitRepositoryRequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
type: object
nullable: true
required:
- provider
- owner
- name
- url
properties:
url:
type: string
description: application git repository URL
example: https://github.com/Qovery/simple-node-app
branch:
type: string
description: |
Name of the branch to use. This is optional
If not specified, then the branch used is the `main` or `master` one
example: feat/text_xxx
root_path:
type: string
default: /
description: indicates the root path of the application.
git_token_id:
type: string
format: uuid
description: The git token id on Qovery side
nullable: true
2 changes: 2 additions & 0 deletions src/schemas/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -758,3 +758,5 @@ CronJobResponse:
$ref: ./job/CronJobResponse.yaml
BaseJobResponse:
$ref: ./job/BaseJobResponse.yaml
HelmGitRepositoryRequest:
$ref: ./HelmGitRepositoryRequest.yaml
10 changes: 3 additions & 7 deletions src/schemas/helm/HelmRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ allOf:
source:
type: object
properties:
git:
type: object
nullable: true
properties:
git_repository:
$ref: '../ApplicationGitRepositoryRequest.yaml'
repository:
git_repository:
$ref: '../HelmGitRepositoryRequest.yaml'
helm_repository:
type: object
nullable: true
properties:
Expand Down
Loading