This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
molecule/README.md

21 lines
1016 B
Markdown
Raw Normal View History

2019-02-28 09:08:43 +00:00
# molecule
2019-03-18 13:45:18 +00:00
[![Build Status](https://drone.rknet.org/api/badges/docker/molecule/status.svg)](https://drone.rknet.org/docker/molecule/)
2019-03-18 14:36:43 +00: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 13:45:18 +00:00
2019-03-25 21:01:04 +00: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 13:45:18 +00:00
## Environment variables
2019-03-25 21:01:04 +00:00
`GCE_SSH_KEY`
2019-03-18 14:46:34 +00:00
ssh key to authenticate to your GCE project vms
2019-03-25 21:01:04 +00:00
`GCE_CREDENTIALS_JSON`
2019-03-18 14:46:34 +00: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 21:01:04 +00:00
`GCE_CREDENTIALS_FILE`
2019-03-18 14:46:34 +00:00
path to the cretendtials file inside the container to write your $GCE_CREDENTIALS_JSON to
2019-03-25 21:01:04 +00:00
`MOLECULE_CUSTOM_MODULES_REPO`
2019-03-18 14:46:34 +00: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