Skip to content

Commit 1ae41b5

Browse files
yangcao77kim-tsaoschultzp2020michael-valdronjohnmcollier
authored
2.2.1 release (#1287)
* 2.2.0 release cut Signed-off-by: Stephanie <[email protected]> * enable gosec (#969) * enable gosec Signed-off-by: Kim Tsao <[email protected]> * Fix G601 errors Signed-off-by: Kim Tsao <[email protected]> * Fix warnings Signed-off-by: Kim Tsao <[email protected]> * Add newline Signed-off-by: Kim Tsao <[email protected]> Signed-off-by: Kim Tsao <[email protected]> * Update the devfile spec to 2.2.1 alpha (#980) Signed-off-by: Paul Schultz <[email protected]> * Bump kubernetes-client/gen revision to fix git dubious ownership error (#1045) * bump kubernetes-client/gen revision to fix git dubious ownership error Signed-off-by: Michael Valdron <[email protected]> * whitespace changes. Signed-off-by: Michael Valdron <[email protected]> * set openapi generator ref to version which supports typescript generation. Signed-off-by: Michael Valdron <[email protected]> --------- Signed-off-by: Michael Valdron <[email protected]> * Fix Dependabot issues (#1047) * fix dependabot issues, requires a bump in k8s versions Signed-off-by: Kim Tsao <[email protected]> * re-generated devworkspace files Signed-off-by: Kim Tsao <[email protected]> * Vendor updates Signed-off-by: Kim Tsao <[email protected]> --------- Signed-off-by: Kim Tsao <[email protected]> * fix gosec v2.14.0 (#1034) Signed-off-by: Michael Valdron <[email protected]> * Update python runtime version for `release-typescript-models` job (#1051) * bump python runtime version for 'release-typescript-models' job. Signed-off-by: Michael Valdron <[email protected]> * bump setup-python action to v4 for 'release-typescript-models' job. Signed-off-by: Michael Valdron <[email protected]> --------- Signed-off-by: Michael Valdron <[email protected]> * Add workflow for managing stale issues & PRs (#1055) Adds a GitHub workflow for managing stale & rotten issues and PRs. Issues & PRs are marked stale after 90 days of inactivity. After 60 further days, they are marked as rotten and closed. * Clarify hotReloadCapable field (#1091) * Clarify hotReloadCapable field Signed-off-by: Philippe Martin <[email protected]> * Auto-generated Signed-off-by: Philippe Martin <[email protected]> * Specify isDefault Signed-off-by: Philippe Martin <[email protected]> * Clarify description Signed-off-by: Philippe Martin <[email protected]> --------- Signed-off-by: Philippe Martin <[email protected]> * update kubernetes/openshift endpoint validation (#1098) * update endpoint validation Signed-off-by: Stephanie <[email protected]> * update unit test Signed-off-by: Stephanie <[email protected]> * update the test error check to be more clear Signed-off-by: Stephanie <[email protected]> * add unit test for two kube components Signed-off-by: Stephanie <[email protected]> --------- Signed-off-by: Stephanie <[email protected]> * Update release doc (#1110) Signed-off-by: Kim Tsao <[email protected]> * Update directly executed scripts inside workflows (#1107) * Update directly executed scripts on workflows Signed-off-by: thepetk <[email protected]> * Update directly executed scripts on bash scripts Signed-off-by: thepetk <[email protected]> --------- Signed-off-by: thepetk <[email protected]> * Add area alizer label to all issue templates (#1149) Signed-off-by: thepetk <[email protected]> * Update deprecated github actions to latest version (#1231) * Update deprecated github actions Signed-off-by: thepetk <[email protected]> * Remove jsonschema dep from validate samples Signed-off-by: thepetk <[email protected]> --------- Signed-off-by: thepetk <[email protected]> * Add license header file and script (#1256) * add license header file Signed-off-by: Michael Valdron <[email protected]> * addlicense script Signed-off-by: Michael Valdron <[email protected]> * update README with instructions on adding license headers Signed-off-by: Michael Valdron <[email protected]> * update license headers under source files Signed-off-by: Michael Valdron <[email protected]> * remove license header from generated source Signed-off-by: Michael Valdron <[email protected]> * add_license.sh ignores zz_generated.* source files Signed-off-by: Michael Valdron <[email protected]> * check license headers script added Signed-off-by: Michael Valdron <[email protected]> * check license headers script added to CI workflow Signed-off-by: Michael Valdron <[email protected]> --------- Signed-off-by: Michael Valdron <[email protected]> * add signoff Signed-off-by: Stephanie <[email protected]> --------- Signed-off-by: Stephanie <[email protected]> Signed-off-by: Kim Tsao <[email protected]> Signed-off-by: Paul Schultz <[email protected]> Signed-off-by: Michael Valdron <[email protected]> Signed-off-by: Philippe Martin <[email protected]> Signed-off-by: thepetk <[email protected]> Co-authored-by: Kim Tsao <[email protected]> Co-authored-by: Paul Schultz <[email protected]> Co-authored-by: Michael Valdron <[email protected]> Co-authored-by: Michael Valdron <[email protected]> Co-authored-by: John Collier <[email protected]> Co-authored-by: Philippe Martin <[email protected]> Co-authored-by: Theofanis Petkos <[email protected]>
1 parent 2568944 commit 1ae41b5

File tree

554 files changed

+48577
-11155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

554 files changed

+48577
-11155
lines changed

.codecov.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
#
2+
#
3+
# Copyright Red Hat
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
117
# See http://docs.codecov.io/docs/coverage-configuration
218
coverage:
319
precision: 2 # 2 = xx.xx%, 0 = xx%

.devfile.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Copyright (c) 2022 Red Hat, Inc.
1+
#
2+
#
3+
# Copyright Red Hat
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
@@ -11,7 +13,6 @@
1113
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1214
# See the License for the specific language governing permissions and
1315
# limitations under the License.
14-
#
1516
schemaVersion: 2.1.0
1617
metadata:
1718
name: devfile-api

.devfile/Dockerfile

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
1+
#
2+
#
3+
# Copyright Red Hat
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
116
FROM python:3-alpine
217
ENV GOROOT /usr/lib/go
318

419
RUN apk add --no-cache --update curl bash jq go git openssh \
520
&& pip3 install yq \
6-
&& pip3 install jsonschema-cli
21+
&& pip3 install pyyaml \
22+
&& pip3 install jsonschema
723

824
RUN mkdir -p /home/user/go && chmod -R a+w /home/user
925
ENV HOME /home/user

.devfile/entrypoint.sh

+15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
#!/bin/bash
2+
#
3+
#
4+
# Copyright Red Hat
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
217

318
# Ensure $HOME exists when starting
419
if [ ! -d "${HOME}" ]; then

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.gitattributes

+95-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,97 @@
11
**/zz_generated.*.go linguist-generated=true
22
vendor/** linguist-vendored
3-
generator/vendor/** linguist-vendored
3+
generator/vendor/** linguist-vendored
4+
5+
# source code
6+
*.php eol=lf
7+
*.css eol=lf
8+
*.sass eol=lf
9+
*.scss eol=lf
10+
*.less eol=lf
11+
*.styl eol=lf
12+
*.js eol=lf
13+
*.ts eol=lf
14+
*.jsx eol=lf
15+
*.tsx eol=lf
16+
*.coffee eol=lf
17+
*.htm eol=lf
18+
*.html eol=lf
19+
*.xml eol=lf
20+
*.svg eol=lf
21+
*.txt eol=lf
22+
*.ini eol=lf
23+
*.inc eol=lf
24+
*.pl eol=lf
25+
*.rb eol=lf
26+
*.py eol=lf
27+
*.scm eol=lf
28+
*.sql eol=lf
29+
*.sh eol=lf
30+
*.bat eol=lf
31+
*.go eol=lf
32+
33+
# templates
34+
*.ejs eol=lf
35+
*.hbt eol=lf
36+
*.jade eol=lf
37+
*.haml eol=lf
38+
*.hbs eol=lf
39+
*.dot eol=lf
40+
*.tmpl eol=lf
41+
*.phtml eol=lf
42+
43+
# server config
44+
.htaccess eol=lf
45+
46+
# git config
47+
.gitattributes eol=lf
48+
.gitignore eol=lf
49+
.gitconfig eol=lf
50+
51+
# code analysis config
52+
.jshintrc eol=lf
53+
.jscsrc eol=lf
54+
.jshintignore eol=lf
55+
.csslintrc eol=lf
56+
57+
# misc config
58+
*.yaml eol=lf
59+
*.yml eol=lf
60+
.editorconfig eol=lf
61+
62+
# build config
63+
*.npmignore eol=lf
64+
*.bowerrc eol=lf
65+
66+
# Heroku
67+
Procfile eol=lf
68+
.slugignore eol=lf
69+
70+
# Documentation
71+
LICENSE eol=lf
72+
AUTHORS eol=lf
73+
74+
#
75+
## These files are binary and should be left untouched
76+
#
77+
78+
# (binary is a macro for -eol=lf -diff)
79+
*.png binary
80+
*.jpg binary
81+
*.jpeg binary
82+
*.gif binary
83+
*.ico binary
84+
*.mov binary
85+
*.mp4 binary
86+
*.mp3 binary
87+
*.flv binary
88+
*.fla binary
89+
*.swf binary
90+
*.gz binary
91+
*.zip binary
92+
*.7z binary
93+
*.ttf binary
94+
*.eot binary
95+
*.woff binary
96+
*.pyc binary
97+
*.pdf binary

.github/ISSUE_TEMPLATE/bug_report.md

+47-12
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ assignees: ''
77

88
---
99

10+
## Which area this feature is related to?
11+
1012
/kind bug
1113

1214
<!--
1315
1416
Welcome! - We kindly ask you to:
1517
16-
1. Fill out the issue template below
18+
1. Fill out the issue template below
1719
2. Use the Devfile Community Slack Channel: https://kubernetes.slack.com/archives/C02SX9E5B55 if you have a question rather than a bug or feature request.
1820
If you haven’t joined the Kubernetes workspace before, follow https://slack.k8s.io/.
1921
@@ -22,6 +24,7 @@ Thanks for understanding and for contributing to the project!
2224
-->
2325

2426
### Which area this bug is related to?
27+
2528
<!--
2629
Uncomment appropriate `/area` lines, and delete the rest.
2730
For example, `> /area api` would simply become: `/area api`
@@ -31,63 +34,95 @@ Thanks for understanding and for contributing to the project!
3134
> /area api
3235
> /area library
3336
> /area registry
37+
> /area alizer
3438
> /area devworkspace
3539
> /area integration-tests
3640
> /area test-automation
37-
41+
> /area releng
42+
> /area landing-page
3843
3944
## What versions of software are you using?
4045

41-
**Operating System:**
46+
### Go project
47+
48+
**Operating System and version:**
4249

4350
**Go Pkg Version:**
4451

52+
### Node.js project
53+
54+
<!--
55+
Please paste the text output of the console in the error output section with a screenshot
56+
-->
57+
58+
**Operating System and version:**
59+
60+
**Node.js version:**
61+
62+
**Yarn version:**
63+
64+
**Project.json:**
65+
66+
### Web browser
67+
68+
<!--
69+
Please paste the text output of the console in the error output section with a screenshot
70+
-->
71+
72+
**Operating System and version:**
73+
74+
**Browser name and version:**
4575

4676
## Bug Summary
77+
4778
**Describe the bug:**
48-
<!--
79+
80+
<!--
4981
A clear and concise description of what the bug is.
5082
-->
5183

5284
**To Reproduce:**
85+
5386
<!--
5487
Steps to reproduce the behavior.
5588
-->
5689

57-
5890
## Expected behavior
91+
5992
<!--
6093
A clear and concise description of what you expected to happen.
6194
-->
6295

63-
## Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable.
96+
## Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
97+
6498
<!--
6599
To get logs:
66100
ci: please copy the github workflow output
67101
api: please copy the terminal output
68102
library: please copy the terminal output
69103
registry: follow instruction under "Collecting Logs" to find log: https://github.com/devfile/registry-support/blob/main/TROUBLESHOOTING.md
70104
devworkspace: copy the logs from the controller (kubectl logs deploy/devworkspace-controller -n $NAMESPACE)
71-
test-automation:
105+
test-automation:
72106
api: follow instruction under "Running tests locally" to find test log: https://github.com/devfile/api/tree/main/test
73107
library: follow instruction under "Running the tests locally" to find test log: https://github.com/devfile/library/tree/main/tests
74108
devworkspace: copy the logs from the controller (kubectl logs deploy/devworkspace-controller -n $NAMESPACE)
75109
integration-tests: please copy the build log under prow ci result for QE ingetration tests
76110
-->
77111

78-
79112
## Additional context
113+
80114
<!--
81115
Add any other context about the problem here.
82116
-->
83-
**Any workaround?**
117+
118+
### Any workaround?
119+
84120
<!--
85121
Describe the workaround if applicable.
86122
-->
87123

88-
**Suggestion on how to fix the bug**
124+
### Suggestion on how to fix the bug
125+
89126
<!--
90127
Provide suggestion on how to fix the bug upon your investigation, if applicable.
91128
-->
92-
93-

.github/ISSUE_TEMPLATE/documentation.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,36 @@ name: "📖 Documentation"
33
about: Suggest an update for devfile documentation
44
title: ''
55
labels: ''
6-
assignees: jc-berger
6+
assignees: ''
77

88
---
99

10-
/area documentation
10+
## Which area this feature is related to?
1111

12+
/area documentation
1213

13-
**Which area this documentation change is related to?**
14+
## Which area is this documentation change is related to?
1415

1516
<!--
1617
Uncomment appropriate `/area` lines, and delete the rest.
1718
For example, `> /area api` would simply become: `/area api`
1819
-->
1920

21+
> /area ci
2022
> /area api
2123
> /area library
2224
> /area registry
25+
> /area alizer
2326
> /area devworkspace
27+
> /area integration-tests
28+
> /area test-automation
29+
> /area releng
30+
> /area landing-page
2431
2532
## Issue details
33+
2634
<!--
2735
Provide a clear and concise description of the changes you are suggesting
2836
-->
37+
2938
**What mistake did you find / what is missing in the documentation?**

0 commit comments

Comments
 (0)