feat: add cluster auditing, management, and upgrade scripts
This commit is contained in:
9
scripts/check_semaphore_stable.py
Normal file
9
scripts/check_semaphore_stable.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import urllib.request
|
||||
import json
|
||||
|
||||
url = "https://hub.docker.com/v2/repositories/semaphoreui/semaphore/tags?page_size=100"
|
||||
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
|
||||
with urllib.request.urlopen(req, timeout=5) as resp:
|
||||
data = json.loads(resp.read().decode())
|
||||
ga_tags = [t['name'] for t in data.get('results', []) if not any(x in t['name'] for x in ['-rc', '-beta', '-alpha', '-debug', 'latest'])]
|
||||
print("Semaphore GA tags:", ga_tags[:10])
|
||||
Reference in New Issue
Block a user