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

ci: update github actions #33

Merged
merged 1 commit into from
May 12, 2020
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
open_collective: generator-jhipster
custom: https://www.jhipster.tech/sponsors/
58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!--
- Please follow the issue template below for bug reports and feature requests.
- If you have a support request rather than a bug, please use [Stack Overflow](http://stackoverflow.com/questions/tagged/jhipster) with the JHipster tag.
- For bug reports it is mandatory to run the command `jhipster info` in your project's root folder, and paste the result here.
- Tickets opened without any of these pieces of information will be **closed** without any explanation.
-->

##### **Overview of the issue**

<!-- Explain the bug or feature request, if an error is being thrown a stack trace helps -->

##### **Motivation for or Use Case**

<!-- Explain why this is a bug or a new feature for you -->

##### **Reproduce the error**

<!-- For bug reports, an unambiguous set of steps to reproduce the error -->

##### **Related issues**

<!-- Has a similar issue been reported before? Please search both closed & open issues -->

##### **Suggest a Fix**

<!-- For bug reports, if you can't fix the bug yourself, perhaps you can point to what might be
causing the problem (line of code or commit) -->

##### **JHipster Version(s)**

<!--
Which version of JHipster are you using, is it a regression?
-->

##### **JHipster configuration**

<!--
To provide all information we need, you should run `jhipster info` in the project root folder, and
copy/paste the result here.
The `.yo-rc.json` file generated in the root folder is mandatory for bug reports. This will help us to replicate the scenario.
You should remove any sensitive information like the rememberMe key or the jwtSecretKey key.
-->

##### **Entity configuration(s) `entityName.json` files generated in the `.jhipster` directory**

<!--
If the error is during an entity creation or associated with a specific entity.
If you are using JDL, please share that configuration as well.
-->

##### **Browsers and Operating System**

<!-- What OS are you on? is this a problem with all browsers or only IE8? -->

- [ ] Checking this box is mandatory (this is just to show you read everything)

<!-- Love JHipster? Please consider supporting our collective:
👉 https://opencollective.com/generator-jhipster/donate -->
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
name: 💥 Report an issue
about: Report a problem with JHipster itself.
---

<!--
- Please follow the issue template below for bug reports.
- If you have a support request rather than a bug, please use [Stack Overflow](http://stackoverflow.com/questions/tagged/jhipster) with the JHipster tag.
- For bug reports it is mandatory to run the command `jhipster info` in your project's root folder, and paste the result here.
- Tickets opened without any of these pieces of information will be **closed** without any explanation.
-->

##### **Overview of the issue**

<!-- Explain the bug, if an error is being thrown a stack trace helps -->

##### **Motivation for or Use Case**

<!-- Explain why this is a bug for you -->

##### **Reproduce the error**

<!-- For bug reports, an unambiguous set of steps to reproduce the error -->

##### **Related issues**

<!-- Has a similar issue been reported before? Please search both closed & open issues -->

##### **Suggest a Fix**

<!-- If you can't fix the bug yourself, perhaps you can point to what might be
causing the problem (line of code or commit) -->

##### **JHipster Version(s)**

<!--
Which version of JHipster are you using, is it a regression?
-->

##### **JHipster configuration**

<!--
To provide all information we need, you should run `jhipster info` in the project root folder, and
copy/paste the result here.
The `.yo-rc.json` file generated in the root folder is mandatory for bug reports. This will help us to replicate the scenario.
You should remove any sensitive information like the rememberMe key or the jwtSecretKey key.
-->

##### **Entity configuration(s) `entityName.json` files generated in the `.jhipster` directory**

<!--
If the error is during an entity creation or associated with a specific entity.
If you are using JDL, please share that configuration as well.
-->

##### **Browsers and Operating System**

<!-- What OS are you on? is this a problem with all browsers or only IE8? -->

- [ ] Checking this box is mandatory (this is just to show you read everything)

<!-- Love JHipster? Please consider supporting our collective:
👉 https://opencollective.com/generator-jhipster/donate -->
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: 🚀 Feature Request
about: Suggest an improvement.
---

##### **Overview of the feature request**

<!-- Explain the feature request -->

##### **Motivation for or Use Case**

<!-- Explain why this new feature is important for you -->

##### **Related issues or PR**

<!-- Has a similar feature request been asked for before? Please search both closed & open issues -->

- [ ] Checking this box is mandatory (this is just to show you read everything)

<!-- Love JHipster? Please consider supporting our collective:
👉 https://opencollective.com/generator-jhipster/donate -->
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/SPONSOR_THE_PROJECT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: 🤝 Sponsor the project
about: If you would like to support our efforts in maintaining this community-driven project!
---

--------------^ Click "Preview" for a nicer view!

Support this project by becoming a sponsor! [Become a sponsor](https://opencollective.com/generator-jhipster) or [learn more about sponsoring the project](https://www.jhipster.tech/sponsors/).
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: 🤗 Support Question
about: If you have a question, please use StackOverflow!
---

--------------^ Click "Preview" for a nicer view!

We primarily use GitHub as an issue tracker, if your issue is not a **bug** or **feature request** then sorry you are not in the right place :wink:.
**If you have a question** please use Stack Overflow, and tag the question with [jhipster](http://stackoverflow.com/questions/tagged/jhipster). This will help the project to keep a clean issue tracker. Also, Stack Overflow will give your question a larger audience:

- This will increase your chances to get an answer
- Answers will be of higher quality, as there is a voting system
- This will also help other users who might have the same issue, as questions are tagged and easily searchable
6 changes: 6 additions & 0 deletions .github/MAINTAINERS_REPLY_TEMPLATES/BUILD_AS_MODULE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This feature is more suitable to be built as a [JHipster module](https://jhipster.tech/modules/marketplace/#/list) so that it can be evaluated first.
If the module ends up being very popular we could consider integrating it into the main project here.

Please refer the documentation on [how to build modules](https://jhipster.tech/modules/creating-a-module/) and look at some of the [existing modules](https://jhipster.tech/modules/marketplace/#/list) for inspiration.
Reach out to us if you need any help like clarification on how the module system works, adding/exposing new methods for the API etc.
You can use the [JHipster module generator](https://github.com/jhipster/generator-jhipster-module) to scaffold a module.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Please don't comment on an **old issue**.
If you think this issue still applies, please [create a new ticket](https://github.com/fdelbrayelle/generator-jhipster-kafka/issues/new/choose) with proper details.

**If you have a question** please use Stack Overflow, and tag the question with [jhipster](http://stackoverflow.com/questions/tagged/jhipster). This helps the project to keep the issue tracker clean. Also, Stack Overflow will give your question a larger audience:

- This will increase your chances to get an answer
- Answers will be of higher quality, as there is a voting system
- This will also help other users who might have the same issue, as questions are tagged and easily searchable
18 changes: 18 additions & 0 deletions .github/MAINTAINERS_REPLY_TEMPLATES/GUIDELINES_NOT_FOLLOWED.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
This ticket has been closed as the **guidelines are not followed**.

Tickets must follow our [Guidelines](https://github.com/fdelbrayelle/generator-jhipster-kafka/blob/master/CONTRIBUTING.md), as mentioned in:

1. our [Readme file on the front page of the project](https://github.com/fdelbrayelle/generator-jhipster-kafka/blob/master/README.md),
2. the ["create a new ticket" page](https://github.com/fdelbrayelle/generator-jhipster-kafka/issues/new/choose) and
3. our [Help page](https://www.jhipster.tech/help/)

We have also created a template on the ["create a new ticket" page](https://github.com/fdelbrayelle/generator-jhipster-kafka/issues/new/choose) to help you follow those guidelines.

**If this is indeed a JHipster bug**, please open a new issue with proper details or update this issue with all details and request to reopen.
Issues opened without proper details will be closed without explanation.

**If you have a question** please use Stack Overflow, and tag the question with [jhipster](http://stackoverflow.com/questions/tagged/jhipster). This helps the project to keep the issue tracker clean. Also, Stack Overflow will give your question a larger audience:

- This will increase your chances to get an answer
- Answers will be of higher quality, as there is a voting system
- This will also help other users who might have the same issue, as questions are tagged and easily searchable
10 changes: 10 additions & 0 deletions .github/MAINTAINERS_REPLY_TEMPLATES/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Reply templates for maintainers

Here is a list of common **reply messages** shared by core team members to help them respond to issues.

You can add those to your [Github saved replies settings](https://github.com/settings/replies).

- [Guidelines are not followed](GUIDELINES_NOT_FOLLOWED.md)
- [Use Stack Overflow](USE_STACK_OVERFLOW.md)
- [Don't comment on an old issue](DONT_COMMENT_ON_OLD_ISSUE.md)
- [Build as a module](BUILD_AS_MODULE.md)
6 changes: 6 additions & 0 deletions .github/MAINTAINERS_REPLY_TEMPLATES/USE_STACK_OVERFLOW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This is not a **bug** or **feature request** and hence this is not the correct forum for this.
**If you have a question** please use Stack Overflow, and tag the question with [jhipster](http://stackoverflow.com/questions/tagged/jhipster). This will help the project to keep a clean issue tracker. Also, Stack Overflow will give your question a larger audience:

- This will increase your chances to get an answer
- Answers will be of higher quality, as there is a voting system
- This will also help other users who might have the same issue, as questions are tagged and easily searchable
12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- Please make sure the below checklist is followed for Pull Requests.

- [ ] [All continuous integration tests](https://github.com/fdelbrayelle/generator-jhipster-kafka/actions) are green
- [ ] Tests are added where necessary
- [ ] Documentation is added/updated where necessary
- [ ] Coding Rules & Commit Guidelines as per our [CONTRIBUTING.md document](https://github.com/fdelbrayelle/generator-jhipster-kafka/blob/master/CONTRIBUTING.md) are followed

<!--
Please also reference the issue number in a commit message to [automatically close the related Github issue](https://help.github.com/articles/closing-issues-via-commit-messages/)

Note: It is also possible to add `[skip ci]` to your commit message to skip Travis tests
-->
52 changes: 52 additions & 0 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#
# Copyright 2013-2020 the original author or authors from the JHipster project.
#
# This file is part of the JHipster project, see https://www.jhipster.tech/
# for more information.
#
# 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.
#

name: Generator
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
generator-jhipster-kafka:
name: npm test
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.title, '[skip ci]') && !contains(github.event.pull_request.title, '[ci skip]')"
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
node_version: [12.16.1]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- run: git --no-pager log -n 10 --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue) <%an>%Creset' --abbrev-commit
shell: bash
- name: Config git variables
env:
JHI_SCRIPTS: ./test-integration/scripts
run: $JHI_SCRIPTS/04-git-config.sh
shell: bash
- run: npm ci
- run: npm test
16 changes: 0 additions & 16 deletions .github/workflows/github-ci.yml

This file was deleted.

Loading