Skip to content
registry.py 360 B
Newer Older
nimrod's avatar
nimrod committed
"""Check the container image registry and frontend."""

nimrod's avatar
nimrod committed
from utils import website_handler
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
URLS = [
nimrod's avatar
nimrod committed
    {"url": "http://registry.shore.co.il/", "codes": [301]},
nimrod's avatar
nimrod committed
    {"url": "https://registry.shore.co.il/"},
    {"url": "https://registry.shore.co.il/v2/_catalog"},
]
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
handler = website_handler(URLS)
nimrod's avatar
nimrod committed


if __name__ == "__main__":
    handler("event", "context")