Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

roverdotcom/pipey-make

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

pipey-make

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 image
  • docker-shell - Open a shell inside the pipey container
  • docker-run - Run the pipey task in the docker container
  • docker-test - Run nosetests inside the docker container
  • docker-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

Updating

To upate pipey.Makefile:

  1. update the pipey.Makefile in pipey-make.git repo on Github.
  2. You must tag it with a new version number
  3. To update your pipey job, run make update-tools in your pipey repo.

References

Based on and inspired by: