Deprecation of Personal Git integrations
Moving git integrations to accounts instead of individual users
Codefresh supports several git providers (Github, Gitlab, Bitbucket etc.) via the Git integration page that allows you to define a connection to the respective git provider. Signing up with Codefresh typically requires you to use a Git provider for your basic information (and in the past, an automatic integration was created with the git provider that you used during initial sign-up).
At Codefresh, a single user can belong to multiple Accounts (think Github organizations). Typically a Codefresh user represents a single person while an Account represents a company or team.
Until July 2019 Codefresh allowed you to create a git integration either at the account level or at the user level. This has been problematic with several customer scenarios.
The problem of personal Git integrations
While on paper the flexibility of adding Git integrations in different levels (account or user) looks good, in practice it has been very confusing for users/customers
- Codefresh introduced login with providers which aren’t Git based - Google, LDAP, SAML. This was causing problems for accounts which started creating pipelines leveraging the personal git context of each user and having new users signing up without a Git provider
- Codefresh required Git permissions from each user that signed up instead of allowing to create a dedicated integration to your git provider of choice, allowing a company to better manage codefresh access control to their Git organization
These problems were exacerbated with the introduction of explicit clone steps.
To this end, personal Git providers (i.e. Git integration tied to a person instead of an account/company) were deprecated in July 2019. This change makes Git integrations much more consistent, especially for people that work within a company organization.
How to migrate your Git integration and move away from a personal Git provider
Note that if you created a Codefresh account in July 2019 and later, there is nothing to do. Your user doesn’t have a personal git provider any more. No action is needed on your part.
Make sure that you have at least one Git integration defined in your account (if until now you only used the implicit one that was created when you signed-up with Codefresh)
Then, for all existing pipelines:
- make sure that they have an explicit git clone step
- the git clone step has an explicit
gitproperty that defines the provider (do not leave empty this property )
gitprovider has an actual value and not
CF-default. This value used to represent the personal git provider of a user and is now deprecated. Use the name of an actual git integration as is defined in the providers page
Once that is done, contact Codefresh via support.codefresh.io or email, and we can take care of automatic migration of all your existing triggers that exist in pipelines that are still using a personal Git provider.