Skip to content

aws4embeddedlinux/meta-aws-buildbot

Repository files navigation

meta-aws-buildbot

This repository contains buildbot using AWS CDK to run Yocto embedded Linux build jobs in AWS.

Code structure

This is a standard CDK project.

The main stack definition can be found in lib/app.ts.

Requirements and deployment

In order to be able to deploy this CDK project you need to have the following:

  • An AWS account
  • The AWS CLI installed and configured in your development machine
  • AWS CDK installed and configured in your development machine
  • Node.js and npm installed

Then to deploy this CDK project to your AWS account, you simply have to clone this repository and from the root folder of the project run:

npm install

To install the necessary dependencies, and then:

npm run build
npm run zip-config
cdk deploy --all

To synthesise and deploy the project stack.

Then prompt y for yes.

If you want to clean up your account you can delete this stack with:

cdk destroy

Contributing

Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.

useful commands

if you have a local buildbot you can check config before uploading it:

buildbot checkconfig configuration/admin/admin.cfg

deploy new config:

npm run zip-config && cdk deploy --force BuildBotConfig-Personal --require-approval never

debug ecs container:

aws ecs execute-command --cluster XXX --task XXX --container buildbot-server --interactive --command "/bin/bash"

rebuild, redeploy everything:

npm run clean && npm run build && npm run zip-config && cdk deploy --all --force --require-approval never

delete everything:

cdk destroy --all --require-approval never

License

Licensed under MIT License.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •