lambdacd.steps.git

build-steps that let you work with git repositories

checkout-and-execute

(checkout-and-execute repo-uri revision args ctx steps)

wait-for-git

(wait-for-git ctx repo-uri branch & {:keys [ms-between-polls], :or {ms-between-polls (* 10 1000)}})
step that waits for the head of a branch to change

wait-with-details

(wait-with-details ctx repo branch & opts)

with-commit-details

(with-commit-details ctx repo args)
given :revision and :old-revision (as wait-for-git provides them), enriches
the data with details about the commits between these revisions

with-git

(with-git repo-uri steps)
creates a container-step that checks out a given revision from a repository.
the revision number is passed on as the :revision value in the arguments-map

with-git-branch

(with-git-branch repo-uri repo-branch steps)
creates a container-step that checks out the latest revision from a repository with the
given branch.