summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Cleanup all open filesDjordje Lukic2019-10-28
| | | | | | If the fd is not closed the cleanup will fail on windows. Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
* Format image size as decimal to be align with Docker CLIGuillaume Lours2019-10-18
| | | | Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
* Fix acceptance testsNicolas De Loof2019-10-16
| | | | | | | tty is now (correclty) reported to have 80 columns, which split service ID in two lines Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
* Add test to verify same file 'extends' optimizationAleksandr Mezin2019-10-09
| | | | Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
* Fix secret missing warningulyssessouza2019-09-27
| | | | Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
* Add tests to 'get_secret' warningsUlysses Souza2019-09-09
| | | | Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* Merge pull request #6862 from deathtracktor/masterSilvin Lubecki2019-09-06
|\ | | | | Fix KeyError when remote network labels are None.
| * Prevent KeyError when remote network labels are None.Danil Kister2019-09-05
| | | | | | | | Signed-off-by: Danil Kister <danil.kister@gmail.com>
* | Fix race condition on watch_eventsUlysses Souza2019-09-04
| | | | | | | | | | | | | | | | Avoid to attach to restarting containers and ignore race conditions when trying to attach to already dead containers Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Rename envvar switch to COMPOSE_DOCKER_CLI_BUILDUlysses Souza2019-08-30
| | | | | | | | | | | | From `COMPOSE_NATIVE_BUILDER` to `COMPOSE_DOCKER_CLI_BUILD` Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Add integration tests to native builderUlysses Souza2019-08-29
|/ | | | Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* update alpine version to 3.10.1aiordache2019-08-20
| | | | Signed-off-by: aiordache <anca.iordache@docker.com>
* Add integration tests regarding environmentUlysses Souza2019-07-31
| | | | | | This covers what was included in #6800 Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* Merge pull request #6813 from ulyssessouza/fix_stdin_openSilvin Lubecki2019-07-24
|\ | | | | Fix stdin_open when running docker-compose run
| * Fix stdin_open when running docker-compose runUlysses Souza2019-07-22
| | | | | | | | | | | | | | This fix makes sure that stdin_open specified in the service is considering when shelling out to the CLI Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Pin test images on a non rolling tagUlysses Souza2019-07-18
|/ | | | | | Mainly busybox:latest to the current latest which is 1.31.0-uclibc Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* Merge pull request #6738 from Inconnu08/set-optimizationDjordje Lukic2019-07-15
|\ | | | | Replace sets with set literal syntax for efficiency
| * Replace sets with set literal syntax for efficiencyInconnu082019-06-02
| | | | | | | | Signed-off-by: Taufiq Rahman <taufiqrx8@gmail.com>
| * replace sets with set literal syntax for efficiencyInconnu082019-06-01
| | | | | | | | Signed-off-by: Taufiq Rahman <taufiqrx8@gmail.com>
| * replace sets with set literal syntax for efficiencyInconnu082019-05-31
| | | | | | | | Signed-off-by: Taufiq Rahman <taufiqrx8@gmail.com>
* | Merge pull request #6754 from Goryudyuma/6740-fix-displayDjordje Lukic2019-07-15
|\ \ | | | | | | fix: The correct number is displayed
| * | add: test for unitsGoryudyuma2019-07-14
| | | | | | | | | | | | Signed-off-by: Kei Matsumoto <umaretekyoumade@gmail.com>
| * | fix: Add testKei Matsumoto2019-07-14
| | | | | | | | | | | | Signed-off-by: Kei Matsumoto <umaretekyoumade@gmail.com>
* | | Merge pull request #6720 from ijc/pass-env-to-docker-cliUlysses Souza2019-07-12
|\ \ \ | |/ / |/| | Pass environment when calling through to docker cli.
| * | Pass environment when calling through to docker cli.Ian Campbell2019-05-23
| |/ | | | | | | | | | | | | | | | | | | | | | | This ensures that settings from any `.env` file (such as `DOCKER_HOST`) are passed on to the cli. Unit tests are adjusted for the new parameter and a new case is added to ensure it is propagated as expected. Fixes: 6661 Signed-off-by: Ian Campbell <ijc@docker.com>
* / Pin busybox image version in testsUlysses Souza2019-07-02
|/ | | | Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* Merge pull request #6342 from collin5/b5547Ian Campbell2019-05-20
|\ | | | | --remove-orphans is ignored when using up --no-start
| * remove stopped containers on --remove-orphansCollins Abitekaniza2019-01-25
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com> kill orphan containers, catch APIError Exception Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com> test remove orphans with --no-start Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
* | Merge pull request #6695 from Inconnu08/fix_depreciationUlysses Souza2019-05-20
|\ \ | | | | | | fixes warn method is deprecated
| * | fix warning method is deprecated with testsInconnu082019-05-15
| | | | | | | | | | | | Signed-off-by: Taufiq Rahman <taufiqrx8@gmail.com>
* | | Remove remaining containers on test_build_runUlysses Souza2019-05-14
|/ / | | | | | | Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Avoid race condition on testUlysses Souza2019-04-19
| | | | | | | | Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Workaround race conditions on testsUlysses Souza2019-04-17
| | | | | | | | Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Merge pull request #6592 from treatwell/6589-depends_on-recreation-fixIan Campbell2019-03-26
|\ \ | | | | | | Fixed depends_on recreation behaviour for issue #6589
| * | Fixed depends_on recreation behaviour for issue #6589joeweoj2019-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously any containers which did *not* have any links were always recreated. In order to fix depends_on and preserve expected links recreation behaviour, we now only use the ConvergenceStrategy.always recreation strategy for a service if any of the the following conditions are true: * --always-recreate-deps flag provided * service container is stopped * service defines links but the container does not have any * container has links but the service definition does not Signed-off-by: joeweoj <joewardell@gmail.com>
* | | Merge pull request #6494 from collin5/b6464Ian Campbell2019-03-25
|\ \ \ | |/ / |/| | Only pull images that can't build `docker-compose pull`
| * | only pull images that can't buildCollins Abitekaniza2019-03-24
| | | | | | | | | | | | Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
* | | Remove project.stop() in testHenke Adolfsson2019-03-08
| | | | | | | | | | | | Signed-off-by: Henke Adolfsson <catears13@gmail.com>
* | | Update data for unit testsHenke Adolfsson2019-03-08
| | | | | | | | | | | | Signed-off-by: Henke Adolfsson <catears13@gmail.com>
* | | Ensure test passesHenke Adolfsson2019-03-08
| | | | | | | | | | | | Signed-off-by: Henke Adolfsson <catears13@gmail.com>
* | | Add test and implementation for secret added after container has been createdHenke Adolfsson2019-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | The issue is that if a secret is added to the compose file, then it will not notice that containers have diverged since last run, because secrets are not part of the config_hash, which determines if the configuration of a service is the same or not. Signed-off-by: Henke Adolfsson <catears13@gmail.com>
* | | Merge pull request #6547 from kudos/bugfix/scale-zero-defaultIan Campbell2019-03-07
|\ \ \ | | | | | | | | Fix scale attribute to accept 0 as a value
| * | | Add tests for compose file 'scale: 0'Jonathan Cremin2019-03-06
| | | | | | | | | | | | | | | | Signed-off-by: Jonathan Cremin <jonathan@crem.in>
* | | | Added test case to verify fix for #6525Michael Irwin2019-03-07
| | | | | | | | | | | | | | | | Signed-off-by: Michael Irwin <mikesir87@gmail.com>
* | | | Merge pull request #6542 from akshitgrover/6028-Add_Quiet_BuildsIan Campbell2019-03-05
|\ \ \ \ | |/ / / |/| | | Add --quiet build flag
| * | | Add --quiet build flagAkshit Grover2019-03-02
| | | | | | | | | | | | | | | | Signed-off-by: Akshit Grover <akshit.grover2016@gmail.com>
* | | | adds --no-interpolate to docker-compose configPeter Nagy (NPE)2019-03-04
|/ / / | | | | | | | | | Signed-off-by: Peter Nagy <pnagy@gratex.com>
* | | Added additional argument (--env-file) for docker-compose to import ↵slowr2019-02-26
| | | | | | | | | | | | | | | | | | environment variables from a given PATH. Signed-off-by: Dimitrios Mavrommatis <jim.mavrommatis@gmail.com>
* | | Fix Project#build_container_operation_with_timeout_func not to mutate a ↵tuttieee2019-02-25
| | | | | | | | | | | | | | | | | | 'option' dict over multiple containers Signed-off-by: Yuichiro Tsuchiya <t.yic.yt@gmail.com>
* | | Add --no-rm to command buildUlysses Souza2019-02-20
|/ / | | | | | | | | | | | | - When present, build does not remove intermediate containers after a successful build. Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>