简体   繁体   中英

Dataform git connection using Google Source Repository

I am trying to connect a git repository hosted on Google Source Repository with the Dataform environment. The dataform documentation states that use of personal access tokens that is accessed by dataform using Secret key. Since source repository does not support personnel access tokens; What must be the steps to connect the Google Source Repository with the Dataform repository?

I tried to create a new SSH key and added the primary key as a new secret in the GCP environment. The repository gives the following error. We are unable to connect to your Git provider with the configured secret. Check that the token is valid and has not expired.

Check that the token is valid and has not expired.

That means the secret is interpreted as a token, which is only used for HTTPS URL.
And if your remote URL is an HTTPS one, creating an SSH (private/public) key pair won't be useful.

If you connect to a thrid-party repository like a GitHub one, you will need a PAT (Personal Access Token)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM