Aws codebuild, all builds failing – Ubuntu
I'm having an issue with AWS codebuild. My setup has worked for the last year with no issue. Last night all my builds started failing. Log below. As far as I can see, this is failing before it even gets…
I'm having an issue with AWS codebuild. My setup has worked for the last year with no issue. Last night all my builds started failing. Log below. As far as I can see, this is failing before it even gets…
I have a node application, the code is in a AWS codecommit repo. To build this app I need parameters coming from an .env file. I put this .env file in another codecommit repo. I would like to know if…
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. The AWS CDK docs follow this recommendation in their CDK…
I am trying to load plan-buildspec.yml file in my codebuild Project, however its not able to find my builspec.yml no matter whichever path I give. I did refer to this https://github.com/aws/aws-cdk/issues/7329, but not luck YAML_FILE_ERROR Message: stat /codebuild/output/srcXXXXXXX/buildspec/plan-buildspec.yml: no such…
I have a pipeline, which creates an artifact in the build stage. For this artifact I have the bucketName the objectKey as well as some { "accessKeyId": "...", "secretAccessKey": "...", "sessionToken": "...", "expirationTime": 1670840680000 } As I cannot install the…
I've been trying to add a simple environment variable to a YAML cloudformation template. I pass in to the template as a parameter when creating whether it is "production" or "staging", and want to pass that on in the "Build"…
I am trying to deploy cloudformation stack into a cross-account account. However, when i am deploying the cloudfromation.yml file i am getting the following below error. I have even tried using cloudformation.yaml but same error. However, when i try to…
I have an AWS Codebuild Project that is connected to a VPC. Now I'm trying to understand how can I get the availability zone of codebuild build during execution time. Is this possible?
I am trying to setup pipeline for my project. For the first time everything worked fine. All three phases were successfully working and code also uploaded on S3 bucket. After that for next change I clicked on "Release Changes" button…
i am trying to define timestamp as a global variable but it doesn't seem to work. When i try to echo the time stamp value i get $(date +%Y-%m-%d-%H-%M) instead of the date and time value. I want to be…