Skip to content

ottenwbe/jenkins-ansible-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jenkins-ansible-agent

A docker ssh agent for Jenkins that allows you to run ansible scripts. The image is automatically updated by Github Actions.

Docker Images

Images are hosted on Docker Hub and can be used with the Jenkins Docker Plugin.

docker pull ottenwbe/jenkins-ansible-agent

Build

Local Build

Use the Makefile to build the Docker image locally.

make docker

GitHub Actions

Github Action Workflows are are configured to

  1. automatically update the docker build configuration, i.e., versions.sh with the latest ansible version (see update_ansible.yml)

  2. automatically test the update script for the docker configuration (see ci_update_app.yml)

  3. create and publish the docker images (see docker_image.yml)

    1. It will automatically create a docker tag based on the git branch/tag:

      git branch/tag docker tag
      master testing
      feature/* testing
      production <sem-ver-tag> + latest

Vesion Update

To automatically update the ansible version we provide a small python script. This script is executed as part of the Ansible Version Update workflow.

python3 scripts/update/update.py 

License

MIT License

As with all Docker images, these likely also contain other software which may be under other licenses.