Skip to content

Commit

Permalink
Merge pull request #74 from aws4embeddedlinux/2023-09-12_README
Browse files Browse the repository at this point in the history
README.md: add quickstart, remove separate doc
  • Loading branch information
thomas-roos authored Sep 14, 2023
2 parents 0d893e9 + 5bf9079 commit 286f82e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 17 deletions.
44 changes: 43 additions & 1 deletion demos-pipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,50 @@
An AWS [Cloud Developer Toolkit](https://docs.aws.amazon.com/cdk/v2/guide/home.html) Library for building Yocto projects in AWS.

## Quickstart
to create yocto demo build pipelines and cloud resources.

Refer to [`docs/setup.md`](docs/setup.md)
### Setting Up

#### clone repo
```bash
git clone https://github.com/aws4embeddedlinux/meta-aws-ci.git -b cdk-pipeline
cd meta-aws-ci/demos-pipeline
```

#### install npm packages:

```bash
npm install .
```

#### updating - if you have an already have packages installed before
```bash
npm update
```

#### build:

```bash
npm run build
```

#### deploy cloud resources for all demo pipelines:
```bash
# only required once
cdk bootstrap

cdk deploy --all
```

The newly created pipeline `ubuntu_22_04BuildImagePipeline` from the CodePipeline console will start automatically.

After that completes, the DemoPipeline in the CodePipeline console page is ready to run.


#### destroy cloud resources for all demo pipelines:
```bash
cdk destroy --all
```

## Useful commands

Expand Down
16 changes: 0 additions & 16 deletions demos-pipeline/docs/setup.md

This file was deleted.

0 comments on commit 286f82e

Please sign in to comment.