Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHDHPAI-160: merge ai-lab-helm-chart pipeline/task with rhdh-pipeline #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gabemontero
Copy link

What does this PR do?:

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

Which issue(s) this PR fixes:

https://issues.redhat.com/browse/RHDHPAI-160

PR acceptance criteria:

Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened and linked to this PR, if they are not in the PR scope due to various constraints.

  • [ /] Tested and Verified

Tested in conjunction with redhat-ai-dev/rhdh-pipelines#9

  • [ n/a] Documentation (READMEs, Product Docs, Blogs, Education Modules, etc.)

How to test changes / Special notes to the reviewer:

A prior form of this PR's branch pointed to the branch associated with redhat-ai-dev/rhdh-pipelines#9 for the PAC pipeline and task refs.

I.e.

pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/gabemontero/rhdh-pipelines/refs/heads/upd-deploy-optional-steps/pac/pipelines/docker-build-ai-rhdh.yaml"

and

pipelinesascode.tekton.dev/task-3: "https://raw.githubusercontent.com/gabemontero/rhdh-pipelines/refs/heads/upd-deploy-optional-steps/pac/tasks/update-deployment.yaml"
pipelinesascode.tekton.dev/task-4: "https://raw.githubusercontent.com/gabemontero/rhdh-pipelines/refs/heads/upd-deploy-optional-steps/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"

However, once redhat-ai-dev/rhdh-pipelines#9 merges, only the form needed in this PR that adds the additional tasks and binding of the gitops-auth workspace is needed.

We will want to merge this soon after or in conjunction with redhat-ai-dev/rhdh-pipelines#9 as there will be a disconnect between the pipelineruns and the build pipeline in the interim.

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
@gabemontero
Copy link
Author

ah - missed the bit about https://docs.google.com/document/d/1hjZN6G-sDDkdSuXUZ12FkeaW5SoA64fgs1VejeOTfb4/edit?tab=t.0#heading=h.4wn8op67vyk9

will redo this PR by undoing / saving my original change, then run generate.sh and go from there

@gabemontero
Copy link
Author

so yeah the changes here are "for reference" ... I think I get it. Once redhat-ai-dev/rhdh-pipelines#9 merges I believe we run generate.sh to automate the changes I manually did here.

When I run it now, it effectively reverts my changes to what is in main branch in rhdh-pipelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant