-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add jenkins-slave-ansible-stacks #16
Conversation
@jkupferer attempted to run through the PR and ran into a few issues:
Also, do we want to set default environment variables? Defining them within a BuildConfig as is done currently should overwrite the default value? |
Previously the Dockerfile exclusively relied upon the template to set values for ANSIBLE_YUM_REPO, ANSIBLE_STACKS_SOURCE_REPOSITORY_URL, and ANSIBLE_STACKS_SOURCE_REPOSITORY_REF
Fix missing closing curly bracket. Add creation of local playbook.
Fixed up the missing closing curly. |
lgtm |
What is this PR About?
This pull request adds a jenkins slave image for using ansible-stacks from a jenkins slave. This came out of work with a recent engagement where we provisioned projects and resources in OpenShift.
How do we test this?
See the README.md for instantiating the template to build the image. For example:
Next run the image in Jenkins with sample code to test. The jenkins service account will need self-provisioner role for the given example to succeed.