Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 547 Bytes

CONTRIBUTING.md

File metadata and controls

30 lines (21 loc) · 547 Bytes

Contributing

Build the OCI image:

docker build -t wordpress:test -f wordpress.Dockerfile .

Push the OCI image to microk8s:

sudo docker push localhost:32000/wordpress:test

Deploy the charm:

charmcraft pack
juju deploy ./wordpress-k8s_ubuntu-22.04-amd64.charm \
    --resource jenkins-image=localhost:32000/wordpress:test

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