Skip to content

Commit

Permalink
Merge pull request #1 from Intellection/add_426
Browse files Browse the repository at this point in the history
Package Elasticsearch Curator v4.2.6
  • Loading branch information
itskingori authored Mar 1, 2017
2 parents 043447c + 1d8fa53 commit bc45a58
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 4.2.6

* Package Curator v4.2.6.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM alpine:3.5

LABEL maintainer "Zappi DevOps <[email protected]>"

ARG APP_DEPS="python py-setuptools"
ARG BUILD_DEPS="py-pip"
ARG CURATOR_VERSION="4.2.6"

RUN apk --update add ${APP_DEPS} ${BUILD_DEPS} && \
pip install elasticsearch-curator==${CURATOR_VERSION} && \
apk del ${BUILD_DEPS} && \
rm -rf /var/cache/apk/*

ENTRYPOINT ["/usr/bin/curator"]
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,27 @@
# docker-elasticsearch-curator
Elasticsearch Curator helps you curate, or manage, your Elasticsearch indices and snapshots

[![CircleCI](https://circleci.com/gh/Intellection/docker-elasticsearch-curator/tree/master.svg?style=shield&circle-token=dbb2e1eb99522d9dd8d5377d913fffd78a485942)](https://circleci.com/gh/Intellection/docker-elasticsearch-curator/tree/master)

Elasticsearch Curator helps you curate, or manage, your Elasticsearch indices
and snapshots.

## Usage

```
$ docker run -it zappi/elasticsearch-curator --help
Usage: curator [OPTIONS] ACTION_FILE
Curator for Elasticsearch indices.
See http://elastic.co/guide/en/elasticsearch/client/curator/current
Options:
--config PATH Path to configuration file. Default: ~/.curator/curator.yml
--dry-run Do not perform any changes.
--version Show the version and exit.
--help Show this message and exit.
```

For more details [see official documentation][1].

[1]: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
14 changes: 14 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
environment:
IMAGE_NAME: 'zappi/elasticsearch-curator'
services:
- docker

test:
pre:
- docker build --tag=$IMAGE_NAME .
override:
- docker run $IMAGE_NAME --version

0 comments on commit bc45a58

Please sign in to comment.