From eae5fe84a255ac8b8da60441e76b15c19b4c9892 Mon Sep 17 00:00:00 2001 From: winloong <21272660+vinloong@users.noreply.github.com> Date: Fri, 22 Apr 2022 17:49:00 +0800 Subject: [PATCH] add --- syncimages/app/Dockerfile | 15 +++++ syncimages/{ => app}/app.py | 10 ++- syncimages/app/config | 19 ++++++ syncimages/{ => app}/dispatch.sh | 0 syncimages/{ => app}/harbor.py | 3 + syncimages/app/hosts.txt | 10 +++ syncimages/{hosts.txt => app/images.txt} | 0 syncimages/{ => app}/k8s.py | 5 +- syncimages/{ => app}/pull.sh | 2 +- syncimages/app/run.sh | 16 +++++ syncimages/app/ssh/id_rsa | 27 ++++++++ syncimages/app/ssh/id_rsa.pub | 1 + syncimages/config | 19 ------ syncimages/images.txt | 86 ------------------------ 14 files changed, 103 insertions(+), 110 deletions(-) create mode 100644 syncimages/app/Dockerfile rename syncimages/{ => app}/app.py (82%) create mode 100644 syncimages/app/config rename syncimages/{ => app}/dispatch.sh (100%) rename syncimages/{ => app}/harbor.py (96%) create mode 100644 syncimages/app/hosts.txt rename syncimages/{hosts.txt => app/images.txt} (100%) rename syncimages/{ => app}/k8s.py (92%) rename syncimages/{ => app}/pull.sh (99%) create mode 100644 syncimages/app/run.sh create mode 100644 syncimages/app/ssh/id_rsa create mode 100644 syncimages/app/ssh/id_rsa.pub delete mode 100644 syncimages/config delete mode 100644 syncimages/images.txt diff --git a/syncimages/app/Dockerfile b/syncimages/app/Dockerfile new file mode 100644 index 0000000..e485935 --- /dev/null +++ b/syncimages/app/Dockerfile @@ -0,0 +1,15 @@ +FROM docker:20-dind + +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \ + && apk add --no-cache python3 py3-pip \ + && ln -sf python3 /usr/bin/python \ + && python3 -m ensurepip \ + && pip3 install --no-cache --upgrade pip setuptools \ + && pip install kubernetes requests \ + && rm -rf /var/cache/apk/* + +WORKDIR /app + +COPY . . + +RUN chmod 600 -R ssh diff --git a/syncimages/app.py b/syncimages/app/app.py similarity index 82% rename from syncimages/app.py rename to syncimages/app/app.py index 38332fc..833422b 100644 --- a/syncimages/app.py +++ b/syncimages/app/app.py @@ -1,5 +1,7 @@ -import k8s -import harbor +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import k8s, harbor import os import argparse @@ -7,7 +9,7 @@ argparser = argparse.ArgumentParser() argparser.description = '输入一个参数,--is_first ' argparser.add_argument('-f', '--is_first', dest='is_first', default=False, help='是否是第一次执行') -ns_list = ['anxinyun'] +ns_list = ['anxincloud', 'environment', 'smart-city', 'smart-xxx', 'free-sun', 'ops'] def first_get_all(): @@ -42,3 +44,5 @@ if __name__ == '__main__': first_get_all() else: get_latest_images() + os.system('sh ./pull.sh images.txt') + os.system('sh ./dispatch.sh images.tar.gz hosts.txt') diff --git a/syncimages/app/config b/syncimages/app/config new file mode 100644 index 0000000..d4225e6 --- /dev/null +++ b/syncimages/app/config @@ -0,0 +1,19 @@ +apiVersion: v1 +clusters: + - cluster: + certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN5RENDQWJDZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJd01EZ3pNVEExTlRjd04xb1hEVE13TURneU9UQTFOVGN3TjFvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTnl3CjduS1BIN0FuUHM5WHRoUFZQaHhqUThDTmc4bXFWVUhQUW5tNy82b09uK2t5T292ZnduQ3Zoa1VseWZHN0o2SHgKaUpzeFdic1drZzMwdmJxVGhxL05oQlJiSmVRekMvU3JTZ2lJdmcyQ1Ryc3VUUUFyeDN3NjNaaDBpa0ZuQWZ2MQo3Zk1FV245cUh3a0EweE1zM08yYVlMVzBLRno1N0FMSWZScGlYamF1dnIvcmdjbTdWYUp6MzZnY1EvMUozbjlGCkk4cDZHdjE5Q1dvTEhqZlZ2d2Qrd2xZTkk4Wi9nSjdDdTVuU3N1aEZzbnpKS24vSTlOdko3Yzd1enQzTkt1ZkEKZDIyZVFDRHZpZ1lpNjh1bTY2UXpRZC90eTB6cUxjVy9jMkdEWS9CVHBhMXZhYzd5eVZyUlovN2phaUpSUGhrQwpFQ3duYWNhdGpaVytQWHcvVE9FQ0F3RUFBYU1qTUNFd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFHOE15SHNUTDZKbmdwNjRyTUZRWWlnMFB6Z0cKbUVVc3pUU0MzVG14dmZvaGRGbUdyTVFsTElBT2g2ZDdSK04xcmx3eFdORkM5LzE3WnJKdVM0THZ5N3NsZXpWKwo4QTl1U3pjS29vK2hJSktmaGpmWTkrSnl5YUN6UGNibDlrb25PUTFsWTFtS1JOUTJacXZ5a1lONDVRY0QzZjNuClJmWGJlQmJNcTg4YWtJWnREekRzZzZweTJLY3hvSDhJVzZ1U3l6TXhXeWFxckJBWXNRSmhGNW9oYURoRW5nYWUKYmtMb0hYcnNBcjJWRWV1bXBIVkNvYzhZejBibkNNTWdXWk9WNzJicWhlVWh6WHlYUnVYOFdKRVh5bHJ4L3I3RworZHQ5c2g3bmxncnVpYVZtWjl0cVViOGVpM3Q1M0ZUdk43eThuOHdqRVl0Q3VqWjljWVRTc05TakVmaz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo= + server: https://10.8.40.200:16443 + name: kubernetes +contexts: + - context: + cluster: kubernetes + user: kubernetes-admin + name: kubernetes-admin@kubernetes +current-context: kubernetes-admin@kubernetes +kind: Config +preferences: {} +users: + - name: kubernetes-admin + user: + client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM5RENDQWR5Z0F3S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q3poNFBUcnVHazF1NklhNy9FM3VudmMwRWtVZXhuMlcxTUo2WVhmNE41clNuc2JVTjQyagpKRzNNSUY3RDk0R3ZDUWhXSlRFR0VpNEI5VGhiQVQzWlA1S3Y1aU1LSFBTdVlCWHRrZHo2UE5OT2RTWlVabVhxCnRIYzRmV0VDZ1lBOXVTcXhWT2pvQ3hUN2pSK0xtL2J5SnR2eVpNUXVjU1BIMUwrS2dBVTd2MGV1b1JJNTFaZ1MKbStCTWZDdGR5c1Z3ZEJLTGV2RDVVYnM1T3hIM0FNeTJaNnQwa082Y2VnRmZtSWs0ZXBTZjArSjF5RkVrelViYQptV05vT2d3bVRHUkQxbVVWVmxKZHYzQkRCUFgwUUZSTHNJeGxjS2xyUldKQ3l5QkdYQXlYZkE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo= \ No newline at end of file diff --git a/syncimages/dispatch.sh b/syncimages/app/dispatch.sh similarity index 100% rename from syncimages/dispatch.sh rename to syncimages/app/dispatch.sh diff --git a/syncimages/harbor.py b/syncimages/app/harbor.py similarity index 96% rename from syncimages/harbor.py rename to syncimages/app/harbor.py index 565fd42..b44311a 100644 --- a/syncimages/harbor.py +++ b/syncimages/app/harbor.py @@ -1,3 +1,6 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + import requests from urllib import parse diff --git a/syncimages/app/hosts.txt b/syncimages/app/hosts.txt new file mode 100644 index 0000000..b17e298 --- /dev/null +++ b/syncimages/app/hosts.txt @@ -0,0 +1,10 @@ +/app/ssh/id_rsa +anxinyun@10.8.40.111:22 +anxinyun@10.8.40.112:22 +anxinyun@10.8.40.113:22 +anxinyun@10.8.40.114:22 +anxinyun@10.8.40.115:22 +anxinyun@10.8.40.116:22 +anxinyun@10.8.40.117:22 +anxinyun@10.8.40.118:22 +anxinyun@10.8.40.122:22 diff --git a/syncimages/hosts.txt b/syncimages/app/images.txt similarity index 100% rename from syncimages/hosts.txt rename to syncimages/app/images.txt diff --git a/syncimages/k8s.py b/syncimages/app/k8s.py similarity index 92% rename from syncimages/k8s.py rename to syncimages/app/k8s.py index f4e7cdc..d9e344e 100644 --- a/syncimages/k8s.py +++ b/syncimages/app/k8s.py @@ -1,6 +1,9 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + from kubernetes import client, config -config.load_kube_config("D:/workspace/pythonprojects/syncimages/config") +config.load_kube_config("/app/config") apps_v1 = client.AppsV1Api() core_v1 = client.CoreV1Api() diff --git a/syncimages/pull.sh b/syncimages/app/pull.sh similarity index 99% rename from syncimages/pull.sh rename to syncimages/app/pull.sh index a3901e1..ee65101 100644 --- a/syncimages/pull.sh +++ b/syncimages/app/pull.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh folder=${1%.*} diff --git a/syncimages/app/run.sh b/syncimages/app/run.sh new file mode 100644 index 0000000..25aa1a6 --- /dev/null +++ b/syncimages/app/run.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +#dockerd-entrypoint.sh +#exec nohup "dockerd-entrypoint.sh" > nohup.out 2>&1 + +nohup "dockerd-entrypoint.sh" & + +COUNT=0 +while [[ $COUNT -lt 10 ]] +do + echo $COUNT + sleep 1; + COUNT=$((COUNT+1)) +done + +python app.py -f True diff --git a/syncimages/app/ssh/id_rsa b/syncimages/app/ssh/id_rsa new file mode 100644 index 0000000..b54c7f8 --- /dev/null +++ b/syncimages/app/ssh/id_rsa @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEA53LaR0IGLj4JIZwEECt7ZtpB2aqqy5y0UmkJujUS/fe11S34 +BKLkrSOfycLNkkHQ6etmLFb0IYHXzUkF07AlG7esnndJ0E7mKBtEUv1MfAREYKSy +rCWpsuhXQpRlah9qHpGIoyg69VbYlKFRbdu/ziYt37zDzRiViFHNDZwr69M1pC5m +CCjfANmqAtn7xXPF+/OqBTWSqlCEraRSt2RCH8V4MaIOkyvN8KZDAMPlCZ3s0TvU +mtOi2HbrQWBxNHKl3BUWI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wOX5U9nKAgu +ZLzCmyf/j6f1mqjQr4fphvdEZpNl983rZcH5PuHHb0YZ3garg+sSuTZu92Z2uCgg +tQpLJyUCgYEAgPg1OZcClZKaxbaQ3KyQvogKlHW803gTJO/JvbbIE+mIjxsWkKD8 +alnJixyHfxK4h6Cd38xgsIc+ju1aAWPfe5CasMisU+2T9p41Mh6YCxxoRBYxtM/9 ++iiOXwnlGgF2aN3w7RRMy3HPvI0NYX0KrobpQ2y5Of2EGpRQv2fjPnI= +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/syncimages/app/ssh/id_rsa.pub b/syncimages/app/ssh/id_rsa.pub new file mode 100644 index 0000000..638374a --- /dev/null +++ b/syncimages/app/ssh/id_rsa.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDnctpHQgYuPgkhnAQQK3tm2kHZqqrLnLRSaQm6NRL997XVLfgEouStI5/Jws2SQdDp62YsVvQhgdfNSQXTsCUbt6yed0nQTuYoG0RS/Ux8BERgpLKsJamy6FdClGVqH2oekYijKDr1VtiUoVFt27/OJi3fvMPNGJWIUc0NnCvr0zWkLmYIKN8A2aoC2fvFc8X786oFNZKqUIStpFK3ZEIfxXgxog6TK83wpkMAw+UJnezRO9Sa06LYdutBYHE0cqXcFRYjGZNhDNn0p7ARnDkyjuGZLqWkwpn7QLu70glyXC+zIGzJyTFCie86vlUoOtgpvg/CKlKrb9JCOxICNzE3 anxinyun@anxinyun-m3 \ No newline at end of file diff --git a/syncimages/config b/syncimages/config deleted file mode 100644 index acbaca8..0000000 --- a/syncimages/config +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: v1 -clusters: -- cluster: - certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeE1USXdOVEU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3NOdU5pb2pzSkpvd0tVcVo2dXVwRkFYMmhLQgpla3UxbXpQa2ErazhnUmNEdlVqVExPU0g3RVhiYU4wR0IzUHU2dVdnREJvbkF5TU12aHJHazFFNlBOS1lKZGhzCk5YcDFINFVvOXoxbytwRE1pbldGY2lueXUyZUFTWFYvZ0dmSytUMHBkU29wSW9tRlBxS1ZZcXExVENnMjJuWmoKNkprPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg== - server: https://10.8.30.157:6443 - name: kubernetes -contexts: -- context: - cluster: kubernetes - user: kubernetes-admin - name: kubernetes-admin@kubernetes -current-context: kubernetes-admin@kubernetes -kind: Config -preferences: {} -users: -- name: kubernetes-admin - user: - client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJWkE5K2FJN0ZTV293RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TVRFeU1EVXhORFU1TVRsYUZ3MHlNakV5TURVeE5EVTVNakphTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lEVlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXhoaFYrOFd3ZDB3bmpXKzMKV1MrQ050RmlYMENXbFMrM0VKNHYrWitMbXZjckVHQmtobUwrWXlaeUJ6ZFZ3dmNKK2FHMHgwdE9wd203bzZSVApqZ1VjVUdLd0toZXQzZW5SVlM3dkJpaXdnQVF0RVRrMit0MWR5dFMyVDYrbUFkZUhnWWhBWkw2cEFpQi92anJkCmF3dk05T3o1d2o2d2dCaXFKV25SUFQ0dlQvR0lRaTFTUDh4c1QyRmVZVVRnc2hleEltNnJkVHAxeVlFZ0hhTnAKU0JhelRJaERxajFsS0twNDk5bThPQ1BpL3BCbVpxa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Ed1dWREFxVlZ6dVVKMFZPc0RVRXFudVJFNWhDdnNtTDJMelJlcFZoVlNXaGwrMlpObVBqYlNLSThwM3d2bwpObXZ1Um1NUysrT3daTmdYYUFJbFRFbW5NVm55ckZrdUY3TWpUNHNnZUIrdHRSODV3b2pBaFcwTkVHMFZLdnZXCnVSajJLRFRmODlMcDBlN2JWeUtqN09QSEZOSFdFaVFCTE90NDNlY0NnWUVBdENjVzNDTU5acEVvbnB3ZkpXUmIKcHl5QzZ2aGZOcUNsekw1WTEwMnpLdUFaOFBZbGhlZjFaL3JXb0RDRFE2NXA1TzkrUHZ5dk1nNXpLNUE0SDVjYwpxWXFDbm51TTVteGlkNnR2RDR0TTUwNTVYNnRwTTR1SjBtT24xWTZDUjBpcFhiRmNMVVgxSWdIbUlJWXpheG50ClRMR2hDMjdjNDMxNlB6ZVg4MURNSmFVQ2dZQk15TGlvdmJzdHhSWGMyZlFpMnlVWlczWk4yQk14bVRWaFJpYlkKKy9jY2t6SlEzS1JVQU9yd0xPSk1nV0ZlUkdoZUxJYkVOK2VML25wTk5pZHl4SnRWTzExcVArUnB2SUNmTHlQSgoydHh6cUhxdkZoYmJHanBnSzJrSXdhVDg0NWYyZjlUNzdtS1hVSStCUlNSOWFRZWNCcUN1T3pzZzlNY085ZGV0CmppOHZpUUtCZ1FEUWJldm9UenNZckcvQ1RLeUZoc3RoMFNNQk1xbXlkOU5RamE2dkVaUzlzTTVOOGNCbVQyODIKc2ZiWnRYa1RMSXlSeFUvVkpDcE4zMmw0YzA1bkhTdEtiQllaTDZvbFMxMURtZW5Wbkc5cXZQWHQ5blpkZDNmZAp0ZjFwUFdCQXJkUlJlUWRFTElOUytCNHpEQlFOdXlHSnNuRTRLNktkTE1ndWgwMEZBK0hXRUE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo= diff --git a/syncimages/images.txt b/syncimages/images.txt deleted file mode 100644 index 1f8f5f2..0000000 --- a/syncimages/images.txt +++ /dev/null @@ -1,86 +0,0 @@ -repository.anxinyun.cn/anxinyun/actionview-dashboard:11.21-12-09 -repository.anxinyun.cn/firecontrol/anfang-2b-datapush:44.22-04-21 -repository.anxinyun.cn/firecontrol/anfangdatapush:22.22-01-21 -repository.anxinyun.cn/firecontrol/anfangweb-2b:190.22-04-20 -repository.anxinyun.cn/firecontrol/anfangapi-2bctrl:76.22-04-20 -repository.anxinyun.cn/firecontrol/anfangweb-2bctrl:47.22-04-20 -repository.anxinyun.cn/firecontrol/anfangweb:31.22-01-21 -repository.anxinyun.cn/firecontrol/anfangapi:39.22-01-21 -repository.anxinyun.cn/smartcity/smartsafety-console:31.21-12-20 -repository.anxinyun.cn/smartcity/worksafety-webapi:21-07-01.15 -repository.anxinyun.cn/smart/camundademo:22-04-12.24 -repository.anxinyun.cn/anxinyun/config_center:35.21-07-16 -repository.anxinyun.cn/anxinyun/console-web:143.22-03-23 -repository.anxinyun.cn/anxincloud/et.iotaraw:20-11-10.1 -repository.anxinyun.cn/anxincloud/et.iotaraw:4.21-04-09 -repository.anxinyun.cn/anxin/iota-proxy:38.21-11-29 -repository.anxinyun.cn/anxin/iota-proxy:dragon.33 -repository.anxinyun.cn/anxin/iota-proxy:dragon.33 -repository.anxinyun.cn/anxinyun/receiver:12.21-04-15 -repository.anxinyun.cn/shushijia/web:106.22-02-28 -repository.anxinyun.cn/shushijia/webapi:333.22-04-11 -repository.anxinyun.cn/anxinyun/weather:dragon.3 -repository.anxinyun.cn/anxincloud/weather-history:11.21-04-02 -repository.anxinyun.cn/smart/camundademo:22-04-18.25 -repository.anxinyun.cn/smart/camundademo:22-04-08.23 -repository.anxinyun.cn/shushijia/datapush:62.21-03-16 -repository.anxinyun.cn/shushijia/report:69.22-04-13 -repository.anxinyun.cn/shushijia/report-web:112.22-04-13 -repository.anxinyun.cn/anxinyun/weatherhttp:20-10-22.1 -repository.anxinyun.cn/projectmanagement/emis.webapi:214.22-04-20 -repository.anxinyun.cn/projectmanagement/emis.webapi:186.22-04-11 -repository.anxinyun.cn/projectmanagement/emis.web:300.22-04-21 -repository.anxinyun.cn/projectmanagement/emis.web:271.22-04-12 -repository.anxinyun.cn/fs-env/env.api:113.22-04-06 -repository.anxinyun.cn/fs-env/api.public:dragon.9 -repository.anxinyun.cn/smartcity/zhujianju-console:114.21-04-29 -repository.anxinyun.cn/anxinyun/zhujianju:66.21-05-08 -repository.anxinyun.cn/devops/flink:1.9.3-scala_2.11 -repository.anxinyun.cn/devops/flink:1.9.3-scala_2.11 -repository.anxinyun.cn/smartsite/shunkongsite-api:8.22-04-01 -repository.anxinyun.cn/smartsite/shunkongsite-web:13.22-04-20 -repository.anxinyun.cn/anxinyun/console-web:11.22-04-15 -repository.anxinyun.cn/anxinyun/api:13.22-04-15 -repository.anxinyun.cn/smartcity/filemanagement.api:7.22-04-08 -repository.anxinyun.cn/smartcity/filemanagement.web:17.22-04-20 -repository.anxinyun.cn/smartsite/jingdezhen-api:70.22-04-18 -repository.anxinyun.cn/smartsite/jingdezhen_web:114.22-04-18 -repository.anxinyun.cn/smartsite/process:54.22-02-24 -repository.anxinyun.cn/anxinyun/gonghui:237.22-04-20 -repository.anxinyun.cn/projectmanagement/oa.web:53.22-04-13 -repository.anxinyun.cn/projectmanagement/oa.web:45.22-03-25 -repository.anxinyun.cn/projectmanagement/pep.web:67.22-04-20 -repository.anxinyun.cn/projectmanagement/pep.web:53.22-03-25 -repository.anxinyun.cn/projectmanagement/pg.web:393.22-04-13 -repository.anxinyun.cn/projectmanagement/pg.web:389.22-04-01 -repository.anxinyun.cn/projectmanagement/pg.webapi:320.22-04-21 -repository.anxinyun.cn/projectmanagement/pg.webapi:311.22-04-09 -repository.anxinyun.cn/smartcity/smart-emergency-api:37.22-04-19 -repository.anxinyun.cn/device/emergency_reportservice:43.22-03-30 -repository.anxinyun.cn/smartcity/smartemergency-web:20.22-03-30 -repository.anxinyun.cn/smartsite/web:408.22-04-20 -repository.anxinyun.cn/smartsite/et-smartsite:19.21-12-29 -repository.anxinyun.cn/smartsite/process:54.22-02-24 -repository.anxinyun.cn/smartsite/smartsite-api:225.22-04-07 -repository.anxinyun.cn/smartsite/ghm-webconsole:peter.32 -repository.anxinyun.cn/smartsite/gmh-webapi:peter.28 -repository.anxinyun.cn/smartcity/smarttourism-console:20.22-04-20 -repository.anxinyun.cn/smartcity/smarttourism-process:21-09-27.33 -repository.anxinyun.cn/smartcity/smarttourism-webapi:21-09-27.99 -repository.anxinyun.cn/smartwater/smartwater.web:55.21-12-03 -repository.anxinyun.cn/smartwater/smartwater.api:21.21-11-16 -repository.anxinyun.cn/smartsite/tianjinapi:9.22-04-12 -repository.anxinyun.cn/smartsite/tianjinweb:30.22-04-18 -repository.anxinyun.cn/toilet/toilet.web:70.22-04-20 -repository.anxinyun.cn/toilet/toilet.api:30.21-10-11 -repository.anxinyun.cn/anxin/tool-api:dragon.4 -repository.anxinyun.cn/smartchangnan/new_web:11.22-04-14 -repository.anxinyun.cn/anxinyun/api:11.22-04-15 -repository.anxinyun.cn/smartcity/xiaolanfangyivideo-console:6.22-04-03 -repository.anxinyun.cn/smartsite/smartsitezq.api:3.22-03-17 -repository.anxinyun.cn/smartcity/xiaolan-web:13.21-12-27 -repository.anxinyun.cn/smartcity/xiaolan-webapi-new:21-12-18.25 -repository.anxinyun.cn/firecontrol/anfangapi:39.22-01-21 -repository.anxinyun.cn/firecontrol/anfangweb:31.22-01-21 -repository.anxinyun.cn/smartsite/smartsitezq-api:2.22-03-22 -repository.anxinyun.cn/smartsite/zqweb:2.22-03-22