From 721bb1ed6afc0ba75cfe7b88e82ac4f500962589 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Fri, 1 Sep 2017 17:17:49 -0500 Subject: [PATCH] dist/ci/Dockerfile: include obs-deploy in /usr/bin. Paving the way for this image to be built outside of this repository. --- .travis.yml | 2 +- dist/ci/Dockerfile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a9033f64..295a8690 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,7 @@ matrix: deploy: provider: script - script: docker run -it -e OBS_PACKAGE="$OBS_PACKAGE" -e OBS_USER="$OBS_USER" -e OBS_PASS="$OBS_PASS" -e OBS_EMAIL="$OBS_EMAIL" spec ./dist/ci/obs-deploy + script: docker run -it -e OBS_PACKAGE="$OBS_PACKAGE" -e OBS_USER="$OBS_USER" -e OBS_PASS="$OBS_PASS" -e OBS_EMAIL="$OBS_EMAIL" spec obs-deploy on: branch: master condition: $TEST_SUITE = distribution diff --git a/dist/ci/Dockerfile b/dist/ci/Dockerfile index dc663e28..62973985 100644 --- a/dist/ci/Dockerfile +++ b/dist/ci/Dockerfile @@ -31,3 +31,6 @@ RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY . /usr/src/app + +# Already included in target, but simulate separate container image. +ADD dist/ci/obs-deploy /usr/bin/