Contributing to the project is simple. Just do the following:
-
Be nice :)
-
If you are not sure about something (e.g. if something is a bug, on how to solve it, if a feature makes sense etc.), before starting to work on it, create an issue for it, so that we can discuss beforehand - maybe saving your time.
-
Fork the repo, do your changes, create a PR.
-
Make sure the build succeeds. Do the changes from after the review if needed.
That's it.
-
To make a release of
pv-migrate
itself, run the following command:task release
-
To make a release of docker images, use their special tag prefixes, followed by the version. Example:
git tag -a "docker-sshd-1.0.0" -m "Docker Sshd Image Release 1.0.0" git tag -a "docker-rsync-1.0.0" -m "Docker Rsync Image Release 1.0.0" git push push --tags
These will result in the Docker images with the following tags being pushed:
docker.io/utkuozdemir/pv-migrate-sshd:1.0.0 docker.io/utkuozdemir/pv-migrate-rsync:1.0.0
The pv-migrate
helm chart is located at helm/pv-migrate
. It is inserted into the go code during build.
The source is a helm package located in migrator/helm-chart.tgz
.
If you want to tweak the helm chart, you must run the following command before recompiling the code in order to update the chart (you need helm and helm-docs installed):
task update-chart