X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ci%2FDockerfile-package;h=9b12cf95044d05ed6dbfbac14de5cc17320a1c06;hb=e9a39878a8169e03bbd4c3985cf1b52dde8fb725;hp=afb8a7416533858e2ffbd3ac519c530ab8fa5376;hpb=3280e62f4e72d38480f7de9eec2863135d2c909b;p=it%2Fdep.git diff --git a/ci/Dockerfile-package b/ci/Dockerfile-package index afb8a741..9b12cf95 100644 --- a/ci/Dockerfile-package +++ b/ci/Dockerfile-package @@ -15,11 +15,19 @@ ################################################################################ FROM buildpack-deps:stretch -RUN apt-get update && apt-get -q -y install debhelper dpkg-dev build-essential rsync +RUN apt-get update && apt-get -q -y install debhelper dpkg-dev build-essential rsync curl RUN mkdir /tmp/it-dep COPY . /tmp/it-dep WORKDIR /tmp/it-dep + +# Verify that the it/dep and the corresponding submodules are synced up +ARG GH=get_helm.sh +RUN curl --silent --show-error --connect-timeout 10 --retry 6 -L https://raw.githubusercontent.com/helm/helm/master/scripts/get -o ${GH} +RUN bash ${GH} +RUN helm init -c +RUN ./bin/verify-ric-charts + # building RIC deployment artifacts into a package RUN ./bin/package-ric-deployment-tools $(grep tag ./ci/package-tag.yaml | cut -f2 -d':') @@ -31,4 +39,3 @@ RUN ./bin/package-ric-deployment-tools $(grep tag ./ci/package-tag.yaml | cut -f # assumption is that the target directory is mounted as a volume. # ENTRYPOINT [ "ci/publish.sh" ] -