Add quay releases
This commit is contained in:
parent
666907f03e
commit
386c017d99
9 changed files with 174 additions and 3 deletions
|
@ -43,6 +43,7 @@ ADD conf/init/doupdatelimits.sh /etc/my_init.d/
|
|||
ADD conf/init/copy_syslog_config.sh /etc/my_init.d/
|
||||
ADD conf/init/runmigration.sh /etc/my_init.d/
|
||||
ADD conf/init/syslog-ng.conf /etc/syslog-ng/
|
||||
ADD conf/init/zz_release.sh /etc/my_init.d/
|
||||
|
||||
ADD conf/init/service/ /etc/service/
|
||||
|
||||
|
@ -53,6 +54,11 @@ RUN mkdir static/fonts static/ldn
|
|||
RUN venv/bin/python -m external_libraries
|
||||
RUN mkdir /usr/local/nginx/logs/
|
||||
|
||||
# We exclude everything except .git/{HEAD,refs} in .dockerignore so we don't
|
||||
# leak data into the image layer.
|
||||
RUN cat ".git/$( cat .git/HEAD | cut -d' ' -f 2 )" > GIT_HEAD
|
||||
RUN rm -fr .git
|
||||
|
||||
# Run the tests
|
||||
RUN TEST=true venv/bin/python -m unittest discover -f
|
||||
RUN TEST=true venv/bin/python -m test.registry_tests -f
|
||||
|
|
Reference in a new issue