[ui] Set AutoBuild and DeployByDefault (#7051)

* Get and display autoBuild / deployByDefault

* Set autoBuild / deployByDefault

* Update ui static files

* [api] Add orpahn field to Image/Resource

* Display more info about Build / Deploy at startup

* Update ui static files

* e2e tests

* Update ui static files

* Fix unit tests

* 3-states button for AutoBuild

* 3-states button for DeployByDefault

* static ui files
This commit is contained in:
Philippe Martin
2023-09-01 10:18:49 +02:00
committed by GitHub
parent 7ff38b7965
commit e9dbded83b
30 changed files with 335 additions and 24 deletions

View File

@@ -676,6 +676,12 @@ paths:
type: boolean
uri:
type: string
autoBuild:
type: string
enum:
- never
- undefined
- always
responses:
'200':
description: image was successfully added to the devfile
@@ -769,6 +775,12 @@ paths:
type: string
uri:
type: string
deployByDefault:
type: string
enum:
- never
- undefined
- always
responses:
'200':
description: resource was successfully added to the devfile
@@ -1699,6 +1711,8 @@ components:
- buildContext
- rootRequired
- uri
- autoBuild
- orphan
properties:
name:
type: string
@@ -1714,10 +1728,21 @@ components:
type: boolean
uri:
type: string
autoBuild:
type: string
enum:
- never
- undefined
- always
orphan:
description: true if the image is not referenced in any command
type: boolean
Resource:
type: object
required:
- name
- deployByDefault
- orphan
properties:
name:
type: string
@@ -1725,6 +1750,15 @@ components:
type: string
uri:
type: string
deployByDefault:
type: string
enum:
- never
- undefined
- always
orphan:
description: true if the resource is not referenced in any command
type: boolean
Volume:
type: object
required: