Skip to content

Commit

Permalink
feat(COR-720): add icon_uri attribute on services
Browse files Browse the repository at this point in the history
  • Loading branch information
ctjhoa committed Jul 12, 2024
1 parent 8108c93 commit b1b56f8
Showing 1 changed file with 55 additions and 18 deletions.
73 changes: 55 additions & 18 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11091,9 +11091,10 @@ components:
- $ref: '#/components/schemas/ServiceStorage'
- type: object
required:
- healthchecks
- name
- environment
- name
- healthchecks
- icon_uri
properties:
environment:
$ref: '#/components/schemas/ReferenceObject'
Expand Down Expand Up @@ -11167,6 +11168,10 @@ components:
$ref: '#/components/schemas/OrganizationAnnotationsGroupResponseList'
labels_groups:
$ref: '#/components/schemas/OrganizationLabelsGroupResponseList'
icon_uri:
type: string
x-stoplight:
id: b8karc43pdxpu
ApplicationDeploymentRestriction:
allOf:
- $ref: '#/components/schemas/Base'
Expand Down Expand Up @@ -11515,12 +11520,16 @@ components:
description: optional entrypoint when launching container
auto_deploy:
type: boolean
nullable: true
description: Specify if the application will be automatically updated after receiving a new commit.
nullable: true
annotations_groups:
$ref: '#/components/schemas/ServiceAnnotationsRequestList'
labels_groups:
$ref: '#/components/schemas/ServiceLabelsRequestList'
icon_uri:
type: string
x-stoplight:
id: om4lw1ulknsrg
ApplicationResponseList:
type: object
properties:
Expand Down Expand Up @@ -13184,14 +13193,18 @@ components:
If not specified, it takes the value of the `auto_preview` property from the associated environment.
auto_deploy:
type: boolean
nullable: true
description: |
Specify if the container will be automatically updated after receiving a new image tag.
The new image tag shall be communicated via the "Auto Deploy container" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments
nullable: true
annotations_groups:
$ref: '#/components/schemas/ServiceAnnotationsRequestList'
labels_groups:
$ref: '#/components/schemas/ServiceLabelsRequestList'
icon_uri:
type: string
x-stoplight:
id: jiypvl6nd63dm
ContainerResponse:
allOf:
- $ref: '#/components/schemas/Base'
Expand All @@ -13200,15 +13213,16 @@ components:
- type: object
required:
- environment
- maximum_cpu
- maximum_memory
- name
- auto_preview
- cpu
- memory
- min_running_instances
- max_running_instances
- maximum_cpu
- maximum_memory
- healthchecks
- auto_preview
- icon_uri
properties:
environment:
$ref: '#/components/schemas/ReferenceObject'
Expand Down Expand Up @@ -13273,6 +13287,10 @@ components:
$ref: '#/components/schemas/OrganizationAnnotationsGroupResponseList'
labels_groups:
$ref: '#/components/schemas/OrganizationLabelsGroupResponseList'
icon_uri:
type: string
x-stoplight:
id: o2bdci7ak3bmz
ContainerResponseList:
type: object
properties:
Expand Down Expand Up @@ -13639,6 +13657,10 @@ components:
$ref: '#/components/schemas/ServiceAnnotationsRequestList'
labels_groups:
$ref: '#/components/schemas/ServiceLabelsRequestList'
icon_uri:
type: string
x-stoplight:
id: ls6yevnhskd5y
DatabaseResponseList:
type: object
properties:
Expand Down Expand Up @@ -15028,6 +15050,10 @@ components:
$ref: '#/components/schemas/ServiceAnnotationsRequestList'
labels_groups:
$ref: '#/components/schemas/ServiceLabelsRequestList'
icon_uri:
type: string
x-stoplight:
id: k3gangiisgxpc
type: object
JobResponse:
oneOf:
Expand Down Expand Up @@ -15188,10 +15214,10 @@ components:
- type: object
required:
- name
- auto_deploy
- source
- values_override
- arguments
- auto_deploy
- values_override
properties:
name:
type: string
Expand All @@ -15206,23 +15232,21 @@ components:
Maximum number of seconds allowed for helm to run before killing it and mark it as failed
auto_preview:
type: boolean
nullable: true
description: |
Indicates if the 'environment preview option' is enabled.
If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called or when a new commit is updated.
If not specified, it takes the value of the `auto_preview` property from the associated environment.
nullable: true
auto_deploy:
type: boolean
description: |
Specify if the helm will be automatically updated after receiving a new image tag or a new commit according to the source type.
source:
oneOf:
- type: object
properties:
- properties:
git_repository:
$ref: '#/components/schemas/HelmGitRepositoryRequest'
- type: object
properties:
- properties:
helm_repository:
type: object
properties:
Expand All @@ -15237,6 +15261,7 @@ components:
chart_version:
type: string
description: The version of the chart to use
type: object
arguments:
type: array
description: The extra arguments to pass to helm
Expand Down Expand Up @@ -15292,6 +15317,10 @@ components:
content:
type: string
description: The content of the value file
icon_uri:
type: string
x-stoplight:
id: 117p5u95nwx2p
HelmResponse:
allOf:
- $ref: '#/components/schemas/Base'
Expand All @@ -15305,6 +15334,7 @@ components:
- arguments
- allow_cluster_wide_resources
- values_override
- icon_uri
properties:
environment:
$ref: '#/components/schemas/ReferenceObject'
Expand Down Expand Up @@ -15369,15 +15399,14 @@ components:
properties:
git:
$ref: '#/components/schemas/HelmSourceGitResponse'
type: object
- x-stoplight:
id: 0prdehm6z8pua
required:
- repository
properties:
repository:
$ref: '#/components/schemas/HelmSourceRepositoryResponse'
type: object
type: object
arguments:
type: array
description: The extra arguments to pass to helm
Expand Down Expand Up @@ -15438,6 +15467,10 @@ components:
description: List of path inside your git repository to locate values file. Must start by a /
items:
type: string
icon_uri:
type: string
x-stoplight:
id: i2pvbugqsldhe
HelmResponseList:
type: object
properties:
Expand Down Expand Up @@ -17859,6 +17892,7 @@ components:
- auto_preview
- source
- healthchecks
- icon_uri
properties:
environment:
$ref: '#/components/schemas/ReferenceObject'
Expand Down Expand Up @@ -17914,20 +17948,23 @@ components:
properties:
image:
$ref: '#/components/schemas/ContainerSource'
type: object
- required:
- docker
properties:
docker:
$ref: '#/components/schemas/JobSourceDockerResponse'
type: object
type: object
healthchecks:
$ref: '#/components/schemas/Healthcheck'
auto_deploy:
type: boolean
description: |
Specify if the job will be automatically updated after receiving a new image tag or a new commit according to the source type.
The new image tag shall be communicated via the "Auto Deploy job" endpoint https://api-doc.qovery.com/#tag/Jobs/operation/autoDeployJobEnvironments
icon_uri:
type: string
x-stoplight:
id: p1secr7kxozsd
HelmGitRepositoryRequest:
type: object
required:
Expand Down

0 comments on commit b1b56f8

Please sign in to comment.