VirtualBox Git Integration
I'm new to dataiku and installed dataiku DSS on a linux VM following the instructions here https://www.dataiku.com/product/get-started/virtualbox/
Next, I'd like to import code from Gitlab.
Is the git integration available in the VM edition? And if yes, can you provide detailed instructions on how to set it up.
Cheers
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,225 Dataiker
Hi @datatangerine
,
Based on your last note you have created the ssh key in the wrong path.
For this to work in DSS you should have it in the .ssh directory of the dss user e.g
/home/dataiku/.sshAlternatively, you can point it to a different ssh key path but this the git version installed to be version to 2.1+
CAn you please try to re-create the id_rsa or ed25519 in the right directly and try to ssh again with the flags -vvv to see more details about which SSH key was used?ssh -vvv git@..
Thanks
Answers
-
ClemenceB Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Product Ideas Manager Posts: 18 Dataiker
Hi @datatangerine
,
The git integration is available in the VM edition. To set up the connexion, you can follow these instructions (you'll need to create a SSH key in your VM console). Then you'll be able to import your code from Gitlab in your project Libraries (more information on this page).
Let me know if it helps.
Best,
Clémence -
Thanks @ClemenceB
,Regarding the SSH key (and .ssh), in which folder should I store it?
My folder structure is as follows:
home
- dataiku
- dataiku-dss-11.13
- dssThanks!
-
ClemenceB Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Product Ideas Manager Posts: 18 Dataiker
You can create it in the home directory (if needed you can follow gitlab instructions)
-
I followed your instructions:
Created /home/.ssh/<filename>.pub and copied the contents to a new SSH key on my Github account (VM console)
Ran ssh git@myserver.com to verify the host (VM console)
I got the following error:
Permission denied (publickey)
Any help is much appreciated!
-
Hi @AlexT
,Thanks for your help. Creating the ssh key in the dataiku folder solved it for me. Additionally, I had to configure the core.sshCommand to point it to the right path as described here
"core.sshCommand" = "ssh -i /home/dataiku/.ssh/id_ed25519.pub -o StrictHostKeyChecking=yes"
Additionally, I used VirtualBox and used mounting to share the ssh key.