Skip to content

Commit

Permalink
2.2.1 release (#1287)
Browse files Browse the repository at this point in the history
* 2.2.0 release cut

Signed-off-by: Stephanie <yangcao@redhat.com>

* enable gosec (#969)

* enable gosec

Signed-off-by: Kim Tsao <ktsao@redhat.com>

* Fix G601 errors

Signed-off-by: Kim Tsao <ktsao@redhat.com>

* Fix warnings

Signed-off-by: Kim Tsao <ktsao@redhat.com>

* Add newline

Signed-off-by: Kim Tsao <ktsao@redhat.com>

Signed-off-by: Kim Tsao <ktsao@redhat.com>

* Update the devfile spec to 2.2.1 alpha (#980)

Signed-off-by: Paul Schultz <pschultz@pobox.com>

* 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 <mvaldron@redhat.com>

* whitespace changes.

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* set openapi generator ref to version which supports typescript generation.

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

---------

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* Fix Dependabot issues (#1047)

* fix dependabot issues, requires a bump in k8s versions

Signed-off-by: Kim Tsao <ktsao@redhat.com>

* re-generated devworkspace files

Signed-off-by: Kim Tsao <ktsao@redhat.com>

* Vendor updates

Signed-off-by: Kim Tsao <ktsao@redhat.com>

---------

Signed-off-by: Kim Tsao <ktsao@redhat.com>

* fix gosec v2.14.0 (#1034)

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* Update python runtime version for `release-typescript-models` job (#1051)

* bump python runtime version for 'release-typescript-models' job.

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* bump setup-python action to v4 for 'release-typescript-models' job.

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

---------

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* 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 <phmartin@redhat.com>

* Auto-generated

Signed-off-by: Philippe Martin <phmartin@redhat.com>

* Specify isDefault

Signed-off-by: Philippe Martin <phmartin@redhat.com>

* Clarify description

Signed-off-by: Philippe Martin <phmartin@redhat.com>

---------

Signed-off-by: Philippe Martin <phmartin@redhat.com>

* update kubernetes/openshift endpoint validation (#1098)

* update endpoint validation

Signed-off-by: Stephanie <yangcao@redhat.com>

* update unit test

Signed-off-by: Stephanie <yangcao@redhat.com>

* update the test error check to be more clear

Signed-off-by: Stephanie <yangcao@redhat.com>

* add unit test for two kube components

Signed-off-by: Stephanie <yangcao@redhat.com>

---------

Signed-off-by: Stephanie <yangcao@redhat.com>

* Update release doc (#1110)

Signed-off-by: Kim Tsao <ktsao@redhat.com>

* Update directly executed scripts inside workflows (#1107)

* Update directly executed scripts on workflows

Signed-off-by: thepetk <thepetk@gmail.com>

* Update directly executed scripts on bash scripts

Signed-off-by: thepetk <thepetk@gmail.com>

---------

Signed-off-by: thepetk <thepetk@gmail.com>

* Add area alizer label to all issue templates (#1149)

Signed-off-by: thepetk <thepetk@gmail.com>

* Update deprecated github actions to latest version (#1231)

* Update deprecated github actions

Signed-off-by: thepetk <thepetk@gmail.com>

* Remove jsonschema dep from validate samples

Signed-off-by: thepetk <thepetk@gmail.com>

---------

Signed-off-by: thepetk <thepetk@gmail.com>

* Add license header file and script (#1256)

* add license header file

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* addlicense script

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* update README with instructions on adding license headers

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* update license headers under source files

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* remove license header from generated source

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* add_license.sh ignores zz_generated.* source files

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* check license headers script added

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* check license headers script added to CI workflow

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

---------

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* add signoff

Signed-off-by: Stephanie <yangcao@redhat.com>

---------

Signed-off-by: Stephanie <yangcao@redhat.com>
Signed-off-by: Kim Tsao <ktsao@redhat.com>
Signed-off-by: Paul Schultz <pschultz@pobox.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Philippe Martin <phmartin@redhat.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Co-authored-by: Kim Tsao <84398375+kim-tsao@users.noreply.github.com>
Co-authored-by: Paul Schultz <pschultz@pobox.com>
Co-authored-by: Michael Valdron <michael.valdron@gmail.com>
Co-authored-by: Michael Valdron <mvaldron@redhat.com>
Co-authored-by: John Collier <jcollier@redhat.com>
Co-authored-by: Philippe Martin <phmartin@redhat.com>
Co-authored-by: Theofanis Petkos <thepetk@gmail.com>
  • Loading branch information
8 people committed Oct 11, 2023
1 parent 2568944 commit 1ae41b5
Show file tree
Hide file tree
Showing 554 changed files with 48,577 additions and 11,155 deletions.
16 changes: 16 additions & 0 deletions .codecov.yaml
@@ -1,3 +1,19 @@
#
#
# Copyright Red Hat
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# See http://docs.codecov.io/docs/coverage-configuration
coverage:
precision: 2 # 2 = xx.xx%, 0 = xx%
Expand Down
5 changes: 3 additions & 2 deletions .devfile.yaml
@@ -1,4 +1,6 @@
# Copyright (c) 2022 Red Hat, Inc.
#
#
# Copyright Red Hat
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +13,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
schemaVersion: 2.1.0
metadata:
name: devfile-api
Expand Down
18 changes: 17 additions & 1 deletion .devfile/Dockerfile
@@ -1,9 +1,25 @@
#
#
# Copyright Red Hat
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM python:3-alpine
ENV GOROOT /usr/lib/go

RUN apk add --no-cache --update curl bash jq go git openssh \
&& pip3 install yq \
&& pip3 install jsonschema-cli
&& pip3 install pyyaml \
&& pip3 install jsonschema

RUN mkdir -p /home/user/go && chmod -R a+w /home/user
ENV HOME /home/user
Expand Down
15 changes: 15 additions & 0 deletions .devfile/entrypoint.sh
@@ -1,4 +1,19 @@
#!/bin/bash
#
#
# Copyright Red Hat
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Ensure $HOME exists when starting
if [ ! -d "${HOME}" ]; then
Expand Down
9 changes: 9 additions & 0 deletions .editorconfig
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
96 changes: 95 additions & 1 deletion .gitattributes
@@ -1,3 +1,97 @@
**/zz_generated.*.go linguist-generated=true
vendor/** linguist-vendored
generator/vendor/** linguist-vendored
generator/vendor/** linguist-vendored

# source code
*.php eol=lf
*.css eol=lf
*.sass eol=lf
*.scss eol=lf
*.less eol=lf
*.styl eol=lf
*.js eol=lf
*.ts eol=lf
*.jsx eol=lf
*.tsx eol=lf
*.coffee eol=lf
*.htm eol=lf
*.html eol=lf
*.xml eol=lf
*.svg eol=lf
*.txt eol=lf
*.ini eol=lf
*.inc eol=lf
*.pl eol=lf
*.rb eol=lf
*.py eol=lf
*.scm eol=lf
*.sql eol=lf
*.sh eol=lf
*.bat eol=lf
*.go eol=lf

# templates
*.ejs eol=lf
*.hbt eol=lf
*.jade eol=lf
*.haml eol=lf
*.hbs eol=lf
*.dot eol=lf
*.tmpl eol=lf
*.phtml eol=lf

# server config
.htaccess eol=lf

# git config
.gitattributes eol=lf
.gitignore eol=lf
.gitconfig eol=lf

# code analysis config
.jshintrc eol=lf
.jscsrc eol=lf
.jshintignore eol=lf
.csslintrc eol=lf

# misc config
*.yaml eol=lf
*.yml eol=lf
.editorconfig eol=lf

# build config
*.npmignore eol=lf
*.bowerrc eol=lf

# Heroku
Procfile eol=lf
.slugignore eol=lf

# Documentation
LICENSE eol=lf
AUTHORS eol=lf

#
## These files are binary and should be left untouched
#

# (binary is a macro for -eol=lf -diff)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.flv binary
*.fla binary
*.swf binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.eot binary
*.woff binary
*.pyc binary
*.pdf binary
59 changes: 47 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.md
Expand Up @@ -7,13 +7,15 @@ assignees: ''

---

## Which area this feature is related to?

/kind bug

<!--
Welcome! - We kindly ask you to:
1. Fill out the issue template below
1. Fill out the issue template below
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.
If you haven’t joined the Kubernetes workspace before, follow https://slack.k8s.io/.
Expand All @@ -22,6 +24,7 @@ Thanks for understanding and for contributing to the project!
-->

### Which area this bug is related to?

<!--
Uncomment appropriate `/area` lines, and delete the rest.
For example, `> /area api` would simply become: `/area api`
Expand All @@ -31,63 +34,95 @@ Thanks for understanding and for contributing to the project!
> /area api
> /area library
> /area registry
> /area alizer
> /area devworkspace
> /area integration-tests
> /area test-automation
> /area releng
> /area landing-page
## What versions of software are you using?

**Operating System:**
### Go project

**Operating System and version:**

**Go Pkg Version:**

### Node.js project

<!--
Please paste the text output of the console in the error output section with a screenshot
-->

**Operating System and version:**

**Node.js version:**

**Yarn version:**

**Project.json:**

### Web browser

<!--
Please paste the text output of the console in the error output section with a screenshot
-->

**Operating System and version:**

**Browser name and version:**

## Bug Summary

**Describe the bug:**
<!--

<!--
A clear and concise description of what the bug is.
-->

**To Reproduce:**

<!--
Steps to reproduce the behavior.
-->


## Expected behavior

<!--
A clear and concise description of what you expected to happen.
-->

## Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable.
## Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable

<!--
To get logs:
ci: please copy the github workflow output
api: please copy the terminal output
library: please copy the terminal output
registry: follow instruction under "Collecting Logs" to find log: https://github.com/devfile/registry-support/blob/main/TROUBLESHOOTING.md
devworkspace: copy the logs from the controller (kubectl logs deploy/devworkspace-controller -n $NAMESPACE)
test-automation:
test-automation:
api: follow instruction under "Running tests locally" to find test log: https://github.com/devfile/api/tree/main/test
library: follow instruction under "Running the tests locally" to find test log: https://github.com/devfile/library/tree/main/tests
devworkspace: copy the logs from the controller (kubectl logs deploy/devworkspace-controller -n $NAMESPACE)
integration-tests: please copy the build log under prow ci result for QE ingetration tests
-->


## Additional context

<!--
Add any other context about the problem here.
-->
**Any workaround?**

### Any workaround?

<!--
Describe the workaround if applicable.
-->

**Suggestion on how to fix the bug**
### Suggestion on how to fix the bug

<!--
Provide suggestion on how to fix the bug upon your investigation, if applicable.
-->


15 changes: 12 additions & 3 deletions .github/ISSUE_TEMPLATE/documentation.md
Expand Up @@ -3,27 +3,36 @@ name: "📖 Documentation"
about: Suggest an update for devfile documentation
title: ''
labels: ''
assignees: jc-berger
assignees: ''

---

/area documentation
## Which area this feature is related to?

/area documentation

**Which area this documentation change is related to?**
## Which area is this documentation change is related to?

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

> /area ci
> /area api
> /area library
> /area registry
> /area alizer
> /area devworkspace
> /area integration-tests
> /area test-automation
> /area releng
> /area landing-page
## Issue details

<!--
Provide a clear and concise description of the changes you are suggesting
-->

**What mistake did you find / what is missing in the documentation?**

0 comments on commit 1ae41b5

Please sign in to comment.