├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .sam └── .gitkeep ├── .yarnclean ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── env └── example.env ├── package.json ├── sam.yml ├── scripts ├── clean ├── dependency ├── deploy ├── destroy ├── lint ├── package ├── test └── validate ├── src └── functions │ ├── build-state-notifier │ ├── index.js │ ├── lib │ │ ├── codebuild-status-to-github-status.js │ │ └── codebuild-status-to-github-status.test.js │ ├── package.json │ └── yarn.lock │ ├── github-webhook-handler │ ├── index.js │ ├── lib │ │ ├── event-types.js │ │ ├── event-types.test.js │ │ ├── should-ignore.js │ │ ├── should-ignore.test.js │ │ └── snsnizer.js │ ├── package.json │ └── yarn.lock │ └── github-webhook-resource │ ├── index.js │ ├── package.json │ └── yarn.lock ├── test └── fixtures │ ├── pr-closed.json │ ├── pr-created.json │ ├── pr-merged.json │ ├── pr-reopened.json │ ├── pr-synchronized.json │ └── pushed.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/.gitignore -------------------------------------------------------------------------------- /.sam/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.yarnclean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/.yarnclean -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/README.md -------------------------------------------------------------------------------- /env/example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/env/example.env -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/package.json -------------------------------------------------------------------------------- /sam.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/sam.yml -------------------------------------------------------------------------------- /scripts/clean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/scripts/clean -------------------------------------------------------------------------------- /scripts/dependency: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/scripts/dependency -------------------------------------------------------------------------------- /scripts/deploy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/scripts/deploy -------------------------------------------------------------------------------- /scripts/destroy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/scripts/destroy -------------------------------------------------------------------------------- /scripts/lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/scripts/lint -------------------------------------------------------------------------------- /scripts/package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/scripts/package -------------------------------------------------------------------------------- /scripts/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/scripts/test -------------------------------------------------------------------------------- /scripts/validate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/scripts/validate -------------------------------------------------------------------------------- /src/functions/build-state-notifier/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/build-state-notifier/index.js -------------------------------------------------------------------------------- /src/functions/build-state-notifier/lib/codebuild-status-to-github-status.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/build-state-notifier/lib/codebuild-status-to-github-status.js -------------------------------------------------------------------------------- /src/functions/build-state-notifier/lib/codebuild-status-to-github-status.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/build-state-notifier/lib/codebuild-status-to-github-status.test.js -------------------------------------------------------------------------------- /src/functions/build-state-notifier/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/build-state-notifier/package.json -------------------------------------------------------------------------------- /src/functions/build-state-notifier/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/build-state-notifier/yarn.lock -------------------------------------------------------------------------------- /src/functions/github-webhook-handler/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-handler/index.js -------------------------------------------------------------------------------- /src/functions/github-webhook-handler/lib/event-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-handler/lib/event-types.js -------------------------------------------------------------------------------- /src/functions/github-webhook-handler/lib/event-types.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-handler/lib/event-types.test.js -------------------------------------------------------------------------------- /src/functions/github-webhook-handler/lib/should-ignore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-handler/lib/should-ignore.js -------------------------------------------------------------------------------- /src/functions/github-webhook-handler/lib/should-ignore.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-handler/lib/should-ignore.test.js -------------------------------------------------------------------------------- /src/functions/github-webhook-handler/lib/snsnizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-handler/lib/snsnizer.js -------------------------------------------------------------------------------- /src/functions/github-webhook-handler/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-handler/package.json -------------------------------------------------------------------------------- /src/functions/github-webhook-handler/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-handler/yarn.lock -------------------------------------------------------------------------------- /src/functions/github-webhook-resource/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-resource/index.js -------------------------------------------------------------------------------- /src/functions/github-webhook-resource/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-resource/package.json -------------------------------------------------------------------------------- /src/functions/github-webhook-resource/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/src/functions/github-webhook-resource/yarn.lock -------------------------------------------------------------------------------- /test/fixtures/pr-closed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/test/fixtures/pr-closed.json -------------------------------------------------------------------------------- /test/fixtures/pr-created.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/test/fixtures/pr-created.json -------------------------------------------------------------------------------- /test/fixtures/pr-merged.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/test/fixtures/pr-merged.json -------------------------------------------------------------------------------- /test/fixtures/pr-reopened.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/test/fixtures/pr-reopened.json -------------------------------------------------------------------------------- /test/fixtures/pr-synchronized.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/test/fixtures/pr-synchronized.json -------------------------------------------------------------------------------- /test/fixtures/pushed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/test/fixtures/pushed.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toricls/github-codebuild-integration/HEAD/yarn.lock --------------------------------------------------------------------------------