Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.19 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.6-alpha.16, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.10
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Jan 19, 2024
1 parent bf3af15 commit 5d2f9b1
Show file tree
Hide file tree
Showing 9 changed files with 292 additions and 71 deletions.
51 changes: 41 additions & 10 deletions crds/base/robot.roboscale.io_buildmanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,16 +181,31 @@ spec:
name:
description: Name of the step.
type: string
scope:
description: Selects the scope for BuildManager step.
properties:
path:
description: Absolute path of the directory. It's being
applied if the scope type is `Path`.
type: string
scopeType:
description: Type of the BuildManager scope. Allowed scopes
are `Workspace` and `Path`.
type: string
workspace:
description: Name of the workspace. Should be selected among
the existing workspaces in WorkspaceManager's manifests.
It's being applied if the scope type is `Workspace`.
type: string
required:
- scopeType
type: object
script:
description: Bash script to run.
type: string
workspace:
description: Name of the workspace. Should be selected among
the existing workspaces in WorkspaceManager's manifests.
type: string
required:
- name
- workspace
- scope
type: object
type: array
type: object
Expand Down Expand Up @@ -447,16 +462,32 @@ spec:
name:
description: Name of the step.
type: string
scope:
description: Selects the scope for BuildManager step.
properties:
path:
description: Absolute path of the directory. It's being
applied if the scope type is `Path`.
type: string
scopeType:
description: Type of the BuildManager scope. Allowed
scopes are `Workspace` and `Path`.
type: string
workspace:
description: Name of the workspace. Should be selected
among the existing workspaces in WorkspaceManager's
manifests. It's being applied if the scope type is
`Workspace`.
type: string
required:
- scopeType
type: object
script:
description: Bash script to run.
type: string
workspace:
description: Name of the workspace. Should be selected among
the existing workspaces in WorkspaceManager's manifests.
type: string
required:
- name
- workspace
- scope
type: object
type: object
type: array
Expand Down
28 changes: 22 additions & 6 deletions crds/base/robot.roboscale.io_robots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -931,17 +931,33 @@ spec:
name:
description: Name of the step.
type: string
scope:
description: Selects the scope for BuildManager
step.
properties:
path:
description: Absolute path of the directory.
It's being applied if the scope type is `Path`.
type: string
scopeType:
description: Type of the BuildManager scope.
Allowed scopes are `Workspace` and `Path`.
type: string
workspace:
description: Name of the workspace. Should be
selected among the existing workspaces in
WorkspaceManager's manifests. It's being applied
if the scope type is `Workspace`.
type: string
required:
- scopeType
type: object
script:
description: Bash script to run.
type: string
workspace:
description: Name of the workspace. Should be selected
among the existing workspaces in WorkspaceManager's
manifests.
type: string
required:
- name
- workspace
- scope
type: object
type: object
type: array
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.roboscale.robot</groupId>
<artifactId>robot-fabric8-client</artifactId>
<version>0.1.0-alpha.18</version>
<version>0.1.0-alpha.19</version>
<name>robot-fabric8-client</name>
<url>https://robolaunch.io</url>
<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.roboscale.robot.v1alpha1.buildmanagerspec;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command","env","instances","name","script","workspace"})
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command","env","instances","name","scope","script"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class Steps implements io.fabric8.kubernetes.api.model.KubernetesResource {
Expand Down Expand Up @@ -72,36 +72,36 @@ public void setName(String name) {
}

/**
* Bash script to run.
* Selects the scope for BuildManager step.
*/
@com.fasterxml.jackson.annotation.JsonProperty("script")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Bash script to run.")
@com.fasterxml.jackson.annotation.JsonProperty("scope")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Selects the scope for BuildManager step.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String script;
private io.roboscale.robot.v1alpha1.buildmanagerspec.steps.Scope scope;

public String getScript() {
return script;
public io.roboscale.robot.v1alpha1.buildmanagerspec.steps.Scope getScope() {
return scope;
}

public void setScript(String script) {
this.script = script;
public void setScope(io.roboscale.robot.v1alpha1.buildmanagerspec.steps.Scope scope) {
this.scope = scope;
}

/**
* Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests.
* Bash script to run.
*/
@com.fasterxml.jackson.annotation.JsonProperty("workspace")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests.")
@com.fasterxml.jackson.annotation.JsonProperty("script")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Bash script to run.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String workspace;
private String script;

public String getWorkspace() {
return workspace;
public String getScript() {
return script;
}

public void setWorkspace(String workspace) {
this.workspace = workspace;
public void setScript(String script) {
this.script = script;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
package io.roboscale.robot.v1alpha1.buildmanagerspec.steps;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","scopeType","workspace"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class Scope implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* Absolute path of the directory. It's being applied if the scope type is `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("path")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Absolute path of the directory. It's being applied if the scope type is `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String path;

public String getPath() {
return path;
}

public void setPath(String path) {
this.path = path;
}

/**
* Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("scopeType")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String scopeType;

public String getScopeType() {
return scopeType;
}

public void setScopeType(String scopeType) {
this.scopeType = scopeType;
}

/**
* Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests. It's being applied if the scope type is `Workspace`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("workspace")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests. It's being applied if the scope type is `Workspace`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String workspace;

public String getWorkspace() {
return workspace;
}

public void setWorkspace(String workspace) {
this.workspace = workspace;
}
}

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.roboscale.robot.v1alpha1.buildmanagerstatus.steps;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command","env","instances","name","script","workspace"})
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command","env","instances","name","scope","script"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class Step implements io.fabric8.kubernetes.api.model.KubernetesResource {
Expand Down Expand Up @@ -72,36 +72,36 @@ public void setName(String name) {
}

/**
* Bash script to run.
* Selects the scope for BuildManager step.
*/
@com.fasterxml.jackson.annotation.JsonProperty("script")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Bash script to run.")
@com.fasterxml.jackson.annotation.JsonProperty("scope")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Selects the scope for BuildManager step.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String script;
private io.roboscale.robot.v1alpha1.buildmanagerstatus.steps.step.Scope scope;

public String getScript() {
return script;
public io.roboscale.robot.v1alpha1.buildmanagerstatus.steps.step.Scope getScope() {
return scope;
}

public void setScript(String script) {
this.script = script;
public void setScope(io.roboscale.robot.v1alpha1.buildmanagerstatus.steps.step.Scope scope) {
this.scope = scope;
}

/**
* Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests.
* Bash script to run.
*/
@com.fasterxml.jackson.annotation.JsonProperty("workspace")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests.")
@com.fasterxml.jackson.annotation.JsonProperty("script")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Bash script to run.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String workspace;
private String script;

public String getWorkspace() {
return workspace;
public String getScript() {
return script;
}

public void setWorkspace(String workspace) {
this.workspace = workspace;
public void setScript(String script) {
this.script = script;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
package io.roboscale.robot.v1alpha1.buildmanagerstatus.steps.step;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","scopeType","workspace"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class Scope implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* Absolute path of the directory. It's being applied if the scope type is `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("path")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Absolute path of the directory. It's being applied if the scope type is `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String path;

public String getPath() {
return path;
}

public void setPath(String path) {
this.path = path;
}

/**
* Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("scopeType")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String scopeType;

public String getScopeType() {
return scopeType;
}

public void setScopeType(String scopeType) {
this.scopeType = scopeType;
}

/**
* Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests. It's being applied if the scope type is `Workspace`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("workspace")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests. It's being applied if the scope type is `Workspace`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String workspace;

public String getWorkspace() {
return workspace;
}

public void setWorkspace(String workspace) {
this.workspace = workspace;
}
}

Loading

0 comments on commit 5d2f9b1

Please sign in to comment.