gitlab

Description

Create a gitlab context.

Git context are used to clone repositories during pipeline execution.
Learn more about git context here: https://codefresh.io/docs/docs/codefresh-yaml/steps/git-clone/.
To create gitlab context you need to generate the token here: https://gitlab.com/profile/personal_access_tokens.

Command

codefresh create context git gitlab <name>

Options

Option Alias Default Description
–sharing-policy AccountAdmins Set the sharing policy for git contexts

Possible values:
- AccountAdmins
- AllUsersInAccount
–help Print help information
–access-token - t Access token from to be used to clone repositories. required
–use-ssl - s true Connect to the git host using ssl. required

Possible values:
- true
- false
–host - h gitlab.com Host name of your gitlab (without protocol). required