DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. Databases
  4. Using Your Git Repository With Cloud 66

Using Your Git Repository With Cloud 66

We want to make sure you've got all the information you need to build, deploy, and manage your stacks.

Siavash Khalvati user avatar by
Siavash Khalvati
·
May. 06, 16 · Tutorial
Like (1)
Save
Tweet
Share
1.91K Views

Join the DZone community and get the full member experience.

Join For Free

alt

We want to make sure you've got all the information you need to build, deploy and manage your stacks.

To help you get the most out of all the cool features Cloud 66 has to offer, I'm starting a new series of blog posts with tips, tricks and 'how-to' content.

First Up: using Git Repos with Cloud 66

Git repos are a great resource for developers, and using these with Cloud 66 couldn’t be easier. You can use popular repos like GitHub and Bitbucket for version control of your code, and use Cloud 66 to deploy and manage your app in any cloud at all stages of your development.

When you use the git format for your repo, we use SSH key connections, which allows your Cloud 66 account to reach and read the code. The process is slightly different when accessing a public versus a private repository.

Public Repositories

When using public Git repositories, you don’t need to add the SSH key provided to your Git account. Simply provide the Git URL as either:

http://<git provider>/<username>/<repository>.git
 or
 git://<git provider>/<username>/<repository>.git

Tip: It's worth noting that we don't support the use of HTTPS URLs. This URL is often generated by your Git provider automatically.  

Private Repositories

For Cloud 66 to access your private repository (with read-only access), you first need to add the SSH provided to your Git account. For guidance on how to do this, follow the instructions in our Getting Started Guide under the section for how to building your first stack.

You can add this SSH key globally to your GitHub account by adding it to your Account settings page, or by allowing access to a specific repository by adding it as a Deploy key to that repository.

Once this is done, use a Git URL in the following format:

git@<git provider>:<username>/<repository>.git

This URL is often generated by your Git provider automatically.

Using Github

Adding the SSH key globally

To add the SSH key globally, click the Account settings in the top right hand corner, and then SSH keys in the left menu (you can also choose a name).

Adding the SSH key to a specific repository

To add the SSH key to a specific repository, first access the Settings menu for that repository. Now simply click Deploy keys and paste your key there (you can also choose a name).

Once this is done, use a Git URL in the following format in the Cloud 66 UI:

git@github.com:<username>/<repository>.git

Using BitBucket

Adding the SSH key globally

To add the SSH key globally, click Manage account in the top right hand corner, and then SSH keys in the left menu (you can also choose a name).

Adding the SSH key to a specific repository

To add the SSH key to a specific repository, first access the Settings menu for that repository (top right), then click Deployment keys and paste your key there.

Once this is done, use a Git URL in the following format in the Cloud 66 UI:

git@bitbucket.org:<username>/<repository>.git

So that's it for this edition. Don't forget, you can find answers to all sorts of queries in our Help pages, and similar content to this on our Community site. And if you haven't already, make sure you join the Cloud 66 Slack community to get involved.

Repository (version control) Git Cloud

Published at DZone with permission of Siavash Khalvati, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Uplevel Your Managers With Mini-M Support Groups
  • The Changing Face of ETL
  • The Key Assumption of Modern Work Culture
  • Apache Kafka Introduction, Installation, and Implementation Using .NET Core 6

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: