- Remove
--parallel
flag when pulling images, since this is the default as of Compose v1.21.0
package
will now label the resulting docker image with the git repo if--git-url
or the env varGIT_URL
is present
- BREAKING elsy no longer swallows exit codes. This is a breaking change if
you relied on exit codes always being
1
.
- Fix issue where a docker-compose containing only services using local images would break bootstrapping.
- Add support for a
local_images
config inlc.yml
. Images listed in this sequence will not be pulled duringlc bootstrap
.
Major version change because the exit code semantics around lc bootstrap have changed, it now fails builds if images cannot be pulled.
- Improve
lc bootstrap
image pull logic so that elsy will never attempt to pull the image being packaged by the repo (i.e., thedocker-image-name
config). This means no more confusing error messages about "unable to pull image". - Start failing builds if images could not be pulled, this is now possible because we are no longer attempting to pull the repo's image (see above bullet).
- Begin pulling images in parallel during
lc bootstrap
(requirescompose
1.12.0 or higher). This can be disabled using the flagdisable-parallel-pull
.
- add
resolve-docker-tag
command
lc teardown
will now remove all networks created by the project.
- Added
lc system upgrade
to fetch and install the latest verison of lc from Github.
- Implemented issue #64.
- support for v2 expanded build syntax
- When releasing, it now checks for an existing tag or branch that is the same as the
--version
argument and gives a better explanation of what happened. - Fixed a bug that happened in packaging if the verison of Docker had something like
-rc2
at the end. - Fixed issue #4, which would cause a panic in rare cases during packaging.
- Added the ability to override the image that a template uses by setting
template_image
to the desired image in the project'slc.yml
file.
- Fix
publish
for docker 1.12 (see cisco#25). Note this breaks support for docker 1.9.x and below.
-
If there's no
publish
service and no Dockerfile, then instead of an error when usinglc ci
, it will simply print out an info log message thatpublish
isn't being called. -
sbt template now uses the
paulcichonski/sbt
Docker image. This is not an official Docker image (no official sbt image exists) so users should still override this image with an image they have vetted.
- Added
lc run
to keep from having to typelc dc run
. Any aguments thatlc dc run
takes,lc run
can also take. - Added
lc bbtest
as an alias forlc blackbox-test
.
- Add initial support for Compose v2 syntax when using templates #11
- Update
lc package
to apply the label:com.elsy.metadata.git-commit=<git-commit>
to the Docker image if theGIT_COMMIT
env var is populated. Note that this only works for Docker 1.11.1 and higher. #13
- fixing release issue with 1.2.0 (
./VERSION
) did not get updated.
- remove docker-compose v2 volumes on teardown
- reduce logging noise introduced by d6b9310
- rename
verify-lds
toverify-install
- remove
lc system upgrade
command. This hasn't done anything since 6333e0d. - initial support for compose v2 file formats (lc won't fail if you use a v2 file format without a built-in lc template).
- Fix lc release error message to stop escaping regex.
- (breaking) Remove
lc smoketest
- Hide benign error when docker-compose service uses the primary docker image artifact (now works with docker 1.10)
- Fix bug where
lc package
was not always removing all previous containers created from previous versions of the docker image.
- no-op release to fix issue around v0.16.0 release.
(NEVER RELEASED)
- Stop 'lds-verify' from
bootstrap
,package
andtest
- Fixed bug in
lc release
where it would not allow multi-digit patch numbers.
- Added
-Dmaven.clean.failOnError=false
to themvn
template's defaultclean
service so that runninglc clean
when scratch volumes are enabled won't cause the build to fail. - Deprecated
system upgrade
, since users should upgradelc
when they upgradelds
by runninglds upgrade
. - Update build to use
govendor
to lock in dependencies - Updated
lc package
to cleanup any containers created from previous versions of the docker image.
- After #DumpsterFireApril2016, we felt an offline mode would be useful. So, if the VM
infrastructure ever erupts in flames again, and you have already pulled down the images
that you need for building, then adding
--offline
will make the build work. If you had not already pulled the requisite images, you could build them yourself from their sources, and tag them so that they would be available in your local Docker image cache, and then use the--offline
switch.
- allow custom package service to generate the Dockerfile
- support passing computed docker tag name to the custom publish service
- Added a
clean
command, which will remove old build artifacts.
- Added support for publishing to multiple docker registries #102.
- Added a
lein
command, which facilitates building Clojure projects.
- Added a
make
command, which is intended for building C/C++ projects, which have a Makefile. - Added
list-templates
to thesystem
command, to list all the built-in templates.
lc package
will now run thetest
service, if present, before packaging. If you do not want those tests to be run, runlc package --skip-tests
.
- Added
lc init
command for initializing repos to use lc #95.
- Added usage information to every command.
- Added best practices documentation.
- Added --skip-docker option to
package
- Hid benign error when docker-compose service uses the primary docker image artifact
- Renamed
smoketest
toblackbox-test
. Tests should now go in./blackbox-test
. Existing smoketests are still supported, but thesmoketest
command will be removed at some point.
- Source formatted with
gofmt
. - Now treats non-release tags the same as non-release branches, and should no longer blow up.
- Correctly parses docker-compose version strings that include build info.
lc system upgrade
now requires a--version
flag to telllc
the target upgrade version- reworked
lc system upgrade
to reduce possible errors during the install
- Fix publishing task
- Include version in binary that gets published.
- Include build hash in
lc --version