GithubHelp home page GithubHelp logo

nordicsemiconductor / cloud-bdd-markdown-e2e-example-aws-js Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 15.39 MB

Example use of @nordicsemiconductor/bdd-markdown

Home Page: https://github.com/NordicSemiconductor/cloud-bdd-markdown-e2e-example-aws-js#readme

License: Other

TypeScript 99.16% JavaScript 0.84%
bdd aws cloudnative e2e testing nrf-asset-tracker iot

cloud-bdd-markdown-e2e-example-aws-js's Introduction

BDD Feature Runner for AWS Examples

GitHub Actions semantic-release Renovate @commitlint/config-conventional code style: prettier ESLint: TypeScript

Example use of @nordicsemiconductor/bdd-markdown.

npm ci           # install dependencies
npx cdk deploy   # deploy the stack to your AWS account
npm test         # run the tests

Note: AWS CDK follows the AWS SDK way of authenticating. See this guide to learn more.

Webhook receiver

The Webhook.feature.md shows how to use AWS ApiGateway, Lambda and SQS to set up a real test double for a webhook endpoint. It allows to test that a component which is supposed to send a webhook is actually sending it.

Set up CD

You need to create a developer token with repo and admin:repo_hook permissions for an account that has write permissions to your repository.

You need to store this token in AWS ParameterStore which is a one-time manual step done through the AWS CLI:

aws ssm put-parameter --name /codebuild/github-token --type String --value <Github Token>
aws ssm put-parameter --name /codebuild/github-username --type String --value <Github Username>

Then set up the continuous deployment:

npx tsx cdk/cloudformation-cd.ts deploy

Architecture decision records (ADRs)

see ./adr.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.