Questions tagged [aws-codecommit]

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories.

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories. CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure. You can use CodeCommit to securely store anything from source code to binaries, and it works seamlessly with your existing Git tools.

569 questions
2
votes
2 answers

Is there a simple way to copy a repository fragment from CodeCommit to S3?

I use a combination of a static code generator and webpack to generate a static site, which I then manually copy to S3 (to further expose it though CloudFront) via the AWS cli. I manage my code with git locally and on a local git server, and was…
WoJ
  • 27,165
  • 48
  • 180
  • 345
2
votes
0 answers

How to use code commit repository which is created in one account in another account

I have created my aws code commit repository in another account and now I want to use it in a different account in my pipeline. I found this article: http://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-create-cross-account.html But…
2
votes
2 answers

AWS CodeCommit Unable to create branch using git push

My repo worked well until I moved it to another another account.All branches except master were lost during the migration. Earlier today, I find I am unable to create a new branch using git push origin new-branch The command returns successful…
Dustin Sun
  • 5,292
  • 9
  • 49
  • 87
2
votes
2 answers

IAM blocks access to AWS CodeCommit repo

I set up SSH access to CodeCommit and tested the connection: You have successfully authenticated over SSH. You can use Git to interact with AWS CodeCommit. Interactive shells are not supported.Connection to git-codecommit.us-east-1.amazonaws.com…
Dan Kowalczyk
  • 4,103
  • 2
  • 18
  • 29
2
votes
1 answer

Getting list of files from a tree_id in AWS codeCommit

There is a way to get the list of files for a tree_id ? Actually i can't find the right method to do this ! i can't go beyond the tree_id !!! GetCommit request inputs { "commitId": "string", "repositoryName": "string" } Response { …
Reda.benh
  • 31
  • 1
  • 4
2
votes
4 answers

Trigger Jenkins builds by pushing to CodeCommit

I created a repository git aws codeCommit, I need when I push something on branch X to launch a job Jenkins. In the picture is my configuration: But it doesn't work. When I push source code into my branch codeCommit nothing happens. Would do you…
Victor
  • 385
  • 2
  • 12
  • 26
2
votes
3 answers

AWS EB CLI + Codecommit: git status incorrectly shows branch out-of-sync after deploy

After using "eb deploy" integrated to source control the CodeCommit remote repo is updated (I can see in AWS Console that the commit is there, in the cloud repo) and the EC2 instance is correctly running the new deployed version (can see it also…
iandin
  • 31
  • 4
2
votes
1 answer

Can't commit to CodeCommit

I'm not able to commit any files to my new CodeCommit repository, not sure why. I've been able to clone my repository, so I'm able to connect to it. This would seem to rule out authentication issues. However, once I add and then commit a file I get…
2
votes
1 answer

aws codecommit cannot push

I setup my new repo in aws codecommit. I'm totally new to this. I can clone my repo using this git clone ssh://APKAISIJVIU6XXXXXX@git-codecommit.us-east-1.amazonaws.com/v1/repos/weewee my-demo-repo However when I try to push I get this…
2
votes
3 answers

Jenkins Failed to connect to repository : Command returned status code 128:

OK, So I spent years trying to set this jenkins server up and there is errors everywhere. Most answers out there are for linux, This jenkins server is on windows(if you know how to setup msbuild on a linux jenkins im all ears). The server is set…
lonewarrior556
  • 3,917
  • 2
  • 26
  • 55
2
votes
1 answer

Deploy files from CodeCommit to S3

I want to deploy certain files pushed into my CodeCommit repo into an S3 bucket. I'm attempting to do this with a Lambda trigger on the repo. However, I cannot get a list of files changed in a commit nor request a specific file from CodeCommit using…
bjaxbjax
  • 1,351
  • 2
  • 15
  • 24
2
votes
1 answer

Is it possible to use AWS CodeCommit as a backend git server for GitLab?

I have a GitLab deployment which is great since it provides a great GUI, however it's not nearly as scalable or persistent as something like AWS CodeCommit. Is it possible to use CodeCommit or some other Git Server as a backend for GitLab?
Loourr
  • 4,995
  • 10
  • 44
  • 68
2
votes
1 answer

AWS CodeCommit read only acces

I wanted to give to a specific user read only access to some folders in a CodeCommit repository. It is possible to do it without granting the user the permission to list all other folders in the repository?
albruz90
  • 135
  • 9
2
votes
1 answer

Get name of Amazon Web Services Codecommit Repository in triggered Lambda function

I've created a trigger in my AWS CodeCommit repositories which runs a Lambda function whenever it is triggered. The Lambda function calls a script at my development server to perform a git pull. So far so good. The problem is that I need to pass the…
James Jones
  • 3,850
  • 5
  • 25
  • 44
2
votes
2 answers

How to use AWS CodeCommit as repository for Spring Cloud Config

I am trying to use AWS CodeCommit repository with spring cloud config. I have managed to get it working with SSH. But I would like to use https instead of SSH. AWS suggest to use credential helper. Does anyone know how can I configure spring config…