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
1 change: 1 addition & 0 deletions .github/workflows/beeai-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
branches:
- main
- tekton-pod-cleanup
- namespace-support
paths:
- 'beeai/**'
pull_request:
Expand Down
4 changes: 2 additions & 2 deletions beeai/internal/controller/agentbuild_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func (r *AgentBuildReconciler) createPipelineRun(ctx context.Context, agentBuild
"pipelineRunName", agentBuild.Status.PipelineRunName)
return ctrl.Result{}, err
}
logger.Info("createPipelineRun", "created push secret", pushRepoSecret)
logger.Info("- createPipelineRun", "created push secret", pushRepoSecret)

pipelineRunName := fmt.Sprintf("%s-%s", agentBuild.Name, generateShortUID())
pv, err := r.createPersistentVolume(ctx, agentBuild, pipelineRunName, "5Gi", "ReadWriteOnce", "/mnt/data")
Expand All @@ -320,7 +320,7 @@ func (r *AgentBuildReconciler) createPipelineRun(ctx context.Context, agentBuild
ObjectMeta: metav1.ObjectMeta{

Name: pipelineRunName,
Namespace: "default",
Namespace: agentBuild.Namespace,
},
Spec: tektonv1.PipelineRunSpec{
PipelineSpec: &tektonv1.PipelineSpec{
Expand Down