Drop un-used upload job
Depends-On: I0b15142aabab38fafab829a16cee0297b749e6e8
Change-Id: I1a5609e1c0abfd4edfa0f2ba54697b76e5cae942
diff --git a/build/lint-jobs.py b/build/lint-jobs.py
index 3edfe12..7233dd3 100644
--- a/build/lint-jobs.py
+++ b/build/lint-jobs.py
@@ -14,11 +14,8 @@
if "job" in config:
job = config["job"]
- # Check if build or upload jobs are missing 'atmosphere-buildset-registry' dependency
- if (
- "build-container-image-" in job["name"]
- or "upload-container-image-" in job["name"]
- ):
+ # Check if build jobs are missing 'atmosphere-buildset-registry' dependency
+ if "build-container-image-" in job["name"]:
deps = job.get("dependencies", [])
if not any(
dep.get("name") == "atmosphere-buildset-registry"
@@ -30,9 +27,7 @@
passed = False
if passed:
- print(
- "All build and upload jobs have 'atmosphere-buildset-registry' dependency."
- )
+ print("All build jobs have 'atmosphere-buildset-registry' dependency.")
else:
print("Jobs missing 'atmosphere-buildset-registry' dependency.")
sys.exit(1)