Skip to content

Commit

Permalink
Ready to publish the release
Browse files Browse the repository at this point in the history
  • Loading branch information
brucellino committed Apr 20, 2017
1 parent f124fe9 commit ff0d7b7
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ env:
- OS=u1610
- OS=centos6
- OS=centos7

matrix:
allow_failures:
- env: OS=centos7
#
# matrix:
# allow_failures:
# - env: OS=centos7
services:
- docker

Expand Down
14 changes: 14 additions & 0 deletions Dockerfile.centos6
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2016 C.S.I.R. Meraka Institute

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# CentOS 6 Ansible-ready docker file
FROM centos:6
MAINTAINER Bruce Becker [email protected]
Expand Down
14 changes: 14 additions & 0 deletions Dockerfile.centos7
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2016 C.S.I.R. Meraka Institute

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# CentOS 7 Ansible-ready docker file
FROM centos:7
MAINTAINER Bruce Becker [email protected]
Expand Down
14 changes: 14 additions & 0 deletions Dockerfile.u1404
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2016 C.S.I.R. Meraka Institute

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Ubuntu 14.04 Ansible-ready docker file
FROM ubuntu:14.04
MAINTAINER Bruce Becker [email protected]
Expand Down
14 changes: 14 additions & 0 deletions Dockerfile.u1610
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2016 C.S.I.R. Meraka Institute

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Ubuntu 16.10 Ansible-ready docker file
FROM ubuntu:16.10
MAINTAINER Bruce Becker [email protected]
Expand Down
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,42 @@
[![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)

# AnsibleContainer
# Ansible Docker containers

A repo for Ansible-ready containers [automated build](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 containers [automatically built](https://hub.docker.com/r/aaroc/ansiblecontainer) on Docker Hub.

Two different base images are used :
Different base images are used :

* CEntOS 6
* CEntOS 7
* Ubuntu 14.04
* Ubuntu 16.10

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.

# How to use these containers

## Local development

If you are working on Ansible playbooks which should be re-usable by others, you can test them with these images first, before pushing to [the repo](https://github.com/AAOC/DevOps). Of course, this is also possible to do with a `virtualenv` if you are testing different versions of Ansible from pip.

## Continuous Integration

If you are developing roles or playbooks for AAROC and performing Continuous Integration with Travis or similar, you can use these images as the base.

# 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)

# Citing
<!-- awaiting DOI -->
If you use this work or derivatives thereof, please cite :

0 comments on commit ff0d7b7

Please sign in to comment.