<commit_before># Argus

Extremely simple ruby daemon to build docker images and push them to
[AWS Elastic Container Registry](https://aws.amazon.com/ecr/).

Features:

- does one thing well (kinda)
- queue builds with SQS messages
- built-in ECR authentication
- can notify [Slack](https://slack.com/) of build details

The primary goal of this project is simplicity. It should be easy to
adapt to your exact image-building needs.

Argus is implemented as a shoryuken
worker. [Shoryuken](https://github.com/phstc/shoryuken) is a super
efficient AWS SQS thread based message processor.

## Quick-start

You will need:

- AWS credentials set, either with the usual environment variables or
  with a credentials file
- a github repo to build, and access to it, with ssh keys or
  `GITHUB_TOKEN`
- a repository created on ECR to push the docker image once built

Create an SQS queue called `argus`, then:

```
gem install argus-builder
argus-send rlister/argus:master  # replace with your github repo
argus-worker
```

## Installation

Install via ruby gems:
<commit_msg>document argus-build client<commit_after># Argus

Extremely simple ruby daemon to build docker images and push them to
[AWS Elastic Container Registry](https://aws.amazon.com/ecr/).

Features:

- does one thing well (kinda)
- queue builds with SQS messages
- built-in ECR authentication
- can notify [Slack](https://slack.com/) of build details

The primary goal of this project is simplicity. It should be easy to
adapt to your exact image-building needs.

Argus is implemented as a shoryuken
worker. [Shoryuken](https://github.com/phstc/shoryuken) is a super
efficient AWS SQS thread based message processor.

## Quick-start

You will need:

- AWS credentials set, either with the usual environment variables or
  with a credentials file
- a github repo to build, and access to it, with ssh keys or
  `GITHUB_TOKEN`
- a repository created on ECR to push the docker image once built

If you have local docker, you can run a single build with:

```
argus-build rlister/argus:master
```

To run the builder daemon, create an SQS queue called `argus`, then:

```
gem install argus-builder
argus-send rlister/argus:master  # replace with your github repo
argus-worker
```

## Installation

Install via ruby gems:

{'fraction_non_alphanumeric': 0.07509881422924901, 'fraction_numerical': 0.0, 'mean_word_length': 4.189066059225513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1804941', 'n_tokens_mistral': 700, 'n_tokens_neox': 666, 'n_words': 305}