It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can AWS CodeCommit support integration with Atlassian Crucible?

Jay Wexler Nov 06, 2015

Hi,

Can you please let me know if AWS CodeCommit supports integration with Crucible.  If so, any instructional information regarding this integration would be greatly appreciated.

 

Thanks!

 

2 answers

1 accepted

5 votes
Answer accepted
Maciej Swinarski Atlassian Team Nov 06, 2015

Hi Jay,

AWS CodeCommit is a GIT repository and this is fully supported by FishEye and Crucible.

To set up the connection:

AWS:

  • on the AWS console create a IAM user: fisheye_codecommit
  • create a policy to allow read access to your AWS CodeCommit repository, something like AWSCodeCommit-myRepo:

    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Action": [
                    "codecommit:BatchGetRepositories",
                    "codecommit:Get*",
                    "codecommit:GitPull",
                    "codecommit:List*",
                    "codecommit:Test*"
                ],
                "Resource": "arn:aws:codecommit:us-east-1:[]:[repository resource id]"
            }
        ]
    }

    , where the Resource is your AWS CodeCommit resource id.

  • attach to user: fisheye_codecommit the policy above: AWSCodeCommit-myRepo and the policy: IAMUserSSHKeys.
  • generate a key pair (ssh-keygen) and upload the public key to the AWS user fisheye_codecommit: Security Credentials / SSH keys for AWS CodeCommit and note down the SSH Key ID, something like:  APKAEIBAERJR2EXAMPLE

FishEye & Crucible:

  • go to FishEye and Crucible / Admin panel / Repositories and Add repository
  • add a GIT type repository and select the: Upload private key for SSH authentication style, select the generated earlier file with the private key
  • on the URL paste your repository SSH URL and add the SSH Key ID as user, this will be smth like:

    ssh://APKAEIBAERJR2EXAMPLE@git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepository
  • press the Test button and you should see a successful test connection.

Mac

Jay Wexler Nov 07, 2015

Thanks, Maciej!  This is exactly the information we needed. 

 

Regards,  

 

Jay

0 votes
Timothy Chin Community Leader Nov 06, 2015

I believe that Git is being used in AWS CodeCommit. The answer is probably yes.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Statuspage

⭐️Would you recommend Statuspage? Leave a (honest!) review. ⭐️

Hi Community friends, We're working on sourcing more reviews on Capterra – a popular software review site –  to help teams like yours make more informed decisions when choosing an inc...

86 views 3 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you