Skip to content

Commit 5990849

Browse files
committed
add epam/edp-codebase-operator
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
1 parent a2db07b commit 5990849

File tree

25 files changed

+1731
-1
lines changed

25 files changed

+1731
-1
lines changed

.reuse/dep5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,10 @@ Files: crd-catalog/epam/edp-cd-pipeline-operator/*
487487
Copyright: The epam/edp-cd-pipeline-operator Authors
488488
License: Apache-2.0
489489

490+
Files: crd-catalog/epam/edp-codebase-operator/*
491+
Copyright: The epam/edp-codebase-operator Authors
492+
License: Apache-2.0
493+
490494
Files: crd-catalog/eryalito/kubensync-operator/*
491495
Copyright: The eryalito/kubensync-operator Authors
492496
License: Apache-2.0

code-generator/src/catalog.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,22 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
13261326
],
13271327
ignores: &[],
13281328
},
1329+
UpstreamSource {
1330+
project_name: "epam/edp-codebase-operator",
1331+
license: APACHE_V2,
1332+
urls: &[
1333+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_cdstagedeployments.yaml",
1334+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_codebasebranches.yaml",
1335+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_codebaseimagestreams.yaml",
1336+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_codebases.yaml",
1337+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_gitservers.yaml",
1338+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_jiraissuemetadatas.yaml",
1339+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_jiraservers.yaml",
1340+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_quicklinks.yaml",
1341+
"https://github.com/epam/edp-codebase-operator/blob/master/deploy-templates/crds/v2.edp.epam.com_templates.yaml",
1342+
],
1343+
ignores: &[],
1344+
},
13291345
UpstreamSource {
13301346
project_name: "eryalito/kubensync-operator",
13311347
license: APACHE_V2,
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
apiVersion: "apiextensions.k8s.io/v1"
2+
kind: "CustomResourceDefinition"
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: "v0.16.5"
6+
name: "cdstagedeployments.v2.edp.epam.com"
7+
spec:
8+
group: "v2.edp.epam.com"
9+
names:
10+
kind: "CDStageDeploy"
11+
listKind: "CDStageDeployList"
12+
plural: "cdstagedeployments"
13+
shortNames:
14+
- "csd"
15+
singular: "cdstagedeploy"
16+
scope: "Namespaced"
17+
versions:
18+
- additionalPrinterColumns:
19+
- description: "Pipeline name"
20+
jsonPath: ".spec.pipeline"
21+
name: "Pipeline"
22+
type: "string"
23+
- description: "Stage name"
24+
jsonPath: ".spec.stage"
25+
name: "Stage"
26+
type: "string"
27+
- description: "Pipeline status"
28+
jsonPath: ".status.status"
29+
name: "Status"
30+
type: "string"
31+
name: "v1"
32+
schema:
33+
openAPIV3Schema:
34+
description: "CDStageDeploy is the Schema for the CDStageDeployments API."
35+
properties:
36+
apiVersion:
37+
description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
38+
type: "string"
39+
kind:
40+
description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
41+
type: "string"
42+
metadata:
43+
type: "object"
44+
spec:
45+
description: "CDStageDeploySpec defines the desired state of CDStageDeploy."
46+
properties:
47+
pipeline:
48+
description: "Name of related pipeline"
49+
type: "string"
50+
stage:
51+
description: "Name of related stage"
52+
type: "string"
53+
strategy:
54+
default: "Auto"
55+
description: "TriggerType specifies a strategy for auto-deploy."
56+
type: "string"
57+
tag:
58+
description: "Specifies a latest available tag"
59+
properties:
60+
codebase:
61+
type: "string"
62+
tag:
63+
type: "string"
64+
required:
65+
- "codebase"
66+
- "tag"
67+
type: "object"
68+
tags:
69+
description: "A list of available tags.\nDeprecated: Use tag instead."
70+
items:
71+
properties:
72+
codebase:
73+
type: "string"
74+
tag:
75+
type: "string"
76+
required:
77+
- "codebase"
78+
- "tag"
79+
type: "object"
80+
type: "array"
81+
required:
82+
- "pipeline"
83+
- "stage"
84+
- "tag"
85+
type: "object"
86+
status:
87+
default:
88+
status: "pending"
89+
description: "CDStageDeployStatus defines the observed state of CDStageDeploy."
90+
properties:
91+
message:
92+
description: "Descriptive message for current status."
93+
type: "string"
94+
status:
95+
default: "pending"
96+
description: "Specifies a current status of CDStageDeploy."
97+
enum:
98+
- "failed"
99+
- "running"
100+
- "pending"
101+
- "completed"
102+
- "in-queue"
103+
type: "string"
104+
type: "object"
105+
type: "object"
106+
served: true
107+
storage: true
108+
subresources:
109+
status: {}
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
apiVersion: "apiextensions.k8s.io/v1"
2+
kind: "CustomResourceDefinition"
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: "v0.16.5"
6+
name: "codebasebranches.v2.edp.epam.com"
7+
spec:
8+
group: "v2.edp.epam.com"
9+
names:
10+
kind: "CodebaseBranch"
11+
listKind: "CodebaseBranchList"
12+
plural: "codebasebranches"
13+
shortNames:
14+
- "cb"
15+
singular: "codebasebranch"
16+
scope: "Namespaced"
17+
versions:
18+
- additionalPrinterColumns:
19+
- description: "Result of last action"
20+
jsonPath: ".status.result"
21+
name: "Result"
22+
type: "string"
23+
- description: "The status of codebasebranch"
24+
jsonPath: ".status.status"
25+
name: "Status"
26+
type: "string"
27+
- description: "Owner of object"
28+
jsonPath: ".spec.codebaseName"
29+
name: "Codebase Name"
30+
type: "string"
31+
- description: "Is a release branch"
32+
jsonPath: ".spec.release"
33+
name: "Release"
34+
type: "boolean"
35+
- description: "Name of branch"
36+
jsonPath: ".spec.branchName"
37+
name: "Branch"
38+
type: "string"
39+
name: "v1"
40+
schema:
41+
openAPIV3Schema:
42+
description: "CodebaseBranch is the Schema for the CodebaseBranches API."
43+
properties:
44+
apiVersion:
45+
description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
46+
type: "string"
47+
kind:
48+
description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
49+
type: "string"
50+
metadata:
51+
type: "object"
52+
spec:
53+
description: "CodebaseBranchSpec defines the desired state of CodebaseBranch."
54+
properties:
55+
branchName:
56+
description: "Name of a branch."
57+
type: "string"
58+
x-kubernetes-validations:
59+
- message: "Value is immutable"
60+
rule: "self == oldSelf"
61+
codebaseName:
62+
description: "Name of Codebase associated with."
63+
type: "string"
64+
fromCommit:
65+
description: "FromCommit is a commit hash or branch name.\nThe new branch will be created starting from the selected commit hash or branch name.\nIf a branch name is provided, the new branch will be created from the latest commit of that branch."
66+
type: "string"
67+
pipelines:
68+
additionalProperties:
69+
type: "string"
70+
description: "Pipelines is a map of pipelines related to the branch."
71+
example:
72+
build: "build-pipeline"
73+
review: "review-pipeline"
74+
nullable: true
75+
type: "object"
76+
release:
77+
description: "Flag if branch is used as \"release\" branch."
78+
type: "boolean"
79+
version:
80+
description: "Version of the branch. It's required for versioning type \"semver\"."
81+
nullable: true
82+
type: "string"
83+
required:
84+
- "branchName"
85+
- "codebaseName"
86+
- "release"
87+
type: "object"
88+
status:
89+
description: "CodebaseBranchStatus defines the observed state of CodebaseBranch."
90+
properties:
91+
action:
92+
description: "The last Action was performed."
93+
type: "string"
94+
build:
95+
nullable: true
96+
type: "string"
97+
detailedMessage:
98+
description: "Detailed information regarding action result\nwhich were performed"
99+
type: "string"
100+
failureCount:
101+
description: "Amount of times, operator fail to serve with existing CR."
102+
format: "int64"
103+
type: "integer"
104+
git:
105+
description: "Specifies a status of action for git."
106+
type: "string"
107+
lastSuccessfulBuild:
108+
nullable: true
109+
type: "string"
110+
lastTimeUpdated:
111+
description: "Information when the last time the action were performed."
112+
format: "date-time"
113+
type: "string"
114+
result:
115+
description: "A result of an action which were performed.\n- \"success\": action where performed successfully;\n- \"error\": error has occurred;"
116+
enum:
117+
- "success"
118+
- "error"
119+
type: "string"
120+
status:
121+
description: "Specifies a current status of CodebaseBranch."
122+
type: "string"
123+
username:
124+
description: "Name of user who made a last change."
125+
type: "string"
126+
value:
127+
description: "Specifies a current state of CodebaseBranch."
128+
type: "string"
129+
versionHistory:
130+
items:
131+
type: "string"
132+
nullable: true
133+
type: "array"
134+
required:
135+
- "action"
136+
- "failureCount"
137+
- "lastTimeUpdated"
138+
- "result"
139+
- "status"
140+
- "username"
141+
- "value"
142+
type: "object"
143+
type: "object"
144+
served: true
145+
storage: true
146+
subresources:
147+
status: {}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
apiVersion: "apiextensions.k8s.io/v1"
2+
kind: "CustomResourceDefinition"
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: "v0.16.5"
6+
name: "codebaseimagestreams.v2.edp.epam.com"
7+
spec:
8+
group: "v2.edp.epam.com"
9+
names:
10+
kind: "CodebaseImageStream"
11+
listKind: "CodebaseImageStreamList"
12+
plural: "codebaseimagestreams"
13+
shortNames:
14+
- "cbis"
15+
singular: "codebaseimagestream"
16+
scope: "Namespaced"
17+
versions:
18+
- additionalPrinterColumns:
19+
- description: "Owner of object"
20+
jsonPath: ".spec.codebase"
21+
name: "Codebase Name"
22+
type: "string"
23+
name: "v1"
24+
schema:
25+
openAPIV3Schema:
26+
description: "CodebaseImageStream is the Schema for the CodebaseImageStreams API."
27+
properties:
28+
apiVersion:
29+
description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
30+
type: "string"
31+
kind:
32+
description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
33+
type: "string"
34+
metadata:
35+
type: "object"
36+
spec:
37+
description: "CodebaseImageStreamSpec defines the desired state of CodebaseImageStream."
38+
properties:
39+
codebase:
40+
description: "Name of Codebase associated with."
41+
type: "string"
42+
imageName:
43+
description: "Docker container name without tag, e.g. registry-name/path/name."
44+
type: "string"
45+
tags:
46+
description: "A list of docker image tags available for ImageName and their creation date."
47+
items:
48+
properties:
49+
created:
50+
type: "string"
51+
name:
52+
type: "string"
53+
required:
54+
- "created"
55+
- "name"
56+
type: "object"
57+
nullable: true
58+
type: "array"
59+
required:
60+
- "codebase"
61+
- "imageName"
62+
type: "object"
63+
status:
64+
description: "CodebaseImageStreamStatus defines the observed state of CodebaseImageStream."
65+
properties:
66+
detailed_message:
67+
description: "Detailed information regarding action result\nwhich were performed"
68+
type: "string"
69+
failureCount:
70+
description: "Amount of times, operator fail to serve with existing CR."
71+
format: "int64"
72+
type: "integer"
73+
required:
74+
- "failureCount"
75+
type: "object"
76+
type: "object"
77+
served: true
78+
storage: true
79+
subresources:
80+
status: {}

0 commit comments

Comments
 (0)