Jenkins agent
- By Andrew Liaw
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 6 | 18 Jan 2023 | |
latest/edge | 10 | 27 Apr 2023 |
juju deploy jenkins-agent-k8s
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
For any problems with this charm, please report bugs here.
The code for this charm can be downloaded as follows:
git clone https://git.launchpad.net/charm-k8s-jenkins-agent
To run tests, simply run make test
from within the charm code directory.
Testing the docker image
Deploy Jenkins locally per the section above, including setting the relevant variables,
then build the image locally as follows:
make build-image
docker run --rm -ti --name jenkins-agent-test \
-e JENKINS_API_USER=admin \
-e JENKINS_API_TOKEN="${JENKINS_API_TOKEN}" \
-e JENKINS_URL="http://${JENKINS_IP}:8080" \
-e JENKINS_HOSTNAME="jenkins-agent-test" "jenkins-agent-k8s:devel"
Help us improve this documentation
Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.