Create a flag to identify when running inside testbed

This commit is contained in:
Tim Byrne 2019-02-25 16:30:05 -06:00
parent e7f9616b39
commit 0f2039f79d
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ RUN pip3 install envtpl pytest==3.6.4 pylint==1.9.2 flake8==3.5.0
# Force GNUPG version 1 at path /usr/bin/gpg # Force GNUPG version 1 at path /usr/bin/gpg
RUN ln -fs /usr/bin/gpg1 /usr/bin/gpg RUN ln -fs /usr/bin/gpg1 /usr/bin/gpg
# Create a flag to identify when running inside the yadm testbed
RUN touch /.yadmtestbed
# /yadm will be the work directory for all tests # /yadm will be the work directory for all tests
# docker commands should mount the local yadm project as /yadm # docker commands should mount the local yadm project as /yadm
WORKDIR /yadm WORKDIR /yadm