aws-codecommit

Can't access AWS CodeCommit with SSH

拥有回忆 提交于 2019-12-23 09:57:20
问题 Having an incredibly difficult time figuring out how to get AWS CodeCommit to work with standard SSH authentication. Seen another topic like this but no answer and I'm not allowed to comment yet. This is on Windows using Git Bash. Repro Steps Created IAM user with full permissions (AwsAdministrator) From Git Bash in ~/.ssh "cat id_rsa.pub" and copy output to clipboard In IAM console, click button to add SSH key and paste into the input field. Click Save. Attempt to access a CodeCommit repo

Find which resource triggered CodePipeline when multiple resources from CodeCommit

江枫思渺然 提交于 2019-12-13 03:28:02
问题 I'm using AWS and created a CodePipeline using multiple resources (CodeCommit). I properly getting events like this: {'CodePipeline.job': {'id': '... In this event I can find the latest commit for each CodeCommit resource but I did not find how I can determine which specific resource triggered the CodePipeline execution. Is it something doable ? Thanks for your help. 回答1: It is not supported yet, but will be in the future. Right now, maybe you could work around by tracking the eventname of

Git on AWS CodeCommit Bare Repository [closed]

雨燕双飞 提交于 2019-12-11 20:13:38
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I was creating my first private repository and when I was cloning I noticed that the repository that amazon created does not have a .git extension,so, it's not a bare repository? Is it? Thanks. 回答1: AWS CodeCommit does not store remote repositories the same way as other git hosting providers. For

Does AWS SAM CodePipelines do whole rebuild per commit?

做~自己de王妃 提交于 2019-12-11 14:48:27
问题 I am building a distributed app in AWS consisting of base resource (iam etc), data-warehousing but mostly serverless resources like lambdas, sns, mongodb,.. For deploying this over an OTAP I am looking into AWS tooling for this, mostly outlined here. This means that the 1 repo in CodeCommit will trigger the CodePipeline, which will have these components in de right places (realizing order control): deploying CF stacks using CodeBuild to package (AWS sam package) a SAM resource-> for every SAM

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

喜夏-厌秋 提交于 2019-12-11 08:25:07
问题 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 through AWS Console). The problem: all things are synced but GIT says the remote repo is one commit behind it is actually is. When I type "git status" it says: Your branch is ahead of 'codecommit-origin/master' by 1 commit. (use "git push" to publish

AWS CodeCommit HTTPS access without setting up credential helper

主宰稳场 提交于 2019-12-10 06:15:23
问题 We are transitioning from GitHub to AWS CodeCommit to have a tightly integrated environment. One need is to access one repository through HTTPS. This repo is accessed ny Spring Cloud Config Server product that uses jgit to read the repo and clone the files for its use. AWS CodeCommit apparently requires the use of the credential helper when connecting through HTTPS, but I don't the setup to be like that. I want a user and password setup that jgit can use without the need to generate a temp

Access AWS CodeCommit from Jenkins running on EC2 (Ubuntu)

喜欢而已 提交于 2019-12-08 11:23:30
I'm trying to integrate Jenkins with AWS CodeCommit. Jenkins is running on an AWS EC2 Instance with Ubuntu 14.04. I followed this Blogpost: http://blogs.aws.amazon.com/application-management/post/Tx1C8B98XN0AF2E/Integrating-AWS-CodeCommit-with-Jenkins The problem is, that sudo -u jenkins aws configure isn't executed because the jenkins user has no permissions. What would you do? The following commands aren't working as well: sudo -u jenkins git config --global credential.helper '!aws codecommit credential-helper $@' sudo -u jenkins git config --global credential.useHttpPath true sudo -u

Access AWS CodeCommit from Jenkins running on EC2 (Ubuntu)

泄露秘密 提交于 2019-12-08 06:19:12
问题 I'm trying to integrate Jenkins with AWS CodeCommit. Jenkins is running on an AWS EC2 Instance with Ubuntu 14.04. I followed this Blogpost: http://blogs.aws.amazon.com/application-management/post/Tx1C8B98XN0AF2E/Integrating-AWS-CodeCommit-with-Jenkins The problem is, that sudo -u jenkins aws configure isn't executed because the jenkins user has no permissions. What would you do? The following commands aren't working as well: sudo -u jenkins git config --global credential.helper '!aws

CodeCommit error Elastic Beanstalk (AWS)

故事扮演 提交于 2019-12-05 14:11:21
After running pip install --upgrade awsebcli I get the following error when trying to do eb deploy Could not push code to the CodeCommit repository: ERROR: CommandError - An error occurred while handling git command. Error code: 128 Error: fatal: 'codecommit-origin dev' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. I can't figure out why that happened. It seems like the connection to the automatically generated repository codecommit-origin is not working anymore. In the

Deploy files from CodeCommit to S3

最后都变了- 提交于 2019-12-04 16:06:47
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 the AWS CodeCommit API. Any suggestions would be greatly appreciated! Yep, that capability is not in the CodeCommit API (yet... I assume/hope someone at AWS is working on it). My suggestion would be some sort of CI job, such as a Jenkins job, using an IAM role that is configured for CodeCommit and S3 access, that regularly polls your repo(s), picks