Fixed archived versions of mos-spt, mos-checker and si-test
Related-PROD: PROD-36856
Change-Id: I46d787f206c0d60f9bca08e438e55d70512fc21a
diff --git a/k8s/docker-mos-toolset-full b/k8s/docker-mos-toolset-full
index b621299..d2e4ac3 100644
--- a/k8s/docker-mos-toolset-full
+++ b/k8s/docker-mos-toolset-full
@@ -2,7 +2,8 @@
MAINTAINER Alex Savatieiev (a.savex@gmail.com)
-ADD ./si-tests.tgz /opt/si-tests/
+ADD ./src/si-tests.tgz /opt/si-tests/
+ADD ./src/mos-checker.tgz /opt/cfg-checker/
WORKDIR /opt
RUN apt-get update && \
apt-get install -y make gcc g++ git libaio-dev libaio1 zlib1g-dev && \
@@ -27,7 +28,6 @@
RUN pip3 install --no-cache-dir python-openstackclient python-neutronclient python-heatclient pyghmi python-octaviaclient tempestparser python-ironicclient aodhclient gnocchiclient python-barbicanclient python-glanceclient
RUN git clone https://gerrit.mcp.mirantis.com/mcp/cvp-configuration /opt/res-files && \
- git clone http://gerrit.mcp.mirantis.com/mcp/cfg-checker /opt/cfg-checker && \
cd /opt/cfg-checker && \
python3 -m venv .checkervenv && \
. .checkervenv/bin/activate && \
diff --git a/k8s/docker-mos-toolset-min b/k8s/docker-mos-toolset-min
index 032a3a0..53e6c55 100644
--- a/k8s/docker-mos-toolset-min
+++ b/k8s/docker-mos-toolset-min
@@ -2,6 +2,7 @@
MAINTAINER Alex Savatieiev (a.savex@gmail.com)
+ADD ./src/mos-spt.tgz /opt/mos-spt/
WORKDIR /opt
RUN export TZ="America/Chicago" && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
@@ -29,8 +30,7 @@
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
rm kubectl
-RUN git clone "https://gerrit.mcp.mirantis.com/mcp/mos-spt" /opt/mos-spt && \
- cd /opt/mos-spt && \
+RUN cd /opt/mos-spt && \
python3 -m venv .venv && \
. .venv/bin/activate && \
pip3 install --no-cache-dir -r requirements.txt && \
diff --git a/k8s/si-tests.tgz b/k8s/si-tests.tgz
deleted file mode 100644
index fcda7f0..0000000
--- a/k8s/si-tests.tgz
+++ /dev/null
Binary files differ
diff --git a/k8s/src/mos-checker.tgz b/k8s/src/mos-checker.tgz
new file mode 100644
index 0000000..ebd230d
--- /dev/null
+++ b/k8s/src/mos-checker.tgz
Binary files differ
diff --git a/k8s/src/mos-spt.tgz b/k8s/src/mos-spt.tgz
new file mode 100644
index 0000000..71d34c0
--- /dev/null
+++ b/k8s/src/mos-spt.tgz
Binary files differ
diff --git a/k8s/src/si-tests.tgz b/k8s/src/si-tests.tgz
new file mode 100644
index 0000000..b6ac4d4
--- /dev/null
+++ b/k8s/src/si-tests.tgz
Binary files differ