Add option to OVERRIDE

Providing an OVERRIDE tarball allows any and everything about the image
to be customized *before* the initial commands are run. This will be
used in the gate and other CICD systems to change package sources as
well as configure options.

In infra specfically we will be disabling signature verification on the
packages and pointing the repos to use infra repos.

Regular building is 100% unaffected by this addition.

Change-Id: Ic082408d222cbb9ba1761ce262a9703d8992e0d9
This commit is contained in:
Sam Yaple 2017-04-04 18:34:32 +00:00
parent 85d2eaf826
commit f6679e1e21
6 changed files with 9 additions and 0 deletions

View File

@ -8,6 +8,9 @@ ARG GIT_REPO=https://git.openstack.org/openstack/${PROJECT}
ARG GIT_REF
ARG GIT_REF_REPO=https://git.openstack.org/openstack/${PROJECT}
ARG SCRIPTS=https://github.com/yaodu/common/archive/0.1.2.tar.gz
ARG OVERRIDE=override
ADD $OVERRIDE /
RUN set -x \
&& yum install --setopt=tsflags=nodocs -y python curl \

0
centos/override/.gitkeep Normal file
View File

3
debian/Dockerfile vendored
View File

@ -8,6 +8,9 @@ ARG GIT_REPO=https://git.openstack.org/openstack/${PROJECT}
ARG GIT_REF
ARG GIT_REF_REPO=https://git.openstack.org/openstack/${PROJECT}
ARG SCRIPTS=https://github.com/yaodu/common/archive/0.1.2.tar.gz
ARG OVERRIDE=override
ADD $OVERRIDE /
RUN set -x \
&& apt-get update \

0
debian/override/.gitkeep vendored Normal file
View File

View File

@ -8,6 +8,9 @@ ARG GIT_REPO=https://git.openstack.org/openstack/${PROJECT}
ARG GIT_REF
ARG GIT_REF_REPO=https://git.openstack.org/openstack/${PROJECT}
ARG SCRIPTS=https://github.com/yaodu/common/archive/0.1.2.tar.gz
ARG OVERRIDE=override
ADD $OVERRIDE /
RUN set -x \
&& apt-get update \

0
ubuntu/override/.gitkeep Normal file
View File