Skip to content
Merged
Show file tree
Hide file tree
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 cmd/konflux/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func updateComponent(c *k.Component, version k.Version) error {
}
}
// This is the case for git-init where we don't require upstream name because comet created is pipelines-git-init-rhel8
if !c.NoImagePrefix && repo.Upstream != "" {
if !c.NoImagePrefix && repo.Upstream != "" && c.ImagePrefix == "" {
c.ImagePrefix = strings.Split(repo.Upstream, "/")[1] + "-"
}
return nil
Expand Down
3 changes: 3 additions & 0 deletions cmd/konflux/templates/github/workflows/update-sources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
popd
rm -rf upstream/.git
git add -f upstream head .konflux
{{- if eq .Repository.Name "operator" }}
git add project.yaml
{{- end}}

if [[ -z $(git status --porcelain --untracked-files=no) ]]; then
echo "No change, exiting"
Expand Down
1 change: 1 addition & 0 deletions config/konflux/openshift-pipelines-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ resources:
- manual-approval-gate
- pac-downstream
- tekton-caches
- tekton-kueue
- tektoncd-chains
- tektoncd-hub
- tektoncd-pipeline
Expand Down
12 changes: 12 additions & 0 deletions config/konflux/repos/tekton-kueue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: tekton-kueue
upstream: konflux-ci/tekton-kueue
components:
- name: kueue
image-prefix: tekton-
prefetch-input: |
{"type": "gomod", "path": "upstream"}
branches:
- name: next
upstream: main
versions:
- next
Loading