...
Code Block |
---|
... gitAuthentication: sshKey: "/opt/dm/mci/workbench.key" httpsEnabled: true httpsCredentialsStore: path: /opt/dm/mci/.secrets/git-credentials.p12 password: ${file:UTF-8:/opt/dm/mci/.secrets/git-credentials-keystore-password} ... |
The git credentials will be stored in a keystore that requires a password. This password should be store in a file in the .secrets
directory and that file should be referenced in the config.yml
file, as shown above.
Info |
---|
The Workbench Setup Wizard will automatically generate this 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. |
In order to create the password file make sure to login as the mciworkb
user. (If you are on 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 |
---|
$> touch .secrets/git-credentials-keystore-password |
edit the file with your preferred editor and enter a new password
Code Block |
---|
$> vim .secrets/git-credentials-keystore-password thisisasecurepassword |
MettleCI Workbench will need to be restarted after saving changes to config.yml
.
...