Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.2.1 release #1287

Merged
merged 18 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .codecov.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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?**
Loading