Skip to content

Commit 454a0fb

Browse files
committed
Substantial cleanup
1 parent 9458f7f commit 454a0fb

19 files changed

Lines changed: 14 additions & 229 deletions

.dockerignore

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
.git
2+
**/.DS_Store
3+
**/.*sw[op]
4+
**/*.py[co]
5+
**/*.egg-info
26

3-
# --- Below Should mirror .gitignore, without leading '/' --- #
4-
.DS_Store
5-
.*sw[op]
6-
*.py[co]
7-
*.egg-info
8-
persistent
9-
runtime
10-
bootstrap.json
11-
.cache
12-
.coverage*
13-
coverage.xml
14-
htmlcov
15-
node_modules
7+
/.coverage*
8+
/htmlcov
File renamed without changes.
File renamed without changes.

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
.*sw[op]
33
*.py[co]
44
*.egg-info
5-
/persistent
6-
/runtime
7-
bootstrap.json
8-
.cache
5+
96
/.coverage*
10-
coverage.xml
117
/htmlcov
12-
node_modules/
13-
/bin/accesslog.csv

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ script:
2727
- docker build -t core:dist --target dist --build-arg VCS_BRANCH="$TRAVIS_BRANCH" --build-arg VCS_COMMIT="$TRAVIS_COMMIT" .
2828
- docker build -t core:testing --target dev .
2929
- docker save -o "$DOCKER_DIR/image.tar" $(docker history -q core:build | grep -v '<missing>') $(docker history -q core:dist | grep -v '<missing>')
30-
- ./tests/bin/run-tests-docker.sh --image core:testing
30+
- ./tests/bin/docker-tests.sh --image core:testing
3131

3232
after_success:
3333
- if [ "$TRAVIS_TAG" ]; then

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ VOLUME /data/persistent
2424
WORKDIR /src/core
2525
ENV SCITRAN_PERSISTENT_DATA_PATH=/data/persistent
2626

27-
COPY docker/unit.json /var/local/unit/conf.json
27+
COPY nginx-unit.json /var/local/unit/conf.json
2828
COPY requirements.txt requirements.txt
2929
RUN pip install -r requirements.txt
3030

@@ -33,9 +33,9 @@ RUN pip install -e .
3333

3434
ARG VCS_BRANCH=NULL
3535
ARG VCS_COMMIT=NULL
36-
RUN docker/build_info.sh $VCS_BRANCH $VCS_COMMIT | tee /version.json
36+
RUN ./bin/build_info.sh $VCS_BRANCH $VCS_COMMIT | tee /version.json
3737

38-
ENTRYPOINT ["./entrypoint.sh"]
38+
ENTRYPOINT ["./bin/entrypoint.sh"]
3939
CMD ["unitd", "--control", "*:8080", "--no-daemon", "--log", "/dev/stdout"]
4040

4141

@@ -47,4 +47,4 @@ RUN apk add --no-cache mongodb
4747

4848
RUN pip install -r tests/requirements.txt
4949

50-
CMD ["./docker/dev+mongo.sh"]
50+
CMD ["./bin/dev+mongo.sh"]
File renamed without changes.
File renamed without changes.
File renamed without changes.

bootstrap.sample.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)