summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ae58dab)
Changes the build so that it will install the osmclient from the
locally created apt repository instead of attempting to build it
again from the git sources.
Change-Id: Id096ae2343811b26e96ec1f9313d45ad69a9a68f
Signed-off-by: beierlm <mark.beierl@canonical.com>
RUN add-apt-repository -y ppa:rmescandon/yq && apt update && apt install yq -y
RUN python3 -m pip install haikunator requests robotframework robotframework-seleniumlibrary \
robotframework-requests robotframework-jsonlibrary robotframework-sshlibrary charm-tools \
RUN add-apt-repository -y ppa:rmescandon/yq && apt update && apt install yq -y
RUN python3 -m pip install haikunator requests robotframework robotframework-seleniumlibrary \
robotframework-requests robotframework-jsonlibrary robotframework-sshlibrary charm-tools \
- git+https://osm.etsi.org/gerrit/osm/IM.git git+https://osm.etsi.org/gerrit/osm/osmclient.git
ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
ARG RELEASE=ReleaseEIGHT-daily
ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
ARG RELEASE=ReleaseEIGHT-daily
ARG TESTS_VERSION
RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add -
ARG TESTS_VERSION
RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add -
-RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} tests" && apt-get update
+RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} tests osmclient IM" && apt-get update
+RUN apt-get install -y python3-osm-im${IM_VERSION} python3-osmclient${OSMCLIENT_VERSION}
RUN apt-get install -y osm-tests${TESTS_VERSION} && \
rm -rf /var/lib/apt/lists/*
RUN apt-get install -y osm-tests${TESTS_VERSION} && \
rm -rf /var/lib/apt/lists/*