2019-01-22 20:25:04 +00:00
|
|
|
#
|
2021-10-25 18:18:07 +00:00
|
|
|
# This file is autogenerated by pip-compile with python 3.8
|
2019-01-22 20:25:04 +00:00
|
|
|
# To update, run:
|
|
|
|
#
|
2020-01-13 21:33:12 +00:00
|
|
|
# pip-compile requirements/base.in
|
2019-01-22 20:25:04 +00:00
|
|
|
#
|
2021-02-04 08:31:48 +00:00
|
|
|
appdirs==1.4.4
|
|
|
|
# via -r requirements/base.in
|
2021-10-25 18:18:07 +00:00
|
|
|
cachetools==4.2.4
|
2021-02-04 08:31:48 +00:00
|
|
|
# via google-auth
|
2021-10-25 18:18:07 +00:00
|
|
|
certifi==2021.10.8
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
|
|
|
# kubernetes
|
|
|
|
# requests
|
2021-10-25 18:18:07 +00:00
|
|
|
charset-normalizer==2.0.7
|
2021-02-04 08:31:48 +00:00
|
|
|
# via requests
|
2021-10-25 18:18:07 +00:00
|
|
|
click==8.0.3
|
2021-04-13 20:14:43 +00:00
|
|
|
# via -r requirements/base.in
|
2021-10-25 18:18:07 +00:00
|
|
|
google-auth==2.3.1
|
2021-02-04 08:31:48 +00:00
|
|
|
# via kubernetes
|
2021-10-25 18:18:07 +00:00
|
|
|
idna==3.3
|
2021-02-04 08:31:48 +00:00
|
|
|
# via requests
|
2021-10-25 18:18:07 +00:00
|
|
|
jinja2==3.0.2
|
2021-02-04 08:31:48 +00:00
|
|
|
# via -r requirements/base.in
|
2021-09-23 04:10:05 +00:00
|
|
|
kubernetes==18.20.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via -r requirements/base.in
|
2021-06-02 13:16:32 +00:00
|
|
|
markupsafe==2.0.1
|
|
|
|
# via jinja2
|
2022-02-07 17:11:43 +00:00
|
|
|
mypy==0.942
|
2021-07-01 19:35:26 +00:00
|
|
|
# via -r requirements/base.in
|
2021-02-25 08:09:14 +00:00
|
|
|
mypy-extensions==0.4.3
|
|
|
|
# via mypy
|
2022-09-29 11:53:19 +00:00
|
|
|
oauthlib==3.2.1
|
2021-02-04 08:31:48 +00:00
|
|
|
# via requests-oauthlib
|
|
|
|
pyasn1==0.4.8
|
|
|
|
# via
|
|
|
|
# pyasn1-modules
|
|
|
|
# rsa
|
2021-07-01 19:35:26 +00:00
|
|
|
pyasn1-modules==0.2.8
|
|
|
|
# via google-auth
|
2021-10-25 18:18:07 +00:00
|
|
|
pycryptodome==3.11.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via -r requirements/base.in
|
2021-09-23 04:10:05 +00:00
|
|
|
python-dateutil==2.8.2
|
2021-02-04 08:31:48 +00:00
|
|
|
# via kubernetes
|
2021-10-25 18:18:07 +00:00
|
|
|
pyyaml==6.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
|
|
|
# -r requirements/base.in
|
|
|
|
# kubernetes
|
2021-09-23 04:10:05 +00:00
|
|
|
requests==2.26.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
|
|
|
# kubernetes
|
|
|
|
# requests-oauthlib
|
2021-07-01 19:35:26 +00:00
|
|
|
requests-oauthlib==1.3.0
|
|
|
|
# via kubernetes
|
2021-05-12 08:01:50 +00:00
|
|
|
rsa==4.7.2
|
2021-02-04 08:31:48 +00:00
|
|
|
# via google-auth
|
2021-05-12 08:01:50 +00:00
|
|
|
six==1.16.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
2021-10-25 18:18:07 +00:00
|
|
|
# google-auth
|
2021-02-04 08:31:48 +00:00
|
|
|
# kubernetes
|
|
|
|
# python-dateutil
|
2022-02-15 17:44:05 +00:00
|
|
|
tomli==2.0.1
|
2021-02-25 08:09:14 +00:00
|
|
|
# via mypy
|
2021-09-16 09:39:26 +00:00
|
|
|
typing-extensions==3.10.0.2
|
2021-10-25 18:18:07 +00:00
|
|
|
# via mypy
|
2021-09-23 04:10:05 +00:00
|
|
|
urllib3==1.26.7
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
|
|
|
# kubernetes
|
|
|
|
# requests
|
2021-09-23 04:10:05 +00:00
|
|
|
websocket-client==1.2.1
|
2021-02-04 08:31:48 +00:00
|
|
|
# via kubernetes
|
Improve job running in local and k8s
Running jobs was previously done with "exec". This was because it
allowed us to avoid copying too much container specification information
from the docker-compose/deployments files to the jobs files. However,
this was limiting:
- In order to run a job, the corresponding container had to be running.
This was particularly painful in Kubernetes, where containers are
crashing as long as migrations are not correctly run.
- Containers in which we need to run jobs needed to be present in the
docker-compose/deployments files. This is unnecessary, for example when
mysql is disabled, or in the case of the certbot container.
Now, we create dedicated jobs files, both for local and k8s deployment.
This introduces a little redundancy, but not too much. Note that
dependent containers are not listed in the docker-compose.jobs.yml file,
so an actual platform is still supposed to be running when we launch the
jobs.
This also introduces a subtle change: now, jobs go through the container
entrypoint prior to running. This is probably a good thing, as it will
avoid forgetting about incorrect environment variables.
In k8s, we find ourselves interacting way too much with the kubectl
utility. Parsing output from the CLI is a pain. So we need to switch to
the native kubernetes client library.
2020-03-25 17:47:36 +00:00
|
|
|
|
|
|
|
# The following packages are considered to be unsafe in a requirements file:
|
|
|
|
# setuptools
|