This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make: introduce makefile for testing/building
All tests will be run locally in a docker container built/rebuilt on demand. All integration tests will be run locally in a cluster created by DCOS E2E.
- Loading branch information
Showing
7 changed files
with
975 additions
and
2 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.git | ||
build.bash | ||
tests | ||
requirements-dev.txt | ||
hooks | ||
scripts | ||
.* | ||
Dockerfile | ||
Makefile |
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,7 @@ | ||
.idea | ||
templates/ | ||
__pycache__ | ||
.pytest_cache | ||
*.pyc | ||
.env | ||
.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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM debian:buster | ||
|
||
ENV LANG=C.UTF-8 | ||
|
||
RUN set -x \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
docker.io \ | ||
gcc \ | ||
git \ | ||
jq \ | ||
libcurl4-openssl-dev \ | ||
libssl-dev \ | ||
python3-dev \ | ||
python3-pip \ | ||
python3-setuptools | ||
|
||
COPY requirements-dev.txt /marathon-lb/requirements-dev.txt | ||
COPY requirements.txt /marathon-lb/requirements.txt | ||
|
||
# NOTE(jkoelker) dcos-e2e has a large list of strict requrements (== vs >=) | ||
# that creates conflicts preventing the command line from | ||
# running. By installing it in its own pip transaction, then | ||
# allowing subsequent pip to use the existing requirements | ||
# (no --upgrade or --force-reinstall) the command line is | ||
# available | ||
RUN set -x \ | ||
&& pip3 install \ | ||
--no-cache \ | ||
--upgrade \ | ||
https://github.com/dcos/dcos-e2e/archive/2018.12.10.0.zip \ | ||
&& pip3 install \ | ||
--no-cache \ | ||
-r /marathon-lb/requirements-dev.txt | ||
|
||
CMD ["/bin/bash"] |
Oops, something went wrong.