Github integration

Options
Tsen-Hung
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:

  1. 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)
  2. ssh-keygen to generate a ssh key and it should save the outcome under the path /home/dssuser/.ssh/
  3. Copied and pasted the key value from a public key provided from step 2 into a desired Git repo.
  4. 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)

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,209 Dataiker
    Options

    @Tsen-Hung
    Thank you so much for sharing your experience here on Community as well!

  • Tsen-Hung
    Tsen-Hung Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 5 ✭✭✭✭
    Options

    Happy to share as long as it could save lots of steps for someone who is seeking the same solution

    @AlexT
    , you provided the solution though! Kudos back to you!

  • Abdoulaye
    Abdoulaye Dataiku DSS Core Designer, Registered Posts: 42 ✭✭✭✭✭
    Options

    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

Setup Info
    Tags
      Help me…