Skip to content

Commit

Permalink
Update git repo content - Fix couple of issues (#5069)
Browse files Browse the repository at this point in the history
* Adding new role for Object Detection AI/ML application setup

* Added Object Detection AI/ML App Setup

* Added triggers

* Update main.yml

* updated namespace

* UPdate

* removed ca

* Added pipeline for Model Build

* Update workload.yml

Added pipeline and pvc creation in workload.

* Update object-detection-rest-pipeline.yaml

* Update pvc-workspace.yaml

* Update workload.yml

* Update workload.yml

* Removed ca related files

* Update

* Fixed syntax

* Fixed syntax issue

* Update to fix syntax issue

* Update to fix syntax issue

* Update to fix syntax issue

* Update to fix syntax issue

* Update to fix syntax issue

* Update to fix syntax issue

* Update to fix syntax issue

* Update to fix syntax issue

* Updated as per best practice

* Updated ocp_username to rhods_username

* updated ocp_username to rhods_uername variable

* Updated gitea url variable

* updated git repo link

* Updated pvc to gp2 and fixed arc-model repo in pipeline

* Added workload removed and updated readme.doc

* Added triggers

* Added triggers and webhook to gitea

* update webhook without deleteing previous one

* variable for the user to create gitea route

* Fixed trailing space

* fixed trailing spaces in workload.yml

* New Role for Retail Use Case - AI/ML Object Detect Workshop

* Update readme

* Updated the default variables for these two roles

* Increased deplays as 10 retries not working

* Added web terminal to the cluster console

* Added delay for 'Wait for ready Jupyter Deployment' as it failed retrying in Single node configuration

* Updated workload for ArgoCD

* update

* update

* update

* updated gitops setup

* update

* update

* updated git repo to be updated file and location

* fixed line length

* Fixed line length

* update

* update

* updated the line split to fix tempalting issue

* updated the line split to fix tempalting issue

* Updated setup gitops

* updated setup git repos

* update

* fix git repo update

Co-authored-by: ritzshah <[email protected]>
Co-authored-by: sborenst <[email protected]>
Co-authored-by: GTPE Student <[email protected]>
  • Loading branch information
4 people authored Jul 12, 2022
1 parent 6190c70 commit a4e3813
Showing 1 changed file with 53 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,59 @@
state: present
regexp: " - default: \"https://gitea.apps.cluster-guid.ocp4_base_domain/lab-user/arc-model.git\""
line: " - default: \"https://gitea.apps.cluster-{{ guid }}.{{ ocp4_base_domain }}/{{
ocp4_workload_gitea_aiml_user }}/retail-dev-gitops.git\""
ocp4_workload_gitea_aiml_user }}/arc-model.git\""

# Can't do loop because of "~{{ ansible-user}}" but on Tower
- name: >-
Update {{ ocp4_workload_aiml_home_directory }}/{{
ocp4_workload_gitea_repo_retail_dev_gitops }}/base/retail-app.yaml
lineinfile:
path: >-
{{ ocp4_workload_aiml_home_directory }}/{{
ocp4_workload_gitea_repo_retail_dev_gitops }}/base/retail-app.yaml
state: present
regexp: " repoURL: https://gitea.apps.cluster-guid.ocp4_base_domain/lab-user/retail-dev-gitops.git"
line: " repoURL: https://gitea.apps.cluster-{{ guid }}.{{ ocp4_base_domain }}/{{
ocp4_workload_gitea_aiml_user }}/retail-dev-gitops.git"

# Can't do loop because of "~{{ ansible-user}}" but on Tower
- name: >-
Update {{ ocp4_workload_aiml_home_directory }}/{{
ocp4_workload_gitea_repo_retail_dev_gitops }}/base/object-detection-rest-buildconfig.yaml
lineinfile:
path: >-
{{ ocp4_workload_aiml_home_directory }}/{{
ocp4_workload_gitea_repo_retail_dev_gitops }}/base/object-detection-rest-buildconfig.yaml
state: present
regexp: " uri: https://gitea.apps.cluster-guid.ocp4_base_domain/lab-user/arc-model.git"
line: " uri: https://gitea.apps.cluster-{{ guid }}.{{ ocp4_base_domain }}/{{
ocp4_workload_gitea_aiml_user }}/arc-model.git"

# Can't do loop because of "~{{ ansible-user}}" but on Tower
- name: >-
Update {{ ocp4_workload_aiml_home_directory }}/{{
ocp4_workload_gitea_repo_retail_dev_gitops }}/base/trigger-template.yaml
lineinfile:
path: >-
{{ ocp4_workload_aiml_home_directory }}/{{
ocp4_workload_gitea_repo_retail_dev_gitops }}/base/trigger-template.yaml
state: present
regexp: " value: \"https://gitea.apps.cluster-guid.ocp4_base_domain/lab-user/arc-model.git\""
line: " value: \"https://gitea.apps.cluster-{{ guid }}.{{ ocp4_base_domain }}/{{
ocp4_workload_gitea_aiml_user }}/arc-model.git\""

# Can't do loop because of "~{{ ansible-user}}" but on Tower
- name: >-
Update {{ ocp4_workload_aiml_home_directory }}/{{
ocp4_workload_gitea_repo_retail_dev_gitops }}/base/object-detection-rest-pipeline-run.yaml.j2
lineinfile:
path: >-
{{ ocp4_workload_aiml_home_directory }}/{{
ocp4_workload_gitea_repo_retail_dev_gitops }}/base/object-detection-rest-pipeline-run.yaml.j2
state: present
regexp: " value: \"https://gitea.apps.cluster-guid.ocp4_base_domain/lab-user/arc-model.git\""
line: " value: \"https://gitea.apps.cluster-{{ guid }}.{{ ocp4_base_domain }}/{{
ocp4_workload_gitea_aiml_user }}/arc-model.git\""

# Can't do loop because of "~{{ ansible-user}}" but on Tower
- name: >-
Expand Down

0 comments on commit a4e3813

Please sign in to comment.