cloud-native-toolkit / planning

The is the planning repo to manage the cross project Epics and Issues. Tasks and Bugs
3 stars 1 forks source link

AI Toolkit does not provide complete instructions on how push deploy to QA via ArgoCD #853

Open biosopher opened 3 years ago

biosopher commented 3 years ago

Describe the bug According to Step 13 of the AI Toolkit guide, the Gitops pipeline is supposed to "trigger Argo CD to deploy the app to QA". This is not happening. The app is functional in dev but (1) no qa project was created so (2) no app is deployed to QA by Argo.

Expected behavior The AI Toolkit instructions should include instruction to setup ArgoCD for this project. I recommend simply including instructions similar to those here: https://upslopeio.github.io/ibm-cloud-garage-training/argo/qa/

To Reproduce Follow the installation steps provided here: https://cloudnativetoolkit.dev/resources/workshop/ai/

Screenshots image

IBM Cloud Select the services and tools affected

csantanapr commented 3 years ago

The workshop is setup with specific projects/namespaces configured with argocd.

In step 5 you need to select the value projectdemo or project-01 ... project-13 you can't use max-object-detector

TOOLKIT_PROJECT=projectdemo

image

In the scripts to setup the worshop you can see here how the projects are created https://github.com/cloud-native-toolkit/cloud-native-toolkit-workshop/blob/main/scripts/10-ocp-users.sh#L18

In this script argocd is configured to watch a folder in the gitops repo with the name projectdemo-qa and project-01-qa... https://github.com/cloud-native-toolkit/cloud-native-toolkit-workshop/blob/main/scripts/23-toolkit-gitops-project.sh#L29