mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user