This repository has been archived by the owner on May 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 79c26d4
Showing
92 changed files
with
7,031 additions
and
0 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,43 @@ | ||
--- | ||
name: "\U0001F6A8 Bug" | ||
about: Did you come across a bug or unexpected behaviour differing from the docs? | ||
labels: bug | ||
--- | ||
|
||
<!-- | ||
Thanks for reporting a bug! | ||
Before opening a new issue, please make sure that we do not have any duplicates already open. | ||
You can ensure this by searching the issue list for this repository. | ||
If there is a duplicate, please close your issue and add a comment to the existing issue instead. | ||
--> | ||
|
||
## Describe the bug | ||
|
||
<!-- Describe your issue, but please be descriptive! Thanks again --> | ||
|
||
## Expected behaviour | ||
|
||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
## Steps to reproduce the issue | ||
|
||
<!-- include screenshots, logs, code or other info to help explain your problem --> | ||
|
||
<!-- | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
--> | ||
|
||
## Technical details | ||
|
||
- Host Machine OS (Windows/Linux/Mac): | ||
|
||
## Possible Fix | ||
|
||
<!-- Not obligatory, but suggest a fix or reason for the bug --> | ||
|
||
## Additional context | ||
|
||
<!-- Add any other context about the problem here. --> |
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,31 @@ | ||
--- | ||
name: "\U0001F381 Feature Request" | ||
about: Do you have an idea for a new feature? | ||
labels: feature request | ||
--- | ||
|
||
<!-- | ||
Thanks for requesting a feature! | ||
Before opening a new issue, please make sure that we do not have any duplicates already open. | ||
You can ensure this by searching the issue list for this repository. | ||
If there is a duplicate, please close your issue and add a comment to the existing issue instead. | ||
--> | ||
|
||
## Feature description | ||
|
||
<!-- | ||
Provide a detailed description of the feature or improvement you are proposing. | ||
What specific solution would you like? What is the expected behaviour? | ||
Add any other context, screenshots, or code snippets about the feature request here as well. | ||
--> | ||
|
||
## Problem and motivation | ||
|
||
<!-- | ||
Why is this change important to you? What is the problem this feature would solve? | ||
How would you use it? How can it benefit other users? | ||
--> | ||
|
||
## Is this something you're interested in working on | ||
|
||
<!-- Yes or No --> |
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,30 @@ | ||
--- | ||
name: "\u23F1\uFE0F Enhancement" | ||
about: Do you have an idea for an enhancement? | ||
labels: enhancement | ||
--- | ||
|
||
<!-- | ||
Thanks for proposing an enhancement! | ||
Before opening a new issue, please make sure that we do not have any duplicates already open. | ||
You can ensure this by searching the issue list for this repository. | ||
If there is a duplicate, please close your issue and add a comment to the existing issue instead. | ||
--> | ||
|
||
## Current Implementation | ||
|
||
<!-- Describe or point to the current implementation that you would like to see improved --> | ||
|
||
## Suggested Enhancement | ||
|
||
<!-- | ||
Outline the idea of your enhancement, by e.g., describing the algorithm you propose. | ||
You can also create a Pull Request to outline your idea | ||
--> | ||
|
||
## Expected Benefits | ||
|
||
<!-- | ||
Summarize how your enhancement could aid the implementation (performance, readability, memory consumption, battery consumption, etc.). | ||
Please also back up with measurements or give detailed explanations for reduced runtime, memory consumption, etc. | ||
--> |
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,20 @@ | ||
--- | ||
name: "\U00002753 Question" | ||
about: If you have questions about pieces of the code or documentation for this component, please post them here. | ||
labels: question | ||
--- | ||
|
||
<!-- | ||
Thanks for submitting your question! | ||
Before opening a new issue, please make sure that we do not have any duplicates already open. | ||
You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. | ||
Also, please, have a look at our FAQs and existing questions before opening a new question. | ||
--> | ||
|
||
## Your Question | ||
|
||
<!-- Include details about your question. --> | ||
|
||
* Source File: | ||
* Line(s): | ||
* Question: |
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,12 @@ | ||
--- | ||
name: "\U0001F4AC Other" | ||
about: For conceptual questions, please consider opening an issue in the documentation repository. | ||
labels: other | ||
--- | ||
|
||
<!-- | ||
Thanks for contributing to the project! | ||
Before opening a new issue, please make sure that we do not have any duplicates already open. | ||
You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. | ||
Also, be sure to check our readme first: https://github.com/corona-warn-app/cwa-verification-server | ||
--> |
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 @@ | ||
blank_issues_enabled: false |
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,21 @@ | ||
name: ci-dockerfile | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- Dockerfile | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
paths: | ||
- Dockerfile | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: docker pull hadolint/hadolint | ||
- run: docker run --rm --interactive hadolint/hadolint < Dockerfile |
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,51 @@ | ||
name: ci-master | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: environment | ||
run: | | ||
export VERSION=$(git rev-parse --short ${GITHUB_SHA}) | ||
echo "VERSION=${VERSION}" >> $GITHUB_ENV | ||
- name: docker build | ||
run: | | ||
docker build \ | ||
--tag docker.pkg.github.com/${GITHUB_REPOSITORY}/cwa-log-upload:latest \ | ||
--tag docker.pkg.github.com/${GITHUB_REPOSITORY}/cwa-log-upload:${VERSION} \ | ||
--tag ${TRUSTED_URL}/${TRUSTED_REPOSITORY}/cwa-log-upload:${VERSION} \ | ||
. | ||
env: | ||
TRUSTED_URL: ${{ secrets.TRUSTED_URL }} | ||
TRUSTED_REPOSITORY: ${{ secrets.TRUSTED_REPOSITORY }} | ||
- name: docker push github | ||
run: | | ||
echo ${GITHUB_TOKEN} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY_OWNER} --password-stdin | ||
docker push docker.pkg.github.com/${GITHUB_REPOSITORY}/cwa-log-upload:latest | ||
docker push docker.pkg.github.com/${GITHUB_REPOSITORY}/cwa-log-upload:${VERSION} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: docker push trusted | ||
run: | | ||
echo ${TRUSTED_TOKEN} | docker login ${TRUSTED_URL} -u ${TRUSTED_USER} --password-stdin | ||
export DOCKER_CONTENT_TRUST=1 | ||
export DOCKER_CONTENT_TRUST_SERVER=${TRUSTED_SERVER_URL} | ||
export DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE=${TRUSTED_TOKEN} | ||
export DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE=${TRUSTED_TOKEN} | ||
gpg --quiet --batch --yes --decrypt --passphrase=${TRUSTED_KEY} \ | ||
--output trusted.key trusted.key.gpg | ||
chmod 600 trusted.key | ||
docker trust key load trusted.key --name user | ||
docker trust sign ${TRUSTED_URL}/${TRUSTED_REPOSITORY}/cwa-log-upload:${VERSION} | ||
docker push ${TRUSTED_URL}/${TRUSTED_REPOSITORY}/cwa-log-upload:${VERSION} | ||
env: | ||
TRUSTED_KEY: ${{ secrets.TRUSTED_KEY }} | ||
TRUSTED_URL: ${{ secrets.TRUSTED_URL }} | ||
TRUSTED_SERVER_URL: ${{ secrets.TRUSTED_SERVER_URL }} | ||
TRUSTED_REPOSITORY: ${{ secrets.TRUSTED_REPOSITORY }} | ||
TRUSTED_USER: ${{ secrets.TRUSTED_USER }} | ||
TRUSTED_TOKEN: ${{ secrets.TRUSTED_TOKEN }} |
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,14 @@ | ||
name: ci-pull-request | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: docker build | ||
run: docker build . |
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,34 @@ | ||
HELP.md | ||
target/ | ||
!.mvn/wrapper/maven-wrapper.jar | ||
!**/src/main/** | ||
!**/src/test/** | ||
|
||
### STS ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
build/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
|
||
build.sh | ||
trusted.key |
Validating CODEOWNERS rules …
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,8 @@ | ||
# This file provides an overview of code owners in this repository. | ||
|
||
# Each line is a file pattern followed by one or more owners. | ||
# The last matching pattern has the most precedence. | ||
# For more details, read the following article on GitHub: https://help.github.com/articles/about-codeowners/. | ||
|
||
# These are the default owners for the whole content of this repository. The default owners are automatically added as reviewers when you open a pull request, unless different owners are specified in the file. | ||
* @alstiefel @dfischer-tech @f11h @jhagestedt @lstelzne-tech @mlaue-tech @mschulte-tsi @tence @kreincke @ascheibal @lbenthins @ChristianFirmenich @BugBuster1701 |
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,105 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for | ||
everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity | ||
and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, | ||
or sexual identity and orientation. | ||
|
||
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to a positive environment for our community include: | ||
|
||
* Demonstrating empathy and kindness toward other people | ||
* Being respectful of differing opinions, viewpoints, and experiences | ||
* Giving and gracefully accepting constructive feedback | ||
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience | ||
* Focusing on what is best not just for us as individuals, but for the overall community | ||
|
||
Examples of unacceptable behavior include: | ||
|
||
* The use of sexualized language or imagery, and sexual attention or advances of any kind | ||
* Trolling, insulting or derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or email address, without their explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a professional setting | ||
|
||
## Enforcement Responsibilities | ||
|
||
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take | ||
appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, | ||
or harmful. | ||
|
||
Community leaders 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, and will communicate reasons for | ||
moderation decisions when appropriate. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing | ||
the community in public spaces. Examples of representing our community include using an official e-mail address, posting | ||
via an official social media account, or acting as an appointed representative at an online or offline event. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible | ||
for enforcement at | ||
[[email protected]](mailto:[email protected]). All complaints will be reviewed and investigated promptly | ||
and fairly. | ||
|
||
All community leaders are obligated to respect the privacy and security of the reporter of any incident. | ||
|
||
## Enforcement Guidelines | ||
|
||
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem | ||
in violation of this Code of Conduct: | ||
|
||
### 1. Correction | ||
|
||
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the | ||
community. | ||
|
||
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation | ||
and an explanation of why the behavior was inappropriate. A public apology may be requested. | ||
|
||
### 2. Warning | ||
|
||
**Community Impact**: A violation through a single incident or series of actions. | ||
|
||
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including | ||
unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding | ||
interactions in community spaces as well as external channels like social media. Violating these terms may lead to a | ||
temporary or permanent ban. | ||
|
||
### 3. Temporary Ban | ||
|
||
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. | ||
|
||
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified | ||
period of time. No public or private interaction with the people involved, including unsolicited interaction with those | ||
enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. | ||
|
||
### 4. Permanent Ban | ||
|
||
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate | ||
behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. | ||
|
||
**Consequence**: A permanent ban from any sort of public interaction within the community. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at | ||
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. | ||
|
||
Community Impact Guidelines were inspired | ||
by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
For answers to common questions about this code of conduct, see the FAQ at | ||
https://www.contributor-covenant.org/faq. Translations are available at | ||
https://www.contributor-covenant.org/translations. | ||
|
Oops, something went wrong.