Skip to content

Commit

Permalink
Merge pull request #7 from AAROC/v0.2.0-rc
Browse files Browse the repository at this point in the history
V0.2.0 rc
  • Loading branch information
bazinski authored Jan 26, 2018
2 parents 3ca2c45 + 389da9f commit 799a6f1
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 38 deletions.
32 changes: 11 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,26 @@
# We need to test :
# Client access to the repositories (for various targets)
# build-slave configuration
sudo: required

language: bash

env:
matrix:
- OS=u1404
- OS=u1604
- OS=centos6
- OS=centos7
#
# matrix:
# allow_failures:
# - env: OS=centos7
global:
secure: yad4VLwMMYbdZjJ/76GroodLeOUc8jh7kuvfmXdrT1WhH/uuDf3bTQPoowXrOlsjj5bIyLzC3r5oxov/3rp+vk2tVR3/DBb7jdQ6HM84q6jVWD7Knky7tak/MhTZJQ3hQrrATETH4OwiAzODQ782IZzejZsuYRDpZf8ex32cwy+/iLLwxF2I7qIHT1C2hTaIm8GqGk1MymQ+BtFEqKwjkITrr4Z2Vq/cI4QoU1S+L3rc3tlFzoCNVN3ZuWoiikLkrKU/oX9Mwby7rsaEbUVjBO6oUq/zXP/bvmDF1B1ZXs7739ZXwt5pByrqSDVoGEKbqQMGBKLoe4Thk/kgzOwF5A2b+neEJH+7rRGx2pPl1vWiiqrqj94z4qmntcN6RAdB7iu2DmlX8k1HisYPFtkN1kRCU/WvUvG19zQ7utTrZs/+LprvqEk8+7glpjmW+r4xDRARPaEJYpuF6ZTa5adu5AFNdwlghp7WZOh7fhLsxhWGGhTfFPOZ5RS63I6HNWGtvt5vh4yOrSx32rbZS5v56w+hWJG0DJhMqu+hIEn7j4qpd0Ckhn/gzdYr/626ex5qYvRwstMUj6siR4JaxUx/uO4JHkymXLofcZ0GkYa/T4JcZbeTa/1PuiJi9S9PZXgROaAGOqcFMvdSwIzE3DNJDodev9/l8AbLe2/i3qFmJ40=
services:
- docker

- docker
before_install:
- git clone --recursive https://github.com/AAROC/DevOps

# Build the container
- git clone --recursive https://github.com/AAROC/DevOps
install:
- docker build -t quay.io/aaroc/ansible-ready-${OS} -f Dockerfile.$OS .
- docker build -t quay.io/aaroc/ansible-ready-${OS} -f Dockerfile.$OS .
script:
- docker run ansible-ready-${OS} ansible localhost -c local -m setup

- docker run quay.io/aaroc/ansible-ready-${OS} ansible localhost -c local -m setup
after_success:
- docker push quay.io/aaroc/ansible-ready-${OS}
after_failure:

- docker login -u="aaroc+buildy_mc_testface" -p="${QUAY_LOGIN}" quay.io
- docker push quay.io/aaroc/ansible-ready-${OS}
after_failure:
notifications:
slack:
rooms:
- africa-arabia-roc:qn956vBmV7VIyJ1Xod4Cmnd5#coderade
- africa-arabia-roc:qn956vBmV7VIyJ1Xod4Cmnd5#coderade
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Docker images are often personal expressions of their author, and thus contain many of their flaws.
No matter how simple the image, there's almost always room for improvement:

1. Please feel free to send pull requests for suggestions on optimising the build. These will likely be accepted if the resulting image is :
1. smaller
1. more secure
1. builds faster
without sacrificing functionality.
1. If you find any issues or problems, please [open an issue](https://github.com/AAROC/AnsibleContainer/issues/new) in the GitHub repo.
1. If you would like to discuss any aspect of the code, [start a topic on the discussion forum](https://discourse.sci-gaia.eu)
28 changes: 11 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
[![DOI](https://zenodo.org/badge/53336926.svg)](https://zenodo.org/badge/latestdoi/53336926) [![Docker Stars](https://img.shields.io/docker/stars/aaroc/ansiblecontainer.svg?maxAge=2592000?style=plastic)](https://hub.docker.com/r/aaroc/ansiblecontainer/) [![Docker Pulls](https://img.shields.io/docker/pulls/aaroc/ansiblecontainer.svg?maxAge=2592000?style=plastic)](https://hub.docker.com/r/aaroc/ansiblecontainer/) [![Build Status](https://travis-ci.org/AAROC/AnsibleContainer.svg?branch=master)](https://travis-ci.org/AAROC/AnsibleContainer) [![Docker Repository on Quay](https://quay.io/repository/aaroc/ansible-ready/status "Docker Repository on Quay")](https://quay.io/repository/aaroc/ansible-ready)
[![DOI](https://zenodo.org/badge/53336926.svg)](https://zenodo.org/badge/latestdoi/53336926) [![Build Status](https://travis-ci.org/AAROC/AnsibleContainer.svg?branch=master)](https://travis-ci.org/AAROC/AnsibleContainer)

<!-- added a few other repos on quay -->

# Ansible Docker containers

It is convenient to have a Docker image which is already configured to run Ansible in order to test playbooks for various gridcloud services. This is a repo for Ansible-ready containers [automatically built](https://hub.docker.com/r/aaroc/ansiblecontainer) on Docker Hub.
It is convenient to have a Docker image which is already configured to run Ansible in order to test playbooks for various gridcloud services. This is a repo for Ansible-ready images, built automatically on Travis and pushed to the relevant repo on the AAROC org on [Quay](https://quay.io/)

Different base images are used :

* CEntOS 6
* CEntOS 7
* Ubuntu 14.04
* CEntOS 6 [![Docker Repository on Quay](https://quay.io/repository/aaroc/ansible-ready-centos6/status "Docker Repository on Quay")](https://quay.io/repository/aaroc/ansible-ready-centos6)
* CEntOS 7 [![Docker Repository on Quay](https://quay.io/repository/aaroc/ansible-ready-centos7/status "Docker Repository on Quay")](https://quay.io/repository/aaroc/ansible-ready-centos7)
* Ubuntu 14.04 [![Docker Repository on Quay](https://quay.io/repository/aaroc/ansible-ready-u1404/status "Docker Repository on Quay")](https://quay.io/repository/aaroc/ansible-ready-u1404)
* ~Ubuntu 16.10~ (support has ended)
* Ubuntu 16.04
* Ubuntu 16.04 [![Docker Repository on Quay](https://quay.io/repository/aaroc/ansible-ready-u1604/status "Docker Repository on Quay")](https://quay.io/repository/aaroc/ansible-ready-u1604)

The images are automatically built based on the branch and Dockerfile names. These images are used to build other services in the AAROC/DevOps service registry.
The images are automatically built based on the branch and Dockerfile names. These images are used to build other services in the AAROC/DevOps service registry, notably the CODE-RADE build containers.

Further base operating system images will be considered based on community need. Please open an issue with a request for such if the need arises.

# How to use these containers

Expand All @@ -28,19 +30,11 @@ If you are developing roles or playbooks for AAROC and performing Continuous Int

# Contributing

Docker images are often personal expressions of their author, and thus contain many of their flaws.
No matter how simple the image, there's almost always room for improvement:

1. Please feel free to send pull requests for suggestions on optimising the build. These will likely be accepted if the resulting image is :
1. smaller
1. more secure
1. builds faster
without sacrificing functionality.
1. If you find any issues or problems, please [open an issue](https://github.com/AAROC/AnsibleContainer/issues/new) in the GitHub repo.
1. If you would like to discuss any aspect of the code, [start a topic on the discussion forum](https://discourse.sci-gaia.eu)
See [Contributing](CONTRIBUTING.md) for how to contribute to the development of the repository. Please abide by the [Code of Conduct](CODE_OF_CONDUCT.md).

# Citing

If you use this work or derivatives thereof, please cite as :

**Bruce Becker. (2017). AAROC/AnsibleContainer: Ansible Ready Container for DevOps [Data set]. Zenodo. [http://doi.org/10.5281/zenodo.556399](http://doi.org/10.5281/zenodo.556399)**

0 comments on commit 799a6f1

Please sign in to comment.