Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The git credentials will be stored in a keystore (.secrets/git-credentials.p12) that requires a password and will be created when the config option httpsEnabled: true has been added to the config.yml

This password should will be store stored in a file in the .secrets directory and that file should be (.secrets/git-credentials-keystore-password) referenced in the config.yml file, as shown above.

Info

The Workbench Setup Wizard will automatically generate this the password file for you with newer versions of workbench. If you are upgrading from an older version of Workbench, you will need to create this file yourself.

  1. In order to create the password file make sure to login as the mciworkb user. (If you running are on Microsoft Windows you can skip this)

    Code Block
    $> sudo su - mciworkb

    Go to your mettle home directory

    Code Block
    
    $> cd /opt/dm/mci

    Create the file where the keystore password will be saved

    Code Block
    
    $> umask 006
    $> touch .secrets/git-credentials-keystore-password

  2. Edit the file with your preferred editor and enter a new password

    Code Block
    $> vim .secrets/git-credentials-keystore-password
    
    thisisasecurepassword

  3. MettleCI Workbench will need to be restarted after saving changes to config.yml.

...