Base repo for pipey makefile. Pipey makefile is shared via copy to all pipey jobs. It exposes a standard set of Makefile targets:
docker-build
- Build the docker imagedocker-shell
- Open a shell inside the pipey containerdocker-run
- Run the pipey task in the docker containerdocker-test
- Run nosetests inside the docker containerdocker-harness
- Run nosetests with an SSH tunnel inside the docker container
It requires that pipey job makefiles define a PKG_NAME variable and include the pipey.Makefile which is copied
into the repo root. An example from pipey-example
:
include pipey.Makefile
PKG_NAME = 290268990387.dkr.ecr.us-west-2.amazonaws.com/pipey/pipey-example:latest
To upate pipey.Makefile:
- update the pipey.Makefile in
pipey-make.git
repo on Github. - You must tag it with a new version number
- To update your pipey job, run
make update-tools
in your pipey repo.
Based on and inspired by: