forked from quay/quay
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
1898c36
commit 9c0dd3b
Showing
2,048 changed files
with
218,743 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,35 @@ | ||
./ci/ | ||
conf/stack | ||
conf/stack/** | ||
conf/stack/config.yaml | ||
config.yaml | ||
screenshots | ||
tools | ||
test/data/registry | ||
venv | ||
.git | ||
!.git/HEAD | ||
.gitignore | ||
.github | ||
Bobfile | ||
README.md | ||
ROADMAP.md | ||
requirements-nover.txt | ||
run-local.sh | ||
.DS_Store | ||
**/*.pyc | ||
.tox | ||
htmlcov | ||
.coverage | ||
coverage | ||
.cache | ||
.npm-debug.log | ||
test/__pycache__ | ||
__pycache__ | ||
**/__pycache__ | ||
static/build/** | ||
.gitlab-ci/* | ||
.gitlab-ci.* | ||
docker-compose.yaml | ||
test/dockerclients/** | ||
node_modules |
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,29 @@ | ||
|
||
### Description of Changes | ||
|
||
* details about the implementation of the changes | ||
* motivation for the change (broken code, new feature, etc) | ||
* contrast with previous behavior | ||
|
||
|
||
#### Changes: | ||
|
||
* .. | ||
* .. | ||
|
||
#### Issue: <link to story or task> | ||
|
||
|
||
**TESTING** -> | ||
|
||
**BREAKING CHANGE** -> | ||
|
||
|
||
--- | ||
|
||
## Reviewer Checklist | ||
|
||
- [ ] It works! | ||
- [ ] Comments provide sufficient explanations for the next contributor | ||
- [ ] Tests cover changes and corner cases | ||
- [ ] Follows Quay syntax patterns and format |
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 @@ | ||
*.pyc | ||
venv | ||
screenshots/screenshots/ | ||
conf/stack | ||
*/node_modules | ||
dist | ||
dest | ||
node_modules | ||
static/ldn | ||
static/fonts | ||
static/build | ||
stack_local | ||
test/data/registry/ | ||
GIT_HEAD | ||
.idea | ||
.python-version | ||
.pylintrc | ||
.coverage | ||
coverage | ||
htmlcov | ||
.tox | ||
.cache | ||
.npm-debug.log | ||
Dockerfile-e | ||
build/ | ||
.vscode | ||
*.iml | ||
.DS_Store | ||
.pytest_cache/* | ||
test/dockerclients/Vagrantfile | ||
test/dockerclients/.* |
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,37 @@ | ||
[style] | ||
based_on_style = chromium | ||
COLUMN_LIMIT=99 | ||
INDENT_WIDTH=2 | ||
BLANK_LINE_BEFORE_CLASS_DOCSTRING=False | ||
#True | ||
ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT=True | ||
# False | ||
ALLOW_MULTILINE_DICTIONARY_KEYS=True | ||
# False | ||
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=False | ||
# False | ||
COALESCE_BRACKETS=True | ||
DEDENT_CLOSING_BRACKETS=False | ||
CONTINUATION_INDENT_WIDTH=2 | ||
# False | ||
INDENT_DICTIONARY_VALUE=True | ||
JOIN_MULTIPLE_LINES=False | ||
# True | ||
SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET=False | ||
# True | ||
SPLIT_BEFORE_NAMED_ASSIGNS=False | ||
SPLIT_PENALTY_AFTER_OPENING_BRACKET=30 | ||
SPLIT_PENALTY_AFTER_UNARY_OPERATOR=10000 | ||
SPLIT_PENALTY_BEFORE_IF_EXPR=0 | ||
SPLIT_PENALTY_BITWISE_OPERATOR=300 | ||
SPLIT_PENALTY_EXCESS_CHARACTER=10000 | ||
SPLIT_PENALTY_FOR_ADDED_LINE_SPLIT=30 | ||
SPLIT_PENALTY_IMPORT_NAMES=450 | ||
SPLIT_PENALTY_LOGICAL_OPERATOR=300 | ||
USE_TABS=False | ||
SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED=False | ||
# Align closing bracket with visual indentation. | ||
align_closing_bracket_with_visual_indent=True | ||
|
||
# Allow lambdas to be formatted on more than one line. | ||
allow_multiline_lambdas=True |
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,103 @@ | ||
--- | ||
language: python | ||
python: 2.7 | ||
|
||
sudo: required | ||
|
||
services: | ||
- docker | ||
|
||
install: true | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
# Stop default database instances here to avoid port conflicts. | ||
before_script: | ||
- sudo service mysql stop | ||
- sudo service postgresql stop | ||
|
||
# Clean the cache if any step fails. | ||
before_cache: | ||
- scripts/ci fail-clean | ||
|
||
cache: | ||
timeout: 1000 | ||
directories: | ||
- $HOME/docker | ||
|
||
stages: | ||
- build | ||
- test | ||
- clean | ||
|
||
# We should label the steps if Travis ever supports it: | ||
# https://github.com/travis-ci/travis-ci/issues/5898 | ||
jobs: | ||
include: | ||
- stage: build | ||
name: Build | ||
script: scripts/ci build | ||
|
||
# To further shard, change the script to shard_X_of_XS and add new steps | ||
- stage: test | ||
name: Unit tests (shard 1) | ||
script: scripts/ci unit shard_1_of_2 | ||
- stage: test | ||
name: Unit tests (shard 2) | ||
script: scripts/ci unit shard_2_of_2 | ||
|
||
- stage: test | ||
name: Registry tests (shard 1) | ||
script: scripts/ci registry shard_1_of_5 | ||
- stage: test | ||
name: Registry tests (shard 2) | ||
script: scripts/ci registry shard_2_of_5 | ||
- stage: test | ||
name: Registry tests (shard 3) | ||
script: scripts/ci registry shard_3_of_5 | ||
- stage: test | ||
name: Registry tests (shard 4) | ||
script: scripts/ci registry shard_4_of_5 | ||
- stage: test | ||
name: Registry tests (shard 5) | ||
script: scripts/ci registry shard_5_of_5 | ||
|
||
- stage: test | ||
name: Legacy registry tests | ||
script: scripts/ci registry_old | ||
|
||
- stage: test | ||
name: Custom TLS certs test | ||
script: scripts/ci certs_test | ||
|
||
- stage: test | ||
name: Gunicorn worker test | ||
script: scripts/ci gunicorn_test | ||
|
||
- stage: test | ||
name: MySQL unit tests (shard 1) | ||
script: scripts/ci mysql shard_1_of_2 | ||
- stage: test | ||
name: MySQL unit tests (shard 2) | ||
script: scripts/ci mysql shard_2_of_2 | ||
|
||
- stage: test | ||
name: Postgres unit tests (shard 1) | ||
script: scripts/ci postgres shard_1_of_2 | ||
- stage: test | ||
name: Postgres unit tests (shard 2) | ||
script: scripts/ci postgres shard_2_of_2 | ||
|
||
- stage: clean | ||
name: Cleanup | ||
script: scripts/ci clean | ||
|
||
notifications: | ||
slack: | ||
rooms: | ||
- secure: "fBR3YMXaOkoX2Iz7oSJVAw9zrcDoqwadiMEWTWhx7Ic0zoM8IieD2EWIcDHAoGpqf3ixHkc1v/iLBpbWHgvK7TkrSrGEbFyEmu/uomuHU8oGTiazWCbMWg9T2mhWYFyVaKtt8bzMbFo8k72kYK/NWV8bR4W/Qe/opkH2GGzfhZA=" | ||
on_success: change | ||
on_failure: always | ||
on_pull_requests: false |
Oops, something went wrong.