Github integration
![Tsen-Hung](https://us.v-cdn.net/6038231/uploads/lithium_attachments/n6219i1B096093652929D2.jpg)
Tsen-Hung
Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 5 ✭✭✭✭
Hi community,
I recently worked on a Git integration in our Dataiku Designer instance and would like to share a few trivial insights here post the resolution with a Dataiku support team member.
Shared two helpful references while working on the integration:
To summarize the main steps involved:
- Switched to the user role (e.g. dssuser) when it was used to install the DSS instance (this step could avoid lots of potential issues in the following steps)
- ssh-keygen to generate a ssh key and it should save the outcome under the path /home/dssuser/.ssh/
- Copied and pasted the key value from a public key provided from step 2 into a desired Git repo.
- Within Admin UI (Administration/Settings/Git), added a corresponding Git repo URL within the whitelist param.
- Additionally, one could further modify the "Configuration options" param, depending on the use cases, such as the above documentation pointed out to point with a different key path and have a finer security control by user groups.
- Make sure it's ticked within the box of "Let DSS control SSH command"; otherwise, it won't ask your dssuser role to execute SSH commands.
Operating system used: Linux (ubuntu 20.04)
Tagged:
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,211 Dataiker
@Tsen-Hung
Thank you so much for sharing your experience here on Community as well! -
Hello @Tsen-Hung
thanks for sharing this post. How to find the dssuser? I use dataiku fleetmanager to install dss (designer, deployer, ...) when I login via UI I use admin user when login via terminal I use ec2-user (like ssh -i key.pem ec2-user@123.45.67.89). is it the first or the second? ot any user that can login via ui?Thanks