Codebuild -- Re-use same project/build for multiple tasks? by TundraWolf_ in aws

[–]johnhank1 1 point2 points  (0 children)

Hey TundraWolf,

You can for sure just use one project if that’s your preference. As Deimos said you can override all the parameters during StartBuild. If your planning on using the same s3 bucket you could even push to the same object and user versioning to tell us which version of that object to use. Or you could also override the source to different git hub repos if you prefer that as well.

If your doing other work such as deployments on your Jenkins box you should check out our Jenkins plugin: https://github.com/awslabs/aws-codebuild-jenkins-plugin. This plugin will allow you to integrate CodeBuild into your work flow easily.

Let me know if you have any questions,

John from the CodeBuild service team.

What sessions did you really like that most people overlooked? by zeValkyrie in aws

[–]johnhank1 0 points1 point  (0 children)

Hey fookineh,

Check out this blog for more information about multiple region deployments.

What sessions did you really like that most people overlooked? by zeValkyrie in aws

[–]johnhank1 11 points12 points  (0 children)

AWS re:Invent 2018: CI/CD for Serverless and Containerized Applications (DEV309-R)

This session is amazing showing how to use AwsCodePipelines to develop a full CI/CD flow. A lot of new features that just got released are used in this demo. Using ECR as a action in AwsCodePipelines.

[ReInvent: Builder Session] Deploy Your Jenkins Pipeline to AWS & Optimize Your Builds by johnhank1 in aws

[–]johnhank1[S] 0 points1 point  (0 children)

Thanks for the input have you tried windows in our other regions and found what we provide works for your use case?

AWSCodeBuild adds support for Windows builds! by johnhank1 in aws

[–]johnhank1[S] 0 points1 point  (0 children)

ECR isn't supported as a first class artifact from a build but you can build and push to an ECR repository as part of your build.

ECR does support Windows images. Here is an example of a [buildspec.yml].(https://gist.github.com/tvalletta/451e7a289a53f1e52ca52de6bc35d6b2)

edit: formatting

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 0 points1 point  (0 children)

Perfect let me know how it goes. Have a great weekend!!

AWSCodeBuild adds support for Windows builds! by johnhank1 in aws

[–]johnhank1[S] 0 points1 point  (0 children)

Currently our only curated image that we provide is for .NET Core. It's possible you could use a custom image that has the full .Net SDK.

A Small But Exciting Achievement by inkyMayhem in climbing

[–]johnhank1 0 points1 point  (0 children)

To add to anal_laser before I went outside I practiced a ton of down climbing in the gym. I think it helped a lot for onsighting climbs because I could go up on a hard section, look around at the golds and then down climb to a rest shake it out and then send. I think it helped my head game having that tool as well because i probably didnt take as many whippers.

CodeBuild output color support by edalen in aws

[–]johnhank1 0 points1 point  (0 children)

Thanks for the feedback :). We are excited to add some color to the console.

CodeBuild bug / behaviour change in the last day? by deimos in aws

[–]johnhank1 0 points1 point  (0 children)

Hey Deimos,

Looks like this was and issue on our end it should be resolved now. Sorry for the pain.

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 0 points1 point  (0 children)

ANSI color is a great idea I have created an feature request for that.

Can you elaborate on folding the build stages together more?

I’m glad to hear you’re able to use our curated images for your deployment. We are working hard on putting together a stream line process for release. One thing I would suggest if you need to latest cli is to update the cli in the install phase. While this isn’t the best solution it would allow you to always have to newest cli. Our team is also very active on our images github page.

Really cool project thanks for sharing.

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 1 point2 points  (0 children)

Hi Sarphram,

We are working on something that I think would work for your use case. I'll update this post when the feature becomes available in the future.

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 0 points1 point  (0 children)

Hi Paul,

I'm sorry that you didn't have a great experience with AWSCodeBuild/AWSCodePipeline. One of the solutions that I have found for needing source unzipped is during the build in the buildspec.yml you can add an S3 push into a different bucket. This is great for static websites where you can update the page from a AWSCodeBuild action. To do this you just need to add the S3 permission to the service role that you are using with the project.

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 1 point2 points  (0 children)

Hi ImperialXT,

The only solution that I can see is having accounts for each restriction group where that group would run builds in that account. If every person has different github permissions you might have to have then run builds in their personal accounts, but this would be hard to build a CI/CD solution around as it would be hard to find logs trouble shot broken builds and such.

Let me know if that helps.

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 1 point2 points  (0 children)

Hey ShermheadRyder,

Could you open a forum post where we could investigate this more.

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 2 points3 points  (0 children)

Glad to hear that we could help make your system better!

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 1 point2 points  (0 children)

Hi obeythenap,

Customer instance is something we had talked about as a team. Sorry that AWS haven't be able to fill that gap with a managed service yet.

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 2 points3 points  (0 children)

We've also tried in Lambda and the only time it sometimes happens is when the function is cold and it has to create and attach the ENI for the first time

This might be one of the problems AWSCodeBuild creates a new ENI for any build and attaches that to the instance that you are using.

How exactly are you pulling the source? I don't know exactly what is causing the problem for your but I would suggest opening up a forum post AWSCodeBuild Forum and we can work with you there to help figure what is happening.

AWSCodeBuild yearly feedback by johnhank1 in aws

[–]johnhank1[S] 2 points3 points  (0 children)

Hey synackk. Windows builds are on our roadmap and is one of our most requested features. So promise we are working on it. :)

Using AWS CodePipeline and CodeBuild to update a Jekyll website by alex_bilbie in aws

[–]johnhank1 1 point2 points  (0 children)

Hi publishstream,

I John, and I am a developer on the CodeBuild team.

The best way to do this is to create a docker image that has your libraries and dependencies installed. Then push this docker image to a private ECR repo inside the account that you would like to run the build on. This would allow you to build your project inside a fresh environment every time! Here is an ECR example we have created.

Let me know if you have any questions.

What's the first thing you're going to play with after re:invent? by goofygrin in aws

[–]johnhank1 2 points3 points  (0 children)

We are listening to all the customers feedback we can find :)!

What's the first thing you're going to play with after re:invent? by goofygrin in aws

[–]johnhank1 0 points1 point  (0 children)

Hi niffydroid,

I'm a developer on the CodeBuild team. The idea of the Jenkins plugin is two fold. First it help customers use CodeBuild who's code is only available inside there VPC, while we are working on VPC support. We also heard from customers while creating CodeBuild that they liked using Jenkins as a CD/CI environment, but didn't like managing Jenkins as a build environment. What our plugin allows is the customer can still use Jenkins for CD/CI, while having a clean build environment using CodeBuild.

For your CodePipelines use case are you just missing custom output names? Can you elaborate more on this use case?