sqsreceiver

command module
v0.0.0-...-ba1dcbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2018 License: MIT Imports: 13 Imported by: 0

README

sqsreceiver

A simple Amazon SQS receiver which receives messages from an SQS queue and triggers a build in Jenkins

Build

To build simply run

./build.sh deps
./build.sh build

Deploy

To deploy simply run these commands

docker build . -t <yourname>/sqsreceiver

Run container

The Docker container relies on three values:

  • QUEUE: The name of the Amazon SQS queue
  • AWSACCESSKEYID: The Access Key ID to connect to AWS SQS
  • AWSSECRETACCESSKEY: The Secret Access Key to connect to AWS SQS
  • AWSREGION: The region you're your Amazon SQS queue in
  • JENKINSUSER: The username to connect to Jenkins
  • JENKINSTOKEN: The API token to connect to Jenkins
  • JENKINSSERVER: The base URL of your Jenkins server

You can run the docker container using:

docker run -d -e QUEUE='' \
              -e AWSACCESSKEYID='' \
              -e AWSSECRETACCESSKEY='' \
              -e AWSREGION='' \
              -e JENKINSUSER='' \
              -e JENKINSTOKEN='' \
              -e JENKINSSERVER='' \
              --name=sqsreceiver <yourname>/sqsreceiver

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL