Sunday, June 30, 2024

Amazon CodeCatalyst now helps GitLab and Bitbucket repositories, with blueprints and Amazon Q function growth


Voiced by Polly

I’m joyful to announce that we’re additional integrating Amazon CodeCatalyst with two widespread code repositories: GitLab and BitBucket, along with the prevailing integration with GitHub. We carry the identical set of capabilities that you just use at this time on CodeCatalyst with GitHub to GitLab.com and Bitbucket Cloud.

Amazon CodeCatalyst is a unified software program growth and supply service. It allows software program growth groups to shortly and simply plan, develop, collaborate on, construct, and ship purposes on Amazon Net Providers (AWS), lowering friction all through the event lifecycle.

The GitHub, GitLab.com, and Bitbucket Cloud repositories extension for CodeCatalyst simplifies managing your growth workflow. The extension permits you to view and handle exterior repositories immediately inside CodeCatalyst. Moreover, you may retailer and handle workflow definition recordsdata alongside your code in exterior repositories whereas additionally creating, studying, updating, and deleting recordsdata in linked repositories from CodeCatalyst dev environments. The extension additionally triggers CodeCatalyst workflow runs mechanically upon code pushes and when pull requests are opened, merged, or closed. Moreover, it permits you to immediately make the most of supply recordsdata from linked repositories and execute actions inside CodeCatalyst workflows, eliminating the necessity to change platforms and maximizing effectivity.

However there’s extra: beginning at this time, you may create a CodeCatalyst undertaking in a GitHub, GitLab.com, or Bitbucket Cloud repository from a blueprint, you may add a blueprint to an present code base in a repository on any of these three techniques, and you can too create customized blueprints saved in your exterior repositories hosted on GitHub, GitLab.com, or Bitbucket Cloud.

CodeCatalyst blueprints assist to hurry up your developments. These pre-built templates present a supply repository, pattern code, steady integration and supply (CI/CD) workflows, and built-in problem monitoring to get you began shortly. Blueprints mechanically replace with greatest practices, preserving your code trendy. IT leaders can create customized blueprints to standardize growth on your workforce, specifying know-how, entry controls, deployment, and testing strategies. And now, you need to use blueprints even when your code resides in GitHub, GitLab.com, or Bitbucket Cloud.

Hyperlink your CodeCatalyst area with a git repository internet hosting service
Getting began utilizing any of those three supply code repository suppliers is simple. As a CodeCatalyst area administrator, I choose the area the place I wish to configure the extensions. Then, I choose Settings, and within the Put in extensions part, I choose Configure to hyperlink my CodeCatalyst area with my GitHub, GitLab.com, or Bitbucket Cloud account.

Link CodeCatalyst with a git repository hosting service

This can be a one-time operation for every CodeCatalyst area, however you would possibly wish to join your area to a number of supply suppliers’ accounts.

When utilizing GitHub, I additionally need to hyperlink my private CodeCatalyst person to my GitHub person. Below my private menu on the highest proper aspect of the display, I choose My settings. Then, I navigate all the way down to the Private connections part. I choose Create and observe the directions to authenticate on GitHub and hyperlink my two identities.

Link personal CodeCatalyst account to your git hosting provider account

This can be a one-time operation for every person within the CodeCatalyst area. That is solely required while you’re utilizing GitHub with blueprints.

Create a undertaking from a blueprint and host it on GitHub, GitLab.com, and Bitbucket Cloud
Let’s present you learn how to create a undertaking in an exterior repository from a blueprint and later add different blueprints to this undertaking. You need to use any of the three git internet hosting suppliers supported by CodeCatalyst. On this demo, I selected to make use of GitHub.

Let’s think about I wish to create a brand new undertaking to implement an API. I begin from a blueprint that implements an API with Python and the AWS Serverless Software Mannequin (AWS SAM). The blueprint additionally creates a CI workflow and an problem administration system. I need my undertaking code to be hosted on GitHub. It permits me to immediately use supply recordsdata from my repository in GitHub and execute actions inside CodeCatalyst workflows, eliminating the necessity to change platforms.

I begin by choosing Create undertaking on my CodeCatalyst area web page. I choose Begin with a blueprint and choose the CodeCatalyst blueprint or Area blueprint I wish to use. Then, I choose Subsequent.

Amazon CodeCatalyst create project from blueprint

I enter a reputation for my undertaking. I open the Superior part, and I choose GitHub as Repository supplier and my GitHub account. You may configure further connections to GitHub by choosing Join a GitHub account.

Amazon CodeCatalyst - select a github account

The remainder of the configuration is dependent upon the chosen blueprint. On this case, I selected the language model, the AWS account to deploy the undertaking to, the title of the AWS Lambda operate, and the title of the AWS CloudFormation stack.

After the undertaking is created, I navigate to my GitHub account, and I can see {that a} new repository has been created. It accommodates the code and sources from the blueprint.

Amazon CodeCatalyst - creation f new GitHub repository

Add a blueprint to an present GitHub, GitLab.com, or Bitbucket Cloud undertaking
You may apply a number of blueprints in a undertaking to include purposeful parts, sources, and governance to present CodeCatalyst initiatives. Your initiatives can help numerous parts which are managed independently in separate blueprints. The service documentation helps you study extra about lifecycle administration with blueprints on present initiatives.

I can now add a blueprint to an present undertaking in an exterior supply code repository. Now that my backend API undertaking has been created, I wish to add an online software to my undertaking.

I navigate to the Blueprints part within the left-side menu, and I choose the orange Add blueprint button on the top-right a part of the display.

CodeCatalyst - add blue print to an existing project

I choose the Single-page software blueprint and choose Subsequent.

On the subsequent display, I be certain to pick out my GitHub connection, as I did once I created the undertaking. I additionally fill within the required info for this particular template. On the correct aspect of the display, I evaluation the proposed adjustments.

CodeCatalyst - add a blueprint to a project in GitHub

Equally, when utilizing CodeCatalyst Enterprise Tier, I can create my very own customized blueprints to share with my teammates or different teams inside my group. For brevity, I don’t share step-by-step directions to take action on this publish. For extra info, see Standardizing initiatives with customized blueprints within the documentation.

When CodeCatalyst finishes putting in the brand new blueprint, I can see a second repository on GitHub.

Amazon CodeCatalyst - multiple repositories

Single or a number of repository methods
When organizing code, you may select between a single giant repository, like a toolbox overflowing with every part, or splitting it into smaller, specialised ones for higher group. Single repositories simplify dependency administration for tightly linked initiatives however can grow to be messy at scale. A number of repositories supply cleaner group and improved safety however require planning to handle dependencies between separate initiatives.

CodeCatalyst permits you to use one of the best technique on your undertaking. For extra info, see the part Retailer and collaborate on code with supply repositories in CodeCatalyst within the documentation.

Within the instance I confirmed earlier than, the blueprint I chosen proposed to use the second blueprint as a separate repository in GitHub. Relying on the blueprint you chose, the blueprint might suggest that you just create a separate repository or merge the brand new code in an present repository. Within the latter case, the blueprint will submit a pull request so that you can merge into your repository.

Area and availability
This new GitHub integration is offered at no further price within the two AWS Areas the place Amazon CodeCatalyst is offered, US West (Oregon) and Europe (Eire) on the time of publication.

Attempt it now!

— seb



Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
3,912FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles