This changelog contains a loose collection of changes in every release. I will also try and document all breaking changes to the API.
The format is based on Keep a Changelog and this project adheres to a "shifted" version of semantic versioning while the major version remains at 0: Minor version changes indicate breaking changes, patch version changes should not contain breaking changes.
-
The
:ssh :identity-file
configuration can now load any file as an identity file.Prior to this change it would only load
id_rsa
,id_dsa
andidentity
in~/.ssh
. -
Support for Clojure 1.9
- Requires LambdaCD 0.13.5 that no longer depends on insecure repositories to work in newer Leiningen versions (see flosell/lambdacd#171)
- Added configuration option for
StrictHostKeyChecking
. Overrides the default in~/.ssh/config
-
Consolidated configuration (e.g. timeouts, ssh options, ...): lambdacd-git can now be configured through LambdaCDs config map and configuration can be overridden per call using function arguments.
Configuration (e.g. timeouts) that were previously only possible for some functions are now available throughout. SSH config that could previously only be defined for the whole JVM can now be configured per pipeline (through the config map) and even per step (through function parameters).
Using the config map and
init-ssh!
at the same time will result in runtime errors so make sure you migrate configuration and remove calls toinit-ssh!.
See README for details
-
Breaking changes in utility namespace
lambdacd-git.git
: Removed keyword arguments and replaced them with an optional options-map in the following functions:lambdacd-git.git/current-revisions
lambdacd-git.git/clone-repo
lambdacd-git.git/push
lambdacd-git.core/init-ssh!
has been replaced by config via config-map (see above) and will be removed in future releases.lambdacd-git.ssh/session-factory [jsch-customizer-fns]
now also receivessession-customizer-fns
; the single argument function will be removed in future releases
- The following deprected functions have been removed:
lambdacd-git.ssh-agent-support/session-factory
lambdacd-git.ssh-agent-support/initialize-ssh-agent-support!
- Support authentication with HTTPS using JGits
CredentialsProvider
. See README for details
- Fixed NullPointerException in case no
known_hosts
file exists (#21)
- Adds compatibility with LambdaCD versions 0.12.0 and greater. Incompatible with versions earlier than 0.9.1. (#19)
- Add support for git tag and push. Use case is to tag a deployed version to a commit. Push pushes all new tags and commits to a given repository. (Thanks to @rohte)
- Allow setting of a specific identity file (#12). Use case is to select the desired account from multiple GitHub accounts that have differing private repo membership. (Thanks to @markdingram)
- Fixed bug in error handling in
wait-for-git
(#15) (Thanks to @ImmoStanke)
- Allow specifying a timeout when cloning a repository
- Made step-killing behavior of
wait-for-git
independent of polling frequency (#10) - Supporting known hosts files other than
~/.ssh/known_hosts
(e.g./etc/ssh/ssh_known_hosts
). (#9)
lambdcd-git/ssh-agent-support/initialize-ssh-agent-support!
is deprecated and will be removed in subsequent releases. It is being replaced withlambdacd-git.core/init-ssh!
- Added a way to notify
wait-for-git
through HTTP POST requests (#6)
- Initial Release