This is a set of scripts I built to help me to work with automation & deployment stuff. It has both scripts to help you as a user to get something faster than using vanilla tools, as well as scripts to make working with containerized applications easier, such as dealing with waiting for resources, a common problem when working with Docker (or containers in general).
- terraform-auto - Wrapper around Terraform to provide automation-friendly features, such as automatic initialization and support for environment variables on backend configuration.
- simple-ansible-provision - Provision ansible playbooks with an easier CLI and automatic download of Galaxy dependencies.
- ecs-wait-for-ec2-join-cluster - Helps you build scalable applications on AWS ECS with zero-downtime deployments.
- ecs-wait-for-container-instances - Helps you build applications on AWS ECS with zero-downtime deployments.
- wait-for - Manage initialization order dependency on different containers. See more about this here.
You can just pick what you need and copy it or install them using one of the methods below:
Build this PKGBUILD:
$ wget https://raw.githubusercontent.com/kriansa/PKGBUILDs/master/pkgs/devops-tools-git/PKGBUILD
$ makepkg -fsric
For now you can either clone this repo or download the last release and put the files into a folder
in your $PATH
. If you want proper packages, pull-requests are welcome!
To use the contents of the container-tools on your Docker image, just add the snippet below to your
Dockerfile. First, ensure you have curl
installed on your base image.
Beware to replace the DOTC_VERSION
by the actual version you want
here.
# Ensure you have curl installed on your base image.
ARG DOTC_VERSION vX.Y.Z # Please refer to the Releases page to get the latest one
RUN curl -L https://github.com/kriansa/devops-tools/releases/download/$DOTC_VERSION/container-tools.tar.gz |\
tar -xzC /usr/local/bin \
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update docs as appropriate. For more information, please refer to Contributing.
- Dockerize - Helps you simplify applications running in containers.
This project is licensed under the BSD 3-Clause License - see the LICENSE.md file for details.