Skip to content

Commit

Permalink
RHDHPAI-160: merge ai-lab-helm-chart pipeline/task with rhdh-pipeline
Browse files Browse the repository at this point in the history
With this change and associated changes in the ai-lab-helm-charts and rhdh-pipeline repos, we allow for multiple forms of deployment update:
- via argocd gitops, where the launching of rhdh-pipelines from via RHDH SW templates defined in this repo employ this form of deployment update
- via k8s patch of the deployment instance, which our helm charts in ai-lab-helm-charts employ, and application repos are not managed through argocd
  • Loading branch information
gabemontero committed Jan 14, 2025
1 parent 2047936 commit c584925
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions skeleton/source-repo/.tekton/docker-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ metadata:
pipelinesascode.tekton.dev/task-1: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/git-clone.yaml"
pipelinesascode.tekton.dev/task-2: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/buildah-ai-rhdh.yaml"
pipelinesascode.tekton.dev/task-3: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/update-deployment.yaml"
pipelinesascode.tekton.dev/task-4: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/show-sbom-rhdh.yaml"
pipelinesascode.tekton.dev/task-5: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/summary.yaml"
pipelinesascode.tekton.dev/task-4: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/update-deployment-patch.yaml"
pipelinesascode.tekton.dev/task-5: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/show-sbom-rhdh.yaml"
pipelinesascode.tekton.dev/task-6: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/summary.yaml"
labels:
argocd/app-name: ${{ values.name }}
janus-idp.io/tekton: ${{ values.name }}
Expand Down Expand Up @@ -43,6 +44,9 @@ spec:
- name: git-auth
secret:
secretName: "{{ git_auth_secret }}"
- name: gitops-auth
secret:
secretName: $(params.gitops-auth-secret-name)
- name: workspace
volumeClaimTemplate:
spec:
Expand Down
8 changes: 6 additions & 2 deletions skeleton/source-repo/.tekton/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ metadata:
pipelinesascode.tekton.dev/task-1: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/git-clone.yaml"
pipelinesascode.tekton.dev/task-2: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/buildah-ai-rhdh.yaml"
pipelinesascode.tekton.dev/task-3: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/update-deployment.yaml"
pipelinesascode.tekton.dev/task-4: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/show-sbom-rhdh.yaml"
pipelinesascode.tekton.dev/task-5: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/summary.yaml"
pipelinesascode.tekton.dev/task-4: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/update-deployment-patch.yaml"
pipelinesascode.tekton.dev/task-5: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/show-sbom-rhdh.yaml"
pipelinesascode.tekton.dev/task-6: "https://raw.githubusercontent.com/redhat-ai-dev/rhdh-pipelines/main/pac/tasks/summary.yaml"
labels:
argocd/app-name: ${{ values.name }}
janus-idp.io/tekton: ${{ values.name }}
Expand Down Expand Up @@ -43,6 +44,9 @@ spec:
- name: git-auth
secret:
secretName: "{{ git_auth_secret }}"
- name: gitops-auth
secret:
secretName: $(params.gitops-auth-secret-name)
- name: workspace
volumeClaimTemplate:
spec:
Expand Down

0 comments on commit c584925

Please sign in to comment.