Fix INF-319 failed to probe inventory resource 63/9363/1
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Mon, 24 Oct 2022 03:36:41 +0000 (11:36 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Mon, 24 Oct 2022 03:36:41 +0000 (11:36 +0800)
Issue-ID: INF-319
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I16765ae86f19671a5fe7788da1a792b9d7d3f222

Dockerfile

index 989e9d4..e837ed4 100644 (file)
@@ -5,17 +5,17 @@ RUN apt-get update && apt-get install -y git gcc procps vim curl ssh
 # in case git repo is not accessable
 # RUN mkdir -p /cgtsclient
 # COPY temp/config /cgtsclient/
-RUN git clone --depth 1 --branch master https://opendev.org/starlingx/config.git /cgtsclient
+RUN git clone --depth 1 --branch r/stx.7.0 https://opendev.org/starlingx/config.git /cgtsclient
 RUN pip install -e /cgtsclient/sysinv/cgts-client/cgts-client/
 
 # RUN mkdir -p /distcloud-client
 # COPY temp/distcloud-client /distcloud-client/
-RUN git clone --depth 1 --branch master https://opendev.org/starlingx/distcloud-client.git /distcloud-client/
+RUN git clone --depth 1 --branch r/stx.7.0 https://opendev.org/starlingx/distcloud-client.git /distcloud-client/
 RUN pip install -e /distcloud-client/distributedcloud-client
 # in case git repo is not accessable
 
 # RUN git clone --depth 1 --branch master https://github.com/cloudify-incubator/cloudify-helm-plugin.git /helmsdk
-RUN git clone --depth 1 --branch master https://opendev.org/starlingx/fault.git /faultclient
+RUN git clone --depth 1 --branch r/stx.7.0 https://opendev.org/starlingx/fault.git /faultclient
 RUN pip install -e /faultclient/python-fmclient/fmclient/