Paweł Niedzielski
53fb97196f
fix: fix mapping ipv6-based port mappings
2021-05-11 21:49:00 +02:00
Paweł Niedzielski
6dec0c6bb6
fix: fix mapping ipv6-based port mappings
2021-05-11 21:49:00 +02:00
Paweł Niedzielski
21b63cbc53
fix: fix mapping ipv6-based port mappings
2021-05-11 21:49:00 +02:00
Paweł Niedzielski
48c9f0841a
fix: fix mapping ipv6-based port mappings
2021-05-11 21:49:00 +02:00
Paweł Niedzielski
e7013dfab1
fix: fix mapping ipv6-based port mappings
2021-05-11 21:49:00 +02:00
Alexander Zeitler
2b089ff660
refactor: rename test to match tested function
2021-04-14 16:17:03 +02:00
Alexander Zeitler
880d2522b5
feat: make result for ps command type safe
2021-04-14 16:17:03 +02:00
Alexander Zeitler
ed91eba770
fix: filter empty entries from config --services command
2021-04-14 16:17:03 +02:00
Alexander Zeitler
51b20b43d6
feat: make result for config --volumes command type safe
2021-04-14 16:17:03 +02:00
Alexander Zeitler
6f105ca160
feat: make result for config --services command type safe
2021-04-14 16:17:03 +02:00
Alexander Zeitler
a2f5a4ec0e
feat: make result for config command type safe
2021-04-14 16:17:03 +02:00
Alexander Zeitler
a7da0380a8
feat: make result for version command type safe
2021-04-14 16:17:03 +02:00
Alexander Zeitler
90421b7eb2
refactor: rename result to data
2021-04-14 16:17:03 +02:00
Alexander Zeitler
70a98f473b
feat: make result for port command type safe
2021-04-14 16:17:03 +02:00
Alexander Zeitler
bf8210ae9b
style: fix lint errors
2021-04-10 23:25:54 +02:00
Alexander Zeitler
46cb725156
style: run prettier
2021-04-10 23:25:54 +02:00
Alexander Zeitler
c9abc11ffc
chore(style): remove dead / commented code
2021-04-10 21:38:12 +02:00
Alexander Zeitler
afb2b1116b
fix(test): fix broken tests
...
Some tests failed because the used `alpine` service did start non-blocking which caused the container to stop immediately. Assertions expecting the container to run then failed.
The new structure is to use two blocking `nginx` images which serve a scenario of web and proxy.
For the `--abort-on-container-exit` flag tests a third - non-blocking by intend - service based on the `hello-world` image has been added.
2021-04-10 21:38:12 +02:00
Alexander Zeitler
af6d77b308
test: fix broken tests
2021-04-10 17:00:37 +02:00
Alexander Zeitler
c74fc36909
style: set return type
...
Co-authored-by: Paweł Niedzielski <pawel.tadeusz.niedzielski@gmail.com>
2021-01-06 17:08:14 +01:00
Gabriel
f1c2c7e8c1
chore: include description of configAsString in the readme
2021-01-06 17:08:14 +01:00
Gabriel
e8c14d318c
feat: allow to pass docker compose configuration as string
2021-01-06 17:08:14 +01:00
Paweł Niedzielski
3a68db75e3
feat: allow passing service names to rm function
2020-04-24 01:09:13 +02:00
lancerutkin
c4ed7ed2de
fix: reset jest set timeout to original value
2020-03-06 11:44:39 +01:00
lancerutkin
e85af8c092
feat: add ability to pass --abort-on-container-exit flag to up methods
2020-03-06 11:44:39 +01:00
Will O'Beirne
db73df9b0f
Add a version function
2019-10-25 16:35:44 -04:00
Paweł Niedzielski
98dc30de0f
Add pullOne, pullMany and pullAll methods
2019-08-30 14:05:12 +02:00
Nacho González
3cea146b6e
Add stopOne command
2019-08-15 08:59:55 +02:00
Paweł Niedzielski
afc95c16f1
Migrate to Typescript
...
Removed Tape dev dependencies
Add Eslint plugin for Typescript
2019-07-14 03:13:14 +02:00
Paweł Niedzielski
5cc5ced99f
Fix tests
...
Always `down` containers after test
Fix workdir test failing on CircleCI
See: https://support.circleci.com/hc/en-us/articles/360007324514-How-can-I-mount-volumes-to-docker-containers-
2019-07-13 13:49:30 +02:00
Eduardo Weiland
1aefb96986
Fix linting
2019-07-09 15:46:16 -03:00
Eduardo Weiland
5bd54c3049
Allow passing an array as command to run and exec
2019-07-09 15:41:13 -03:00
Jannis Pohlmann
134752cb80
Add test for returning the correct exit code
2019-04-29 15:25:16 +02:00
Paweł Niedzielski
761ac0b094
Use same docker image versions for tests
...
Fixes #61
2019-04-28 23:58:47 +02:00
Paweł Niedzielski
fdcffa6057
Add config command & related
2019-04-17 14:13:17 +02:00
Lars Kumbier
cb10f66295
Add port command
2019-04-11 12:10:45 +02:00
Alexander Zeitler
61c904e1d1
fix broken "ensure run and exec are working" test
2019-04-06 16:16:12 +02:00
Alexander Zeitler
f7fa8b1c47
fix issue 42 by splitting compose options and command options
2019-03-26 23:24:54 +01:00
Alexander Zeitler
d3a2455055
add support to pass docker-compose command options
2019-03-20 03:20:04 +01:00
Alexander Zeitler
2b117d216e
implement logs command including support for --follow flag
2019-02-03 20:15:17 +01:00
Alexander Zeitler
5ecc699f90
fix assert: alpine finishes after start/restart
2019-01-30 09:48:54 +01:00
Alexander Zeitler
186e04741d
implement restart command
2019-01-30 09:42:00 +01:00
falinsky
894f10281c
Provide ability to run docker-compose ps command
2019-01-15 17:03:30 +02:00
Rafał Siwiec
348c6cfcb3
More detailed up methods
...
`upAll`, `upMany` and `upOne` methods were introduced.
2018-09-24 07:30:25 +02:00
zaucy
dc38a6f52f
Changed build function names, fixed execCompose which was not resolving its promise, fixed issue with run/exec with the spawn change
2018-06-28 19:25:42 -07:00
zaucy
0d92b75922
docker-compose build support #11
2018-06-27 22:24:54 -07:00
Ignatiev Mikhail
4d7fac4b2a
exec and run implementation
2018-06-16 16:42:43 +03:00
Ignatiev Mikhail
8889412840
custom ymls support + tests, eslint aid for tests
2018-06-16 13:00:24 +03:00
Unknown
4fae99d8e4
implement up, down, stop, kill, rm
2017-06-10 23:58:22 +02:00