Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58a61ff40c | ||
|
|
7d7f350e4d | ||
|
|
fc3a2b4591 | ||
|
|
0d9e0d5be4 |
@@ -64,9 +64,11 @@ dev_build:
|
|||||||
- chmod +x xjar
|
- chmod +x xjar
|
||||||
- "git log -100 --pretty=format:'%ad : %s' >> git-log.html"
|
- "git log -100 --pretty=format:'%ad : %s' >> git-log.html"
|
||||||
- tar -zcvf $FILE_NAME xjar nz-talon.xjar git-log.html
|
- tar -zcvf $FILE_NAME xjar nz-talon.xjar git-log.html
|
||||||
|
- md5sum $FILE_NAME > $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-latest.tar.gz.md5sum.txt
|
||||||
- mc alias set nz $MINIO_HOST $MINIO_USER $MINIO_PWD
|
- mc alias set nz $MINIO_HOST $MINIO_USER $MINIO_PWD
|
||||||
- mc cp $FILE_NAME nz/ci-cd/nz-talon/$FILE_NAME
|
- mc cp $FILE_NAME nz/ci-cd/nz-talon/$FILE_NAME
|
||||||
- mc cp $FILE_NAME nz/ci-cd/nz-talon/$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-latest.tar.gz
|
- mc cp $FILE_NAME nz/ci-cd/nz-talon/$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-latest.tar.gz
|
||||||
|
- mc cp $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-latest.tar.gz.md5sum.txt nz/ci-cd/nz-talon/$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-latest.tar.gz.md5sum.txt
|
||||||
- cd ../
|
- cd ../
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA"
|
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA"
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ public class OSHIUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
List<HashMap<Object, Object>> network = Tool.ListUtil.list(false);
|
List<HashMap<Object, Object>> network = Tool.ListUtil.list(false);
|
||||||
List<NetworkIF> networkIFs = hal.getNetworkIFs();
|
List<NetworkIF> networkIFs = hal.getNetworkIFs(true);
|
||||||
for (NetworkIF networkIF : networkIFs) {
|
for (NetworkIF networkIF : networkIFs) {
|
||||||
HashMap<Object, Object> networkData = Tool.MapUtil.newHashMap();
|
HashMap<Object, Object> networkData = Tool.MapUtil.newHashMap();
|
||||||
networkData.put("index", networkIF.getIndex());
|
networkData.put("index", networkIF.getIndex());
|
||||||
|
|||||||
@@ -80,11 +80,9 @@ restoreComponentConfig(){
|
|||||||
|
|
||||||
for i in $(ls $2);do
|
for i in $(ls $2);do
|
||||||
if [ 1 -eq `compareMD5 $1/$i $2/$i` ];then
|
if [ 1 -eq `compareMD5 $1/$i $2/$i` ];then
|
||||||
if [ -f $1/${i} ];then
|
|
||||||
echo 'return config file '$1/${i}
|
echo 'return config file '$1/${i}
|
||||||
cp -f $2/$i $1/$i
|
cp -f $2/$i $1/$i
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user