Hide local variables for gitlap

EDDY
EDDY Registered Posts: 1

Hello,

i have set local variables in a project, which are used in a python script. As soon we push the project to gitlap we get a file in gitlab like this:

JSON_IN_GITLAP.PNG

Is it possible to exclude this file in the export to gitlab?

Thank you!


Operating system used: Linux

Answers

  • JordanB
    JordanB Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 296 Dataiker

    Hi @EDDY
    ,

    There is no way to prevent certain files from getting exported via the UI, however, you can use a .gitignore file in the project folder to exclude localvariables.json. Note, you would first need to remove the localvariables.json file from the remote repo and then push the project from DSS.

    Let us know if you have any questions.

    Thanks!

    Jordan

Setup Info
    Tags
      Help me…