molecule/README.md

21 lines
1016 B
Markdown
Raw Normal View History

2019-02-28 10:08:43 +01:00
# molecule
2019-03-18 14:45:18 +01:00
[![Build Status](https://drone.rknet.org/api/badges/docker/molecule/status.svg)](https://drone.rknet.org/docker/molecule/)
2019-03-18 15:36:43 +01:00
[![](https://images.microbadger.com/badges/image/xoxys/molecule.svg)](https://microbadger.com/images/xoxys/molecule "Get your own image badge on microbadger.com")
2019-03-18 14:45:18 +01:00
2019-03-25 22:01:04 +01:00
Docker image to automate Ansible deployment tests with Molecule. The image was build to use with any docker based CI system. Currently the image is only available for the Google Compute Engine (GCE) backend of Molecule.
2019-03-18 14:45:18 +01:00
## Environment variables
2019-03-25 22:01:04 +01:00
`GCE_SSH_KEY`
2019-03-18 15:46:34 +01:00
ssh key to authenticate to your GCE project vms
2019-03-25 22:01:04 +01:00
`GCE_CREDENTIALS_JSON`
2019-03-18 15:46:34 +01:00
json file which holds your credentials to talk to the GCE api (must be generetade and exportet in GCE web console)
2019-03-25 22:01:04 +01:00
`GCE_CREDENTIALS_FILE`
2019-03-18 15:46:34 +01:00
path to the cretendtials file inside the container to write your $GCE_CREDENTIALS_JSON to
2019-03-25 22:01:04 +01:00
`MOLECULE_CUSTOM_MODULES_REPO`
2019-03-18 15:46:34 +01:00
if you use custom modules you can specify a git repo containing these files. The repo will be cloned so ansible can use it