Skip to content

Commit

Permalink
Merge pull request #16 from ganochenkodg/add-contribution-md
Browse files Browse the repository at this point in the history
Contributing guide + Linting
  • Loading branch information
ganochenkodg committed Feb 3, 2024
2 parents 606cc00 + b18b9a1 commit 1af189e
Show file tree
Hide file tree
Showing 6 changed files with 2,135 additions and 14 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,20 @@ on:
- 'deploy/**'
- 'src/**'
jobs:
job:
lint-and-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Lint
run: |
cd src
npm ci
npm run lint:check
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
37 changes: 37 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Contributing to Qdrant-operator

If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request. Create a new branch for your changes.
When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible.

## What do you need to know to help?

If you want to help out with a code contribution, this project uses the following stack:

- [Node.JS](https://nodejs.org/) - 18.x
- [AVA](https://github.com/avajs/ava) (for testing)
- [Prettier](https://github.com/prettier/prettier) (for linting)
- [Kubernetes](https://docs.nestjs.com/fundamentals/testing) - 1.26+

You can install Kubernetes for local development using any of the following solutions:

- [k3s](https://github.com/k3s-io/k3s)
- [kind](https://github.com/kubernetes-sigs/kind)
- [minikube](https://github.com/kubernetes/minikube)

## Submitting a PR

- For every PR there should be an accompanying issue which the PR solves
- The PR itself should only contain code which is the solution for the given issue
- Run `npm run test` and `npm run lint:check` before submitting a PR

## License

By contributing your code, you agree to license your contribution under the terms of the [MIT](./LICENSE) license.
All files are released with the MIT license.

## Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

[Code of Conduct](./CODE_OF_CONDUCT.md)

9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,14 @@ YAML examples:

Do you like this project? Support it by **giving a star**!

### Getting help
### Help and contribution.

If you encounter any issues while using Qdrant-operator, you can get help using [Github issues](https://github.com/ganochenkodg/qdrant-operator/issues).
If you encounter any issues while using Qdrant-operator, you can get help using [Github issues](https://github.com/ganochenkodg/qdrant-operator/issues).
If you want to help out with a code contribution, check the [Contribution guideline](./CONTRIBUTING.md).

## License

This project is licensed under the [MIT](./LICENSE) license.

## Disclaimer of Warranty

Expand Down

0 comments on commit 1af189e

Please sign in to comment.