From f870328e38c59375b2b19b1667a4baba0ce31bdb Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sat, 25 Aug 2018 03:09:48 +0200 Subject: [PATCH] [build.sh] Fix quotes, missing deb arch for repo JIRA: FUEL-383 Change-Id: Ie4374d44993bd738b90e9b6e357014d0c5657da0 Signed-off-by: Alexandru Avadanii --- ci/build.sh | 4 ++-- mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index a51a1358f..fde0cfe4e 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -77,9 +77,9 @@ pipenv run \ --dist=ubuntu \ --dist-rel=xenial \ --formula-rev=nightly \ - --opnfv-tag='${DOCKER_TAG}' \ + --opnfv-tag="${DOCKER_TAG}" \ --salt='stable 2017.7' \ - ${DOCKER_PUSH} + "${DOCKER_PUSH}" popd > /dev/null diff --git a/mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch b/mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch index 546e4e9e2..51931b507 100644 --- a/mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch +++ b/mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch @@ -23,7 +23,7 @@ Signed-off-by: Alexandru Avadanii 1 file changed, 28 insertions(+) diff --git a/DockerMake.yml b/DockerMake.yml -index 2c75586..9b044a3 100644 +index 2c75586..4883e2c 100644 --- a/DockerMake.yml +++ b/DockerMake.yml @@ -108,6 +108,34 @@ salt-formulas: @@ -37,7 +37,7 @@ index 2c75586..9b044a3 100644 + ENV SALT_FORMULA_VERSION $SALT_FORMULA_VERSION + ARG SALT_FORMULA_LIST="salt-formula-gnocchi" + ENV SALT_FORMULA_LIST $SALT_FORMULA_LIST -+ ENV APT_REPOSITORY "deb http://apt.mirantis.com/xenial ${SALT_FORMULA_VERSION} salt" ++ ENV APT_REPOSITORY "deb [arch=amd64] http://apt.mirantis.com/xenial ${SALT_FORMULA_VERSION} salt" + ENV APT_REPOSITORY_GPG "http://apt.mirantis.com/public.gpg" + RUN echo "Layer extra salt-formulas packages" \ + && echo "$APT_REPOSITORY" | tee /etc/apt/sources.list.d/salt-formulas.list >/dev/null \ -- 2.16.6