Skip to content

Commit

Permalink
Merge 3d94fb5 into 4cca612
Browse files Browse the repository at this point in the history
  • Loading branch information
NiallEgan committed Sep 5, 2018
2 parents 4cca612 + 3d94fb5 commit 6544948
Show file tree
Hide file tree
Showing 14 changed files with 1,030 additions and 16 deletions.
8 changes: 7 additions & 1 deletion aimmo-game-creator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
FROM python:3-onbuild
FROM python:2

MAINTAINER code@ocado.com

COPY . .

RUN pip install pipenv

RUN pipenv install --system --deploy

CMD ["python", "./service.py"]
11 changes: 11 additions & 0 deletions aimmo-game-creator/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
kubernetes = "*"
aimmo-game-creator = {editable = true, path = "."}

[requires]
python_version = "2.7"
306 changes: 306 additions & 0 deletions aimmo-game-creator/Pipfile.lock

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions aimmo-game-creator/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion aimmo-game-creator/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
include_package_data=True,
install_requires=[
'eventlet',
'kubernetes == 5.0.0'
'kubernetes >= 6.0.0'
],
tests_require=[
'httmock',
Expand Down
8 changes: 7 additions & 1 deletion aimmo-game-worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
FROM python:2-onbuild
FROM python:2

MAINTAINER code@ocado.com

COPY . .

RUN pip install pipenv

RUN pipenv install --system --deploy

CMD python service.py 0.0.0.0 5000 $DATA_URL
11 changes: 11 additions & 0 deletions aimmo-game-worker/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
kubernetes = "*"
aimmo-game-creator = {editable = true, path = "."}

[requires]
python_version = "2.7"
301 changes: 301 additions & 0 deletions aimmo-game-worker/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions aimmo-game-worker/requirements.txt

This file was deleted.

8 changes: 7 additions & 1 deletion aimmo-game/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
FROM python:2-onbuild
FROM python:2

MAINTAINER code@ocado.com

ENV WORKER_MANAGER=kubernetes

COPY . .

RUN pip install pipenv

RUN pipenv install --system --deploy

CMD ["python", "./service.py", "0.0.0.0", "5000"]
11 changes: 11 additions & 0 deletions aimmo-game/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
kubernetes = "*"
aimmo-game = {editable = true, path = "."}

[requires]
python_version = "2.7"
Loading

0 comments on commit 6544948

Please sign in to comment.