aws-codebuild Questions

4

Solved

I have a NodeJS app that serves an Angular frontend, this app is deployed using AWS Elastic Beanstalk. If I were to directly upload a .zip file to Elastic Beanstalk, it would contain: \dist reques...

1

I have a Node.js project with Testcontainers used for staring Redis and Prostgress for tests. I want to run these tests as a part of CI. For that purpose, I use an alpine image of Node.js with Dock...
Premonition asked 17/5, 2022 at 17:1

2

Solved

I have the most basic setup in AWS: a publicly accessible RDS instance (PostgreSQL 9.6.6 - same as my development one) a CodeBuild project both in the default VPC. My application is written i...
Sectarian asked 10/3, 2018 at 19:56

2

Solved

I need to show the "build version" in my application. For that purpose, I am using the npm package 'git-describe', which fetches the 'distance' of the current Git commit from the last Git...
Somali asked 15/5, 2022 at 5:33

0

I'm trying to invalidate the Cloudfront cache after a build has done and what I get is the following error in Codebuild : [Container] 2022/05/16 15:46:11 Phase context status code: COMMAND_EXECUTIO...
Duffer asked 16/5, 2022 at 15:53

1

When creating a Codebuild project it's possible to configure a cache in the Artifacts section to speed up subsequent builds. Docker layer cache is one of the options there. AWS documentation says: ...
Perlaperle asked 25/4, 2019 at 21:16

2

Solved

Is there a way to pass AWS Codebuild environment variables into a Dockerfile? I'd like to be able to pull from ECR like this: FROM $My_AWS_ACCOUNT.dkr.ecr.us-east-1.amazonaws.com/someimage:latest...
Gillenwater asked 13/6, 2019 at 19:38

1

Solved

Hi I have codepipeline to deploy my angular app, and in that app I am using my private github package. Everything is working locally etc. But on codeBuild I have no idea how to register into github...
Fruiterer asked 19/5, 2021 at 7:56

4

Solved

I'm currently successfully using codebuild for simple build tasks (in a non-vpc configuration). But now I'm trying to run a build task that reads an SSM parameter value, and it's failing because i...
Repentance asked 25/4, 2018 at 7:15

4

Solved

I am running a CodeBuild on a project that has private requirements stored in CodeCommit. I need to add a command in buildspec.yml that loads the https git credentials so git clone works when Code...
Ceram asked 6/2, 2018 at 21:49

1

Solved

How to wait for a CodeBuild to finish inside a Step Functions state machine? The only wait I can think of right now is with a loop and a timer, like the flow bellow, but is it the only way to do it...
Halftone asked 3/2, 2022 at 21:13

2

I'm trying to add an environment variable to a Pipeline action that uses AWS Codebuild. However, no matter what I add, if I choose a type of Secret Manager, the step fails with the following error:...
Broadcasting asked 11/4, 2020 at 20:5

3

Solved

I have a confusing issue with AWS CodeBuild. I am getting the following error: Major version of alias '14.x' is not supported in runtime 'nodejs' When I update the buildspec to simply be "14&...
Deborahdeborath asked 2/12, 2021 at 19:59

2

I just setup my Codebuild pipeline for PHP Symfony2 testing by phpunit. Situation : Some of our tests talk to a local Database (classic mysql-server) Codebuild use our Custom Docker image that...
Kalila asked 4/10, 2017 at 17:52

2

Solved

I am using AWS code-build for my angular-7 project. I install AWS-amplify in the existing project than when I build the AWS service (codeBuild) I got the following error. ng build --prod: Javascri...
Phytogenesis asked 8/10, 2021 at 20:31

3

Solved

As part of an automated process in CodeBuild I want to update Access Control List for all files in a given folder (or more specifically all objects with given prefix). How to do it in a single line...
Cardinale asked 11/12, 2018 at 14:53

0

I'm trying to find an explanation why the AWS CodeStar connector for GitHub needs write permission to administration, code and pull requests. There is no mentions about it in the official doc I fee...

4

Solved

I am trying to build a docker container in AWS code build as a means to deploy a container to ECR, but I get this error. Error while executing command: $(aws ecr get-login --region ap-southeast-1)...
Maladjustment asked 8/10, 2018 at 1:11

1

Solved

Already saw this particular post kubectl error You must be logged in to the server (Unauthorized) when accessing EKS cluster and followed some guides from AWS but still no success.. I'm creating a ...

2

Solved

I want to create a zip artifact for my nodejs lambda through aws codebuild process - so that lambda function can use this zip file as source in S3 and we have a deployment "proof" for management wi...
Shipwreck asked 30/6, 2017 at 19:41

3

Solved

This is my Current Setup: Gets repository from Bitbucket Builds the docker image using the Amazon Linux 2 AWS managed image Push the image to ECR I am now sometimes getting the toomanyrequests er...
Planoconvex asked 23/11, 2020 at 11:54

3

The role configured on CodeBuild project works fine with the runtime environment but doesn't work when we run a command from inside the container, it says "unable to locate credentials". Let me kno...

2

Solved

The docs say they do exactly the same thing: Both the sam package and sam deploy commands described in this section are identical to their AWS CLI equivalent commands aws cloudformation packag...

5

Solved

I am using CodePipeline with CodeCommit. Builds are triggered automatically with push to master branch. In CodePipeline console it is clearly visible that i am receiving commit id but i need to get...

3

Solved

I'm using AWS CodePipeline with CodeBuild to build and deploy my application to ElasticBeanstalk. CodePipeline generates version names like this: code-pipeline-1122334455667-MyApp-1ac31f7c-1343-47...

© 2022 - 2024 — McMap. All rights reserved.