Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 626 Bytes

CONTRIBUTING.md

File metadata and controls

31 lines (22 loc) · 626 Bytes

Contributing

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

Generating src docs for every commit

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