This repository has been archived by the owner on Oct 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update dependencies * fix kubeconfig loader * use pipenv * add missing pipenv shell * tox-pipenv * pipenv on Travis * add cache files to gitignore
- Loading branch information
Showing
13 changed files
with
8,430 additions
and
2,082 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 |
---|---|---|
|
@@ -12,3 +12,4 @@ dist/ | |
scm-source.json | ||
.cache/ | ||
.coverage | ||
.pytest_cache/ |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: python | ||
python: | ||
- "3.5" | ||
- "3.6" | ||
install: | ||
- pip install tox tox-travis coveralls | ||
- nvm install 7.4 | ||
|
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 |
---|---|---|
@@ -1,24 +1,26 @@ | ||
FROM alpine:3.6 | ||
FROM alpine:3.7 | ||
MAINTAINER Henning Jacobs <[email protected]> | ||
|
||
EXPOSE 8080 | ||
|
||
RUN apk add --no-cache python3 python3-dev gcc musl-dev zlib-dev libffi-dev openssl-dev ca-certificates && \ | ||
python3 -m ensurepip && \ | ||
rm -r /usr/lib/python*/ensurepip && \ | ||
pip3 install --upgrade pip setuptools gevent && \ | ||
pip3 install --upgrade pipenv gevent && \ | ||
apk del python3-dev gcc musl-dev zlib-dev libffi-dev openssl-dev && \ | ||
rm -rf /var/cache/apk/* /root/.cache /tmp/* | ||
|
||
COPY scm-source.json / | ||
|
||
COPY requirements.txt / | ||
RUN pip3 install -r /requirements.txt | ||
COPY Pipfile / | ||
COPY Pipfile.lock / | ||
|
||
WORKDIR / | ||
RUN pipenv install --system --deploy --ignore-pipfile | ||
|
||
COPY kube_ops_view /kube_ops_view | ||
|
||
ARG VERSION=dev | ||
RUN sed -i "s/__version__ = .*/__version__ = '${VERSION}'/" /kube_ops_view/__init__.py | ||
|
||
WORKDIR / | ||
ENTRYPOINT ["/usr/bin/python3", "-m", "kube_ops_view"] |
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,30 @@ | ||
[[source]] | ||
|
||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
|
||
[packages] | ||
|
||
click = "*" | ||
gevent = "*" | ||
requests = "*" | ||
stups-tokens = ">=1.1.19" | ||
redlock-py = "*" | ||
json-delta = ">=2.0" | ||
kubernetes = "*" | ||
flask = "*" | ||
flask-oauthlib = "*" | ||
|
||
|
||
[dev-packages] | ||
|
||
"flake8" = "*" | ||
pytest = "*" | ||
pipenv = "*" | ||
|
||
|
||
[requires] | ||
|
||
python_version = "3.6" |
Oops, something went wrong.