Build the OCI image:
cd jenkins_rock
rockcraft pack
cd ..
Push the OCI image to microk8s:
rockcraft.skopeo --insecure-policy copy --dest-tls-verify=false oci-archive:jenkins_rock/jenkins_1.0_amd64.rock docker://localhost:32000/jenkins:1.0
Deploy the charm:
charmcraft pack
juju deploy ./jenkins-k8s-operator_ubuntu-22.04-amd64.charm --resource jenkins-image=localhost:32000/jenkins:1.0
Run the following command:
echo -e "tox -e src-docs\ngit add src-docs\n" > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit