-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fordevio:main' into main
- Loading branch information
Showing
33 changed files
with
655 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
docs | ||
bin | ||
assets | ||
.github | ||
.gitignore | ||
LICENSE | ||
README.md | ||
client/node-modules | ||
client/.prettierrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## Description | ||
|
||
Fixes: # | ||
|
||
_Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. | ||
If it fixes a bug or resolves a feature request, be sure to link to that issue._ | ||
|
||
|
||
|
||
## Type of change | ||
|
||
_What type of changes does your code introduce to the wharf? Put an `x` in the box that apply._ | ||
|
||
- [ ] `CHANGE` (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] `FEATURE` (non-breaking change which adds functionality) | ||
- [ ] `BUGFIX` (non-breaking change which fixes an issue) | ||
- [ ] `ENHANCEMENT` (non-breaking change which improves existing functionality) | ||
- [ ] `NONE` (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.) | ||
|
||
## Verification | ||
<!-- How you tested it? How do you know it works? --> | ||
Please check the [testing guidelines](../docs/TESTING.md) for recommendations about automated tests. | ||
|
||
## Changelog entry | ||
|
||
_Please put a one-line changelog entry below. This will be copied to the changelog file during the release process._ | ||
|
||
<!-- | ||
Your release note should be written in clear and straightforward sentences. Most often, users aren't familiar with | ||
the technical details of your PR, so consider what they need to know when you write your release note. | ||
Some brief examples of release notes: | ||
- Add metadataConfig field to the Prometheus CRD for configuring how remote-write sends metadata information. | ||
- Generate correct scraping configuration for Probes with empty or unset module parameter. | ||
--> | ||
|
||
```release-note | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: publish | ||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for master branch | ||
push: | ||
branches: [publish] | ||
|
||
|
||
#Allow you to run this workflow manually from the actions tab workflow_dispatch; | ||
|
||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
|
||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that eill be executed as part of the jobs | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
name: Loginn to DOcker Hub | ||
- uses: docker/login-action@v1 | ||
with: | ||
username: fordevio | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- | ||
name: Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- | ||
name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
file: ./deployment/Dockerfile | ||
push: true | ||
tags: fordevio/wharf:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
run: | ||
deadline: 10m | ||
|
||
linters: | ||
enable: | ||
- revive | ||
- gci | ||
- depguard | ||
- godot | ||
- testifylint | ||
- unconvert | ||
|
||
issues: | ||
exclude-rules: | ||
# Disable errcheck linter for test files. | ||
- path: _test.go | ||
linters: | ||
- errcheck | ||
|
||
linters-settings: | ||
errcheck: | ||
exclude-functions: | ||
# Any error in HTTP handlers is handled by the server itself. | ||
- (net/http.ResponseWriter).Write | ||
# Never check for logger errors. | ||
- (github.com/go-kit/log.Logger).Log | ||
gci: | ||
sections: | ||
- standard | ||
- default | ||
depguard: | ||
rules: | ||
forbid-pkg-errors: | ||
deny: | ||
- pkg: "github.com/pkg/errors" | ||
dsc: Should be replaced with standard lib errors or fmt.Errorf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
weight: 503 | ||
toc: true | ||
title: DCO | ||
menu: | ||
docs: | ||
parent: community | ||
lead: "" | ||
images: [] | ||
draft: false | ||
--- | ||
|
||
Developer Certificate of Origin | ||
Version 1.1 | ||
|
||
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. | ||
660 York Street, Suite 102, | ||
San Francisco, CA 94110 USA | ||
|
||
Everyone is permitted to copy and distribute verbatim copies of this | ||
license document, but changing it is not allowed. | ||
|
||
|
||
Developer's Certificate of Origin 1.1 | ||
|
||
By making a contribution to this project, I certify that: | ||
|
||
(a) The contribution was created in whole or in part by me and I | ||
have the right to submit it under the open source license | ||
indicated in the file; or | ||
|
||
(b) The contribution is based upon previous work that, to the best | ||
of my knowledge, is covered under an appropriate open source | ||
license and I have the right under that license to submit that | ||
work with modifications, whether created in whole or in part | ||
by me, under the same open source license (unless I am | ||
permitted to submit under a different license), as indicated | ||
in the file; or | ||
|
||
(c) The contribution was provided directly to me by some other | ||
person who certified (a), (b) or (c) and I have not modified | ||
it. | ||
|
||
(d) I understand and agree that this project and the contribution | ||
are public and that a record of the contribution (including all | ||
personal information I submit with it, including my sign-off) is | ||
maintained indefinitely and may be redistributed consistent with | ||
this project or the open source license(s) involved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Maintainers of Prometheus Operator organization | ||
|
||
| Name | Email | Kubernetes Slack | GitHub | Company | | ||
|-------------------|---------------------------|----------------------|------------------------------------------------------|--------------------------------| | ||
| Yash Patel | [email protected] | `@yp969803` | [@yp969803](https://github.com/yp969803) | ForDEV-io | | ||
|
||
Please reach any of the maintainers on slack (#wharf) or email if you want to help. | ||
|
||
|
||
|
||
## How to be maintainer? | ||
|
||
Any contributor that shows effort, consistentcy and willingness in maintaining a repository will be invited to join the Maintainers team. | ||
|
||
Open Source is all about the trust, which is the key factor in decision to add write permissions. | ||
|
||
Reach us if you have any questions on how to join maintainer team. | ||
|
||
## Notes | ||
|
||
This document is heavily inspired by Thanos MANTAINERS.md file. <3 | ||
If you find anything not clear in this file feel free to open an issue or reach out to one of the maintainers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
weight: 505 | ||
toc: true | ||
title: Code of Conduct | ||
menu: | ||
docs: | ||
parent: community | ||
lead: "" | ||
images: [] | ||
draft: false | ||
--- | ||
|
||
## Community Code of Conduct | ||
|
||
### Contributor Code of Conduct | ||
|
||
As contributors and maintainers of this project, and in the interest of | ||
fostering an open and welcoming community, we pledge to respect all people who | ||
contribute through reporting issues, posting feature requests, updating | ||
documentation, submitting pull requests or patches, and other activities. | ||
|
||
We are committed to making participation in this project a harassment-free | ||
experience for everyone, regardless of level of experience, gender, gender | ||
identity and expression, sexual orientation, disability, personal appearance, | ||
body size, race, ethnicity, age, religion, or nationality. | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery | ||
* Personal attacks | ||
* Trolling or insulting/derogatory comments | ||
* Public or private harassment | ||
* Publishing others' private information, such as physical or electronic addresses, without explicit permission | ||
* Other unethical or unprofessional conduct. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or | ||
reject comments, commits, code, wiki edits, issues, and other contributions | ||
that are not aligned to this Code of Conduct. By adopting this Code of Conduct, | ||
project maintainers commit themselves to fairly and consistently applying these | ||
principles to every aspect of managing this project. Project maintainers who do | ||
not follow or enforce the Code of Conduct may be permanently removed from the | ||
project team. | ||
|
||
This code of conduct applies both within project spaces and in public spaces | ||
when an individual is representing the project or its community. | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting a project maintainer listed in the MAINTAINERS.md file. | ||
|
||
This Code of Conduct is adapted from the Contributor Covenant | ||
(http://contributor-covenant.org), version 1.2.0, available at | ||
http://contributor-covenant.org/version/1/2/0/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.