Coder Social home page Coder Social logo

linuxbrew / linuxbrew-lambda Goto Github PK

View Code? Open in Web Editor NEW
9.0 8.0 5.0 369 KB

๐Ÿ’€ Used to transfer bottles from CircleCI to BinTray and GitHub

Home Page: http://linuxbrew.sh/linuxbrew-lambda/

JavaScript 49.86% Makefile 31.12% Shell 0.61% HTML 15.90% Dockerfile 2.35% Ruby 0.17%

linuxbrew-lambda's Introduction

AWS Lambda function for LinuxbrewTestBot

This AWS Lambda function receives a webhook notification from CircleCI, downloads the artifacts for that build, and uploads them to BinTray and their SHA256 to GitHub.

It uses Linuxbrew, ruby, git and ssh on AWS Lambda.

Notes

brew config

HOMEBREW_VERSION: >1.1.0 (no git repository)
ORIGIN: https://github.com/Linuxbrew/brew
HEAD: a8dff1fe61193bacfd8416e8cd024803a59802d0
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: 72349992f3f8c6d47ed76ee26d854e63e7550d42
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /tmp/brew
HOMEBREW_REPOSITORY: /tmp/brew
HOMEBREW_CELLAR: /tmp/brew/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com
CPU: dual-core 64-bit haswell
Homebrew Ruby: 2.2.2 => /var/task/bin/ruby
Clang: N/A
Git: 2.4.3 => /tmp/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python => /usr/bin/python2.7
Ruby: /var/task/bin/ruby
Java: openjdk version "1.8.0_101"
Kernel: Linux 4.4.35-33.55.amzn1.x86_64 x86_64 GNU/Linux
OS glibc: 2.17
OS gcc: N/A
Linuxbrew glibc: N/A
Linuxbrew gcc: N/A
Linuxbrew xorg: N/A

Troubleshooting using Docker

The Docker image lambci/lambda is useful for troubleshooting this tool.

Execute a GET request

docker run --rm -v "$PWD":/var/task lambci/lambda:nodejs4.3 'index.handler' '{ "httpMethod": "GET" }'

An interactive prompt

docker run -it --rm -v "$PWD":/var/task --entrypoint /bin/bash lambci/lambda:nodejs4.3

linuxbrew-lambda's People

Contributors

imichka avatar issyl0 avatar sjackman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.