Versions Compared

Key

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

...

JS7 offers JS7 - Inventory Git Integration for JS7 - Rollout of Scheduling Objects.

  • Git access includes to authenticate authentication with a Git Server and to access accessing remote repositories.
  • The setup of a local repository is explained with the JS7 - How to set up a local Git Repository article.

The steps to set for setting up access to a Git Server can be applied manually applied and can also be applied by use of using the JS7 REST Web Service API.

...

Git Configuration File

JOC Cockpit makes use of uses a Git client that which reads configuration items from the following file (assuming a user account me being is in place)

  • for Unix environments:
    • /home/me/.ssh/config
  • for Windows environments:
    • C:\Users\me\.ssh\config

The Git config file can may look like this:

Code Block
titleExample for Git config file
linenumberstrue
Host github.com
    Hostname github.com
    IdentityFile C:\Users\me\.ssh\github_rsa
    IdentitiesOnly yes

Explanation:

  • The settings maps map the use of a private key file to authentication with a Git Server.

...

Automation with the JS7 REST Web Service API

Users who whish wish to automate the steps to set for setting up Git access can use the following resources:

Find the The documentation for related cmdlets from can be found in PowerShell CLI 2.0 - Cmdlets - Git Repository Integration.

...

Explanation:

...