Skip to content

Commit 145b527

Browse files
jsell-rhclaude
andauthored
fix(ci): point deploy-tag pipelines at hp-fleet-gitops (#623)
Update both push pipelines (api and dev-ui) to clone openshift-online/hp-fleet-gitops instead of the source repo, and fix the kustomization path from deploy/apps/... to apps/... Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cf43f83 commit 145b527

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

.tekton/kartograph-api-push.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -648,10 +648,10 @@ spec:
648648
SHORT_SHA="${COMMIT_SHA:0:12}"
649649
BRANCH="konflux/deploy-tag-api-${SHORT_SHA}"
650650
651-
git clone --depth 1 --branch main "$(params.GIT_URL)" /tmp/repo
651+
git clone --depth 1 --branch main "https://github.com/openshift-online/hp-fleet-gitops" /tmp/repo
652652
cd /tmp/repo
653653
654-
FILE="deploy/apps/kartograph/overlays/stage/kustomization.yaml"
654+
FILE="apps/kartograph/overlays/stage/kustomization.yaml"
655655
if [ ! -f "$FILE" ]; then
656656
echo "Kustomization file not found, skipping"
657657
exit 0
@@ -682,8 +682,7 @@ spec:
682682
exit 0
683683
fi
684684
685-
# Extract owner/repo from git URL
686-
REPO=$(echo "$(params.GIT_URL)" | sed -E 's|https://github.com/||;s|\.git$||')
685+
REPO="openshift-online/hp-fleet-gitops"
687686
688687
# Create PR via GitHub API
689688
PR_RESPONSE=$(wget -q -O - --header="Authorization: token ${TOKEN}" \

.tekton/kartograph-dev-ui-push.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -648,10 +648,10 @@ spec:
648648
SHORT_SHA="${COMMIT_SHA:0:12}"
649649
BRANCH="konflux/deploy-tag-dev-ui-${SHORT_SHA}"
650650
651-
git clone --depth 1 --branch main "$(params.GIT_URL)" /tmp/repo
651+
git clone --depth 1 --branch main "https://github.com/openshift-online/hp-fleet-gitops" /tmp/repo
652652
cd /tmp/repo
653653
654-
FILE="deploy/apps/kartograph/overlays/stage/kustomization.yaml"
654+
FILE="apps/kartograph/overlays/stage/kustomization.yaml"
655655
if [ ! -f "$FILE" ]; then
656656
echo "Kustomization file not found, skipping"
657657
exit 0
@@ -682,8 +682,7 @@ spec:
682682
exit 0
683683
fi
684684
685-
# Extract owner/repo from git URL
686-
REPO=$(echo "$(params.GIT_URL)" | sed -E 's|https://github.com/||;s|\.git$||')
685+
REPO="openshift-online/hp-fleet-gitops"
687686
688687
# Create PR via GitHub API
689688
PR_RESPONSE=$(wget -q -O - --header="Authorization: token ${TOKEN}" \

0 commit comments

Comments
 (0)