aws-codebuild Questions

13

Solved

I upload my lambda function sources from AWS codebuild. My Python script uses NLTK so it needs a lot of data. My .zip package is too big and an RequestEntityTooLargeException occurs. I want to know...
Ioyal asked 11/2, 2019 at 13:49

4

I am learning on the codepipeline to push the build using CodeBuild to ECR. Below is my buildspec.yml file and the error from the Codebuild logs. Can anyone shed some lights what I am doing wrong? ...

2

I'm using Yarn Workspaces in my repository and also using AWS CodeBuild to build my packages. When build starts, CodeBuild takes 60 seconds to install all packages and I'd want to avoid this time c...
Sopor asked 28/4, 2019 at 12:31

4

Solved

I'd like to run my build pipeline only when my repo is tagged with certain specific release tags. I can get the tag value from the CODEBUILD_WEBHOOK_TRIGGER environment variable and I can condition...

2

Solved

I want to define a CodeBuild project in source code using the AWS CDK. The CodeBuild project needs to be able to build and then push docker images. When creating a new CodeBuild Project in the AWS ...
Nematic asked 23/10, 2020 at 2:57

4

Solved

CodeBuild project fails at the Provisioning phase due to the following error BUILD_CONTAINER_UNABLE_TO_PULL_IMAGE: Unable to pull customer's container image. CannotPullContainerError: Error respons...
Boynton asked 6/1, 2021 at 4:42

7

Solved

I'm building a CI/CD pipeline using git, codebuild and elastic beanstalk. During codebuild execution when build fails due to syntax error of a test case, I see codebuild progress to next stage and ...

2

I came across some strange behaviour when calling npm ci within an AWS CodePipeline. The NPM docs recommend using npm ci ("clean install") instead of npm install in automated environments...
Epigrammatize asked 14/12, 2022 at 16:49

4

Solved

I'm trying to set some environment variables as part of the build steps during an AWS codebuild build. The variables are not being set, here are some logs: [Container] 2018/06/05 17:54:16 Running ...
Misestimate asked 5/6, 2018 at 17:59

2

Solved

I am getting this error while trying to copy a file from S3 bucket to the build artifacts, post build. My build phase error logs says: COMMAND_EXECUTION_ERROR: Error while executing command: aws s3...

4

Solved

Whenever I start AWS CodeBuild I get this type of error every time. please help. DOWNLOAD_SOURCE Failed 3 mins, 2 secs Get https://github.com/themithunbiswas/test-repo.git/info/refs?service...
Grandniece asked 27/8, 2018 at 6:46

4

When I create a brand new CodeBuild project, it allows me to select an IAM Service Role, and when I check the box "Allow AWS CodeBuild to modify this service role so it can be used with this b...
Unheard asked 30/8, 2020 at 17:48

8

Solved

I am attempting to get CodePipeline to fetch my code from GitHub and build it with CodeBuild. The first (Source) step works fine. But the second (Build) step fails during the "UPLOAD_ARTIFACTS" par...
Snuffer asked 13/1, 2017 at 2:36

6

Solved

I created a CodeBuild Project that uses a docker image for node8. The purpose of this CodeBuild project is to do unit testing. It takes an input artifact from CodeCommit. And in the buildspec.yml i...

3

Solved

Tangentially related to: AWS CodeBuild with GitHub - only for specific directory I have a codebuild project and a github repo with many files in it. A user may update any of these files in the git ...
Linares asked 29/5, 2021 at 13:7

2

Solved

I'm trying to set up an AWS CodeBuild project to run tests to validate PRs and commits on a GitHub repository. Because of the nature of the repo (a monorepo combining several ML models): I need to...
Context asked 11/5, 2021 at 9:23

4

Solved

I'm trying to build my project on AWS using CodeBuild. I have placed this buildspec file in the root directory. CodeBuild is able to read the file but it is unable to proceed forward. But I got the...
Ammonite asked 19/5, 2020 at 9:14

5

Solved

Context: I have a CodePipeline set up that uses CodeCommit and CodeBuild as its source and build phases. My build includes a plugin (com.zoltu.git-versioning) that uses the Git commit history to ...

2

Solved

I am getting the following error from the BUILD stage of my CodeBuild build process: "Error while executing command: docker build -t ..." Reason: exit status 1 I have a code build service role se...
Rhotacism asked 19/5, 2020 at 14:47

4

Solved

I'm building a project that puts all of it's files in a 'dist' folder, and running it through CodeBuild. I'm trying to get it to put all of the files and folders in 'dist' into the root of the s3 b...
Molasses asked 29/3, 2018 at 16:2

2

Solved

I'm using AWS CodeBuild, and I need to manipulate an environment variable. I originally tried using a bash pattern substitution, like this, in the buildspec.yml: build: on-failure: ABORT command...
Huskamp asked 2/8, 2021 at 22:14

3

Solved

During a CodeBuild run I am retrieving a rsa key from SecretsManager, which is the private key to use to access private sources in BitBucket. To do this I have copied the private key into a secret,...

4

Solved

Im working on creating the CodeBuild which is integrated with SonarQube, So I pass values and sonar credentials directly in my Buildspec.yaml Instead of Hardcoding directly, I tried to retrieve us...

2

Solved

I use AWS Codebuild to upload python code into AWS Lambda from a GitHub repository. So I set up virtual python environments with virtualenv. Here is my buildspec.yml: version: 0.2 phases: instal...

2

Solved

I'm trying to setup my Node project with AWS CodeBuild. version: 0.2 phases: pre_build: commands: - $(aws ecr get-login) - TAG="$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | head -c 8)" buil...
Cannibalize asked 26/10, 2018 at 10:12

© 2022 - 2024 — McMap. All rights reserved.