-
Notifications
You must be signed in to change notification settings - Fork 30
Async Sidecar + maintenance pytest-simcore + docker build-kit/X #1350
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
Merged
sanderegg
merged 283 commits into
ITISFoundation:master
from
sanderegg:bugfix/sidecar_check_return_value
Mar 28, 2020
Merged
Changes from 1 commit
Commits
Show all changes
283 commits
Select commit
Hold shift + click to select a range
2409506
typo
sanderegg 92ee5aa
moving fixtures to package pytest-fixtures
sanderegg e00740b
moved helpers in common package
sanderegg 48bcd38
back to normal
sanderegg 8e85402
added environs fixture
sanderegg aa5a1e5
postgres service fixture independent of webserver
sanderegg e0f1791
celery service independent of webserver
sanderegg d6e600e
celery config independent of webserver
sanderegg b2f897b
rabbit fixture independent of webserver
sanderegg 983df67
added retrial policy for redis
sanderegg d9cf5b9
minor
sanderegg 5168609
linting
sanderegg c645fc6
added policy for celery retrials
sanderegg 2d9bfd9
annotations
sanderegg 1cb9743
added new command line in pytest to make development faster
sanderegg 3dc75e0
improving test
sanderegg 00ef622
added os environ for rabbit
sanderegg 2a726d1
added minio fixture
sanderegg 03ccac3
linting
sanderegg bddedf3
linting
sanderegg bfcec06
make sidecar async and set return values
sanderegg 3f9894d
annotations
sanderegg 487fc8e
async calls, cleanup
sanderegg 5b42942
formatting
sanderegg beb4098
asyncing + formatting
sanderegg 29f3e5d
refactoring
sanderegg 9326ada
minor
sanderegg cbb4ee3
moving fixtures to package pytest-fixtures
sanderegg d573c4d
adding makefile in sidecar
sanderegg 8a77bb4
creating tests for sidecar
sanderegg 935689d
remove pytest-docker
sanderegg 8d48051
moved helpers in common package
sanderegg 5fac359
added aiopika, aiodocker
sanderegg 4e92041
deprecate current sidecar tests
sanderegg e2375a4
minor
sanderegg 49fd403
typo
sanderegg 0d0ae59
added pytest-aiohttp
sanderegg b72f3b1
added depenency to servicelib
sanderegg 4f0ebec
removed usage of unnecessary fixtures
sanderegg a78cc65
add version config
sanderegg 0f71498
aio-pika in tests
sanderegg 5fefd70
do not print the path
sanderegg 615609e
back to normal
sanderegg d1ec5ba
added environs fixture
sanderegg 117b694
add environs fixture
sanderegg e4497ae
postgres service fixture independent of webserver
sanderegg a8309e0
celery service independent of webserver
sanderegg 452f7c6
celery config independent of webserver
sanderegg d091437
rabbit fixture independent of webserver
sanderegg dc340cb
add integration testing of sidecar
sanderegg a608ed5
add rabbitmq utils for retrial policy
sanderegg 7dab132
added retrial policy for redis
sanderegg 8209711
minor
sanderegg 85e92f1
minor
sanderegg 3f404a4
only update aio-pika
sanderegg 39d3bd7
pylint
sanderegg 99bd595
use logged gather to enhance logging
sanderegg 304c222
lintin
sanderegg aa3f248
update aio-pika
sanderegg 0edc26b
linting
sanderegg edb18e4
linting
sanderegg 3fc321a
added policy for celery retrials
sanderegg 7a2ae32
remove usage of celery for now
sanderegg 5adbbdb
invalid depend
sanderegg 89bbd19
fixed dockerfile missing libraries
sanderegg 302984f
multi-stage python build
sanderegg 76118fe
format + fixed type
sanderegg 3ef982d
use debian-based image
sanderegg 2e76aa9
add argument to change python version
sanderegg b449b55
add default value for SWARM_STACK_NAME
sanderegg 515e457
show warning if not running in a container
sanderegg d9278a8
use common makefile
sanderegg 197a5d5
check if in devel mode before installing dev targets
sanderegg 8b669ab
annotations
sanderegg 40089e5
typo
sanderegg 4fcd09c
fixed issue installing with pip-sync
sanderegg 5af2c98
shellcheck
sanderegg 1ccb2ce
improving test
sanderegg 65e0ac3
adapt call
sanderegg a079977
linter
sanderegg fa28b2c
added minio service
sanderegg 836e069
added os environ for rabbit
sanderegg 97b68cb
added minio fixture
sanderegg 4e3da5f
added simcore storage fixture
sanderegg 1ae82d4
added aiofiles
sanderegg 73b3ad4
towards integration test
sanderegg abe90dc
adding aiofiles
sanderegg a56e1d6
formatting
sanderegg 5f2cb3a
use f formatting
sanderegg 76109b4
cancel background task
sanderegg a881646
allow setting host folder
sanderegg f0492e6
testing sidecar 1st draft
sanderegg 4f0107a
linting
sanderegg ce90b18
cleanup dockerfile
sanderegg af8c71f
cleanup
sanderegg d58f11d
lint
sanderegg 925edae
create rabbit connection with aio-pika
sanderegg 319d957
use rabbit connection fixture
sanderegg c9fcf83
added queue consumer
sanderegg 2a4572c
build essential package contains gcc
sanderegg 5391ab2
dockerfile update
sanderegg f7df6b7
cleaning up
sanderegg e3dceeb
moving sidecar to simcore_service_sidecar
sanderegg 55e9ab8
added pydantic
sanderegg fc031d1
follow C extensions to pydantic
sanderegg 3294462
till it goes click
sanderegg 2b5805b
deprecated means not used
sanderegg d953c53
using pydantic
sanderegg 7d9db02
not re-raising exceptioin
sanderegg 4d24ad7
Minor: doc, format and minor changes
04a224a
collects all requirements of this folder
ace583e
using a context manager to access rabbit
sanderegg 64506fe
Created pytest-simcore plugin
76f9d94
Test runs
10de3a9
renames test
9455fca
Final fixes in pytest plugin module
e8a8cdd
Installs and uses pytest simcore plugin in webserver
7ffc4f0
Doc and cc config
2769113
Delete pytest-fixtures folder
f99959b
Added makefile
45e6d86
Updating ownership
61a6b13
Adds extra test
24cc36b
Fixes/improves issue with simcore root
09fb0fc
Fixed bad merge
03311ce
use pytest-simcore package
sanderegg ce1d479
one entrypoint only
sanderegg a528177
liinting
sanderegg ac9a939
fixture: add get_ip when multiple network interfaces are around
sanderegg b5f9f74
fixture: missing connection, exchange and channel
sanderegg 8f2bc81
bad merge
sanderegg 819876c
fixture: bad merge2
sanderegg 18c60d9
fixture: bad merge3
sanderegg 5dc3f17
fixture: docker swarm shall not go down when keep-docker-up set
sanderegg 990c9af
moving to pydantic
sanderegg df872a4
pydantic issue with assignment of _ prefixed variables
sanderegg 4c4d8c0
typo
sanderegg 7807c53
typo
sanderegg ae99e63
pydantic does not allow assignment on _ prefixed variables
sanderegg ebfb163
basic aio-pika works
sanderegg 5e12a67
integration test works again bye bye pydantic
sanderegg 0610665
add sidecar unit testing
sanderegg e3e33b7
aiodocker
sanderegg 7bc5089
clean up
sanderegg 8a8aa2b
update requirements
sanderegg 4c7facb
docker used in fixtures
sanderegg d5a6cbc
pydantic
sanderegg 8b98f9a
created aiopg async context manager
sanderegg 54f922c
add depency to simcore-postgres-database package
sanderegg 1cba9f2
cleanup
sanderegg 69867f9
fixed Makefile
sanderegg 11c904d
added bucket fixture
sanderegg f6cd664
changed endpoint to not contain scheme
sanderegg 09c5cbf
reset change
sanderegg 67bca87
cleanup
sanderegg 2fee460
use pytest-simcore fixtures
sanderegg f886139
nodeports use aiopg as sql engine
sanderegg df66eda
fix issue with S3_SECURE not being a 0,1
sanderegg 953e3ae
added sidecar models
sanderegg 7b1f6c8
minor
sanderegg fbaab8c
adds sidecar exceptions
sanderegg 64d1ca9
minor
sanderegg b4ca6f2
add callbacks to detect disconnections
sanderegg 7df0d64
only fail in case of exception
sanderegg 4b4ed0a
welcome aiopg instead of synchronous sql access
sanderegg c2f1d3a
remove the old stuff
sanderegg ae155be
pylint
sanderegg f05f9c4
pylint
sanderegg 3b54d78
missing requirements
sanderegg 97036ef
remove unnecessary files
sanderegg 4c4de25
beautify
sanderegg 8b6d7be
Merge branch 'master' into bugfix/sidecar_check_return_value
sanderegg ec392b9
bad merge
sanderegg a042c8b
this causes more problems
sanderegg 0ab3618
updated checkout version in github actions
sanderegg 8ed58f6
update docker-compose version to 1.25.3
sanderegg 4478758
missing link
sanderegg a84cffd
fixed linter
sanderegg ec7ede8
use pytest-simcore
sanderegg f5914b3
fix execution flag
sanderegg 09b0b85
remove the container after use
sanderegg 78d7be4
minor
sanderegg f2e08f6
add check=True
sanderegg be550fc
docker registry tenacity parameters
sanderegg 4fda38a
use retry to ensure async behaviour
sanderegg df01a47
docker is already setup, so no need to do it twice
sanderegg 71e7310
show info of docker as well
sanderegg a69a57e
show docker version complete output
sanderegg c470649
add click in the requirements
sanderegg 71549c7
add log level in director envs
sanderegg 76172b7
migrate director to debian docker
sanderegg 293cd2f
missing git
sanderegg a86c43c
minor
sanderegg 19def98
mount the whole package folder in devel mode
sanderegg d80b56b
typos
sanderegg c5bf0e0
fix module name
sanderegg 2fc6340
typo
sanderegg 6a73ec2
fix typos
sanderegg 040eb0d
fix call to su
sanderegg 172b52c
move task in celery app
sanderegg d1b2666
fix message syntax
sanderegg 2c3c396
minor
sanderegg d2b67e2
fix type
sanderegg 451813c
update the task
sanderegg d167a4a
sidecar runs without showing the logs
sanderegg e010b3f
async for in aiofile does not block
sanderegg 387c2b4
minor
sanderegg 0af5476
add docker buildx buildsteps
sanderegg e430f3c
added separate log_parser
sanderegg f70c34a
refactoring core
sanderegg 5d09ab1
improve logs
sanderegg cfd6d28
show who is logged in rabbit UI
sanderegg e32cefa
enable docker experimental
sanderegg 188e475
test build-x
sanderegg 71d9061
include buildx in github actions
sanderegg 0a885bb
use buildx
sanderegg 949a09e
fix integration tests
sanderegg e170be3
api-gateway is not pushed to registry
sanderegg 76d3ffe
minor
sanderegg 8474f28
wrong path
sanderegg d6b6a7c
minor
sanderegg b274343
use the same local production images as in make up-prod
sanderegg 4e790f4
Merge branch 'master' into bugfix/sidecar_check_return_value
sanderegg 191dca1
make PR faster by not building images in PR mode
sanderegg 083c047
replace celery by the rabbit
sanderegg d8d9a3a
Merge branch 'bugfix/sidecar_check_return_value' of github.com:sander…
sanderegg 31815f2
make building test images conditional in PRs
sanderegg b26bc07
only replace environ if none set before
sanderegg 0e0944b
no sidecar here
sanderegg ded2c35
moved requirements in its own folder
sanderegg 85969da
adds build-kit recipes
sanderegg 3f303c2
use pytest-simcore
sanderegg cf9999e
better debuggin
sanderegg 37ca090
use pytest-simcore
sanderegg d77366d
fix path
sanderegg 52675d8
fix path
sanderegg a9817a7
added aio-pika
sanderegg 21640ec
unnecessary assert
sanderegg 77e3660
@crespov contribution
sanderegg fa626bf
@pcrespov review
sanderegg 5a9a46e
Merge branch 'master' into bugfix/sidecar_check_return_value
sanderegg 9410456
fix bad merge
sanderegg a4f29ef
fix execution flag
sanderegg 8acc909
fix path
sanderegg 52a234f
set DOCKER_REGISTRY to default
sanderegg fad42aa
cannot define in travis and repo settings
sanderegg caa478b
default to itisfoundation if no docker-registry defined
sanderegg cfad941
final fix to travis
sanderegg daf5fb9
test only running on travis
sanderegg b4dbd2e
sidecar integration testing in travis
sanderegg 3ee7277
minor
sanderegg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.