GithubHelp home page GithubHelp logo

squidfunk / terraform-aws-github-ci Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 20.0 3.47 MB

[DEPRECATED] Serverless CI for GitHub using AWS CodeBuild with PR and status support

License: MIT License

HCL 100.00%
aws codebuild github terraform webhook

terraform-aws-github-ci's People

Contributors

hussfelt avatar rjw1 avatar squidfunk avatar stretch96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terraform-aws-github-ci's Issues

GitHub webhook Lambda function fails in 0.4.1

Description

GitHub webhook lambda function fails when triggered

Steps to reproduce the bug

terraform apply with version 0.4.1 of the module

The first noticeable failure is that when PRs are opened/updated, the AWS CodeBuild check no longer appears within the PR.

The AWS SNS integration is still in place and the lambda function does get triggered, but fails with:

TypeError: Cannot read property 'replace' of undefined
at /var/task/index.js:45:205
at Array.reduce (native)
at r.default (/var/task/index.js:44:19)

Package versions

  • terraform-aws-github-ci: 0.4.1
  • terraform: v0.11.3

GitHub services hook deprecated

Description

When running terraform apply:

github_repository_webhook._: POST https://api.github.com/repos/owner/repo/hooks: /hooks: 422 As of October 2018, GitHub Services can no longer be added. Please see the blog post for details: https://developer.github.com/changes/2018-04-25-github-services-deprecation
You can use the "Replacing GitHub Services" guide to help you update your services to webhooks: https://developer.github.com/v3/guides/replacing-github-services

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.