Questions tagged [aws-codebuild]

Describes Amazon Web Services CodeBuild questions and answers. Scope should be limited to AWS CodeBuild.

AWS CodeBuild is a fully managed build service that compiles source code, runs tests, and produces software packages that are ready to deploy. With CodeBuild, you don’t need to provision, manage, and scale your own build servers. CodeBuild scales continuously and processes multiple builds concurrently, so your builds are not left waiting in a queue. You can get started quickly by using prepackaged build environments, or you can create custom build environments that use your own build tools. With CodeBuild, you are charged by the minute for the compute resources you use.

Documentation

1448 questions
0
votes
1 answer

Integrate SonarQube with AWS CodeBuild

Is there a way to integrate SonarQube with AWS CodeBuild? Since I cannot install any plugins on AWS CodeBuild, I would like some advice on how to achieve this. ------EDIT-------- I think I can use…
Asdfg
  • 11,362
  • 24
  • 98
  • 175
0
votes
2 answers

ng build has no permission

I am autoconfiguring the CodeBuild for my Spring boot + Angular 4 project, where i use maven-frontend-plugin to install node , npm. Since it installs them locally my ng build is throwing an error like below. Any help? [INFO] > ng build --prod…
user1058913
  • 321
  • 1
  • 4
  • 20
0
votes
2 answers

building code with aws codebuild. Source version syntax

I'm trying to build my code with AWS codebuild on a specific branch. But it always fails the because of the yml file not being there (because of git branching) or i get a "Git Clone Failed: invalid reference:" Can anyone tell me what the correct…
0
votes
1 answer

installing nodejs before building spring boot app

So i am building a spring boot app with angular 4 front end and i need to automate the build and i am using AWS developer suite for that i already created the pipeline that watch my repo changes and i have this buildspec.yml with following…
0
votes
1 answer

In my AWS, codebuild build, I get an error 'No artifact files specified' when I try to specify my endpoint in my yml file.

I have googled and searched within stackoverflow and found some suggestions but still no succedd. My build process in AWS Codebuild runs and gives me a success output but in the log shows -> 'No artifact files specified', and as the result no files…
0
votes
1 answer

AWS Codebuild .NET Core building docker image

We tried the default AWS codebuild image to build .NET core apps and it worked fine. Now we require to build to Docker images, but the default image has no docker installed. AWS has the option to run the Builder image in Priviledged mode so you can…
0
votes
1 answer

How can I use gulp on CodeDeploy buildspec file?

here's my build spec file: # 0.1 : shell for each command # 0.2 : shell keeps its settings # https://stackoverflow.com/a/45115791/28004 version: 0.2 phases: install: commands: - echo INSTALL started on `date` - cd…
balexandre
  • 73,608
  • 45
  • 233
  • 342
0
votes
1 answer

Installing dependcies for running files in AWS Codebuilder

I am trying to run test files on AWS codebuilder pulling from a CodeCommit but the files have many dependencies that need to be installed. Many of them are included in Anaconda but I am worried that this will slow down the build speed considerably…
0
votes
2 answers

How to automatically deploy api gateway in AWS codepipeline

Currently I am able to deploy a lambda by pushing to github. I also automatically deploy a lambda but only because the api gateway is an event in the lambda yaml file AWSTemplateFormatVersion: '2010-09-09' Transform:…
0
votes
1 answer

AWS CodeBuild for python does not fail

I might have been misunderstood the concept, but does not a Codebuild step fail when there is an error in your code and it can not build that code? I assumed that if one command in my build commands fails, it will notify me and/or stop the further…
0
votes
1 answer

Importing AWS information from CloudFormation to CodeBuild

I have a pipeline in AWS with Codestar, CodeBuild, CloudFormation, etc. I am trying to figure out how to get information from the CloudFormation step returned to the CodeBuild step. Let me break it down: I have a buildspec.yml for CodeBuild #…
0
votes
1 answer

Jekyll + AWS Codebuild - EventMachine Gem is Failing

I am trying to run a Jekyll blog on Codebuild. Locally there is no issue, but when trying to run it on Codebuild, it keeps getting stuck on this: Your bundle is locked to eventmachine (1.2.3), but that version could not be found in any of the…
user2164689
  • 395
  • 4
  • 13
0
votes
1 answer

AWS Codepipeline with Codebuild FAILS in ap-southeast-2 WORKS in eu-west-1

I execute the command aws cloudformation deploy on templates that create an AWS::CodeBuild::Project resource to be used in a AWS::CodePipeline::Pipeline resource in the same template BUT I get the following error: CREATE_FAILED…
0
votes
2 answers

AWS CodeBuild - Unable to find DockerFile during build

Started playing with AWS CodeBuild. Goal is to have a docker images as a final results with the nodejs, hapi and sample app running inside. Currently i have an issue with: "unable to prepare context: unable to evaluate symlinks in Dockerfile path:…
0
votes
1 answer

Simple Continuous Deliver procedure for docker in aws

I am using AWS Code Pipeline, Code Build to create a new Docker container and push it to ECR. My application is a simple straight forward single Container based. What would be less friction approach to pull down current running Container and…