konveyor-ecosystem / kai

Konveyor AI - static code analysis driven migration to new targets via Generative AI
Apache License 2.0
8 stars 10 forks source link

Add script to import reports from Konveyor hub #189

Closed fabianvf closed 1 week ago

fabianvf commented 1 month ago

Still TODO:

I am testing with konveyor deployed with this CR:

apiVersion: tackle.konveyor.io/v1alpha1
kind: Tackle
metadata:
  name: tackle
  namespace: konveyor
spec:
  analyzer_fqin: quay.io/jortel/tackle2-addon-analyzer:kai-support
  feature_auth_required: "false"
  hub_image_fqin: quay.io/jortel/tackle2-hub:kai-support

To load the sample data into an unauthenticated konveyor instance, run

$ ./samples/add_data_to_hub.py {your hub url} -k

To start the importer, run:

$ make run-konveyor-importer HUB_URL={your hub url} IMPORTER_ARGS='--skip-verify'
jmontleon commented 2 weeks ago

I ran through the process this morning without problems other than environment issues addressed in separate documentation PR.