forked from admin/ansible
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ff2762fa9 | ||
|
|
2ec04bb691 | ||
|
|
558e1368e9 |
@@ -44,6 +44,9 @@ jobs:
|
||||
run: |
|
||||
printf '%s' "$REGISTRY_TOKEN" | docker login "${{ steps.metadata.outputs.registry }}" --username "$REGISTRY_USERNAME" --password-stdin
|
||||
|
||||
- name: setup buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
||||
@@ -247,21 +247,23 @@ async def main() -> int:
|
||||
]
|
||||
LOG.info("--- round begin, attaching to %s (%d endpoints) ---",
|
||||
net_name, len(eps_in_map))
|
||||
_attach(client, self_container, net)
|
||||
attached = _attach(client, self_container, net)
|
||||
try:
|
||||
reachable, unreachable = await _check_network(
|
||||
net_name, eps_in_map, timeout)
|
||||
_cross_validate(net_name, eps_in_map,
|
||||
reachable, unreachable, global_set)
|
||||
if net_name == "hermes_infra_squid_egress":
|
||||
LOG.info("--- public checks (%d endpoints) ---",
|
||||
len(PUBLIC_SERVICES))
|
||||
for ep in PUBLIC_SERVICES:
|
||||
await _check_endpoint(
|
||||
ep, max(timeout, HTTP_CONNECT_TIMEOUT_S))
|
||||
finally:
|
||||
_detach(client, self_container, net)
|
||||
if attached:
|
||||
_detach(client, self_container, net)
|
||||
LOG.info("--- round end on %s ---", net_name)
|
||||
|
||||
LOG.info("--- public checks (%d endpoints) ---",
|
||||
len(PUBLIC_SERVICES))
|
||||
for ep in PUBLIC_SERVICES:
|
||||
await _check_endpoint(ep, max(timeout, HTTP_CONNECT_TIMEOUT_S))
|
||||
|
||||
LOG.info("--- negative checks (%d endpoints) ---", len(NEGATIVE))
|
||||
await _check_negative(NEGATIVE, timeout)
|
||||
except Exception:
|
||||
|
||||
@@ -73,9 +73,7 @@ NETWORK_MAP: Dict[str, List[Endpoint]] = {
|
||||
"docker_socket_proxy_hermes_proxy": [
|
||||
Endpoint("hermes-gateway", 8000),
|
||||
],
|
||||
"connectivity_tester_default": [
|
||||
Endpoint("connectivity-tester", 8765),
|
||||
],
|
||||
"connectivity_tester_default": [],
|
||||
"brencher_brencher-net": [
|
||||
Endpoint("brencher-backend", 5000),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user