Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/apps/kartograph/overlays/stage/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ patches:
- path: resources-patch.yaml
images:
- name: quay.io/redhat-user-workloads/kartograph-tenant/kartograph-api
newTag: cafacf8c14136240900e44b4d4ed17618af58677
newTag: d190ec2df4cbe0205df2a371703cd2bffc8f40e7
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify image exists in registry and show commit differences

# Check if the new image exists in the Quay registry
echo "Checking if image exists..."
IMAGE="quay.io/redhat-user-workloads/kartograph-tenant/kartograph-api:d190ec2df4cbe0205df2a371703cd2bffc8f40e7"
if curl -fsL "https://quay.io/api/v1/repository/redhat-user-workloads/kartograph-tenant/kartograph-api/tag/d190ec2df4cbe0205df2a371703cd2bffc8f40e7/images" > /dev/null 2>&1; then
  echo "✓ Image exists at new tag"
else
  echo "✗ Image not found at new tag"
fi

# Check commit differences if this is the kartograph repository
echo -e "\nChecking commit differences..."
OLD_TAG="cafacf8c14136240900e44b4d4ed17618af58677"
NEW_TAG="d190ec2df4cbe0205df2a371703cd2bffc8f40e7"

if git rev-parse --verify "$OLD_TAG" >/dev/null 2>&1 && git rev-parse --verify "$NEW_TAG" >/dev/null 2>&1; then
  echo "Commits between $OLD_TAG and $NEW_TAG:"
  git log --oneline "$OLD_TAG..$NEW_TAG"
  echo -e "\nFiles changed:"
  git diff --name-status "$OLD_TAG" "$NEW_TAG"
else
  echo "Note: Commit SHAs may be from a different repository (kartograph-api)"
fi

Repository: openshift-hyperfleet/kartograph

Length of output: 768


Image tag does not exist in the registry — do not merge until image is built and pushed.

The image quay.io/redhat-user-workloads/kartograph-tenant/kartograph-api:d190ec2df4cbe0205df2a371703cd2bffc8f40e7 could not be found in the Quay registry. The new commit includes dependency updates (Apache Age, SpiceDB, UBI9 base images) across the Dockerfile and deployment files. Verify that the image has been successfully built and pushed before merging this change.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@deploy/apps/kartograph/overlays/stage/kustomization.yaml` at line 13, The
kustomization overlay sets newTag to a commit SHA that does not exist in the
registry; verify and update the image tag before merging. Confirm the image
quay.io/redhat-user-workloads/kartograph-tenant/kartograph-api:d190ec2df4cbe0205df2a371703cd2bffc8f40e7
has been built and pushed (or build and push it), then update the newTag value
in the kustomization.yaml (or change to the correct existing tag) so the
deployment references a valid image; if the build is not ready, revert this tag
change until the CI pipeline produces and pushes the image.

- name: quay.io/redhat-user-workloads/kartograph-tenant/kartograph-dev-ui
newTag: 1fc3a330b83a58e1cf0617b9ead9f229a54d486d
Loading