John Regan
0baa2015ad
default to *not* calling s6-sync (see #244 )
2019-02-04 16:15:35 -06:00
John Regan
e67124e4c5
bump to latest skaware release
2019-02-04 15:34:04 -06:00
John Regan
aa581e1108
Merge pull request #240 from amannocci/master
...
Wait for services before nuke
2019-02-04 16:31:38 -05:00
John Regan
576a0197d1
Merge pull request #237 from raphendyr/patch-1
...
Ignore down service when waiting for them in init stage 2
2019-02-04 16:23:52 -05:00
John Regan
257ace98bb
rebuild with fixed packages
2018-09-09 17:38:31 -04:00
John Regan
00770a4e5b
update to latest skaware packages
2018-09-09 13:37:16 -04:00
amannocci
fe4409df5e
fix: wait for services
...
Signed-off-by: amannocci <adrien.mannocci@gmail.com >
2018-09-08 17:45:34 +02:00
Jaakko Kantojärvi
f200bdeefd
Ignore down service when waiting for them
...
Do not spawn s6-svwait processes for services that are marked `down` as `s6-svscan` will not start them.
2018-06-27 19:06:55 +03:00
John Regan
dbf9253727
bump version, update to latest skaware
2018-03-01 15:56:30 -06:00
John Regan
cfbc8cbc05
bump version
2017-12-19 11:54:12 -06:00
jjlorenzo
cc395e441a
Update init-stage2
...
fix s6-test: fatal: parse error at argument 0
2017-12-12 04:24:02 -05:00
John Regan
aa00281c34
bump version
2017-11-15 11:43:51 -06:00
John Regan
8983527b97
Allow S6_LOGGING=2 to log CMD's output
2017-11-15 11:42:11 -06:00
John Regan
0f7a212ada
Reverts #149 , no longer wraps CMD into a service
...
It seems auto-wrapping a CMD into a service breaks
some expected behavior on Travis, and possibly
other scenarios with virtual tty's.
I think the original reason for wrapping the CMD into
a service was to allow interaction via `s6-svc`, though
I can't imagine that gets too much use.
2017-11-15 11:16:01 -06:00
John Regan
735722d6a5
make sure docker-cmd is in foreground
2017-11-15 10:01:16 -06:00
John Regan
902141d687
version bump to pull in musl-1.1.18
2017-11-02 13:25:55 -05:00
John Regan
6ad7330d76
release 1.21.1.1
2017-10-19 19:05:10 -05:00
John Regan
90fe68111e
save/restore CWD when running CMD, fixes #219
2017-10-19 19:03:43 -05:00
John Regan
509bc414a5
update to skaware 1.21.1
2017-10-19 17:04:49 -05:00
John Regan
807e41e83d
Merge pull request #218 from jlesage/clear-cont-env
...
Before creating container environment, make sure to remove any existing one.
2017-10-19 10:04:02 -05:00
Jocelyn Le Sage
db2fc1635a
Before creating container environment, make sure to remove any existing one.
2017-10-19 08:06:55 -04:00
Jocelyn Le Sage
face55bd28
Fix for issue #216 : Store the docker cmd exit code in the proper variable.
2017-10-19 07:57:31 -04:00
John Regan
33d2b1f96c
docker-cmd: retrieve stdin
2017-10-16 12:15:12 -05:00
John Regan
66f5d2f4c9
merge #149
2017-10-16 11:12:45 -05:00
John Regan
1942dbd3e5
Merge pull request #151 from redbaron/init-PATH
...
Don't forget to export default PATH
2017-10-16 11:01:15 -05:00
John Regan
d003e8d14d
Merge pull request #176 from soulwing/master
...
added S6_READ_ONLY_ROOT; copy instead of link user files
2017-10-16 11:00:59 -05:00
John Regan
2588b7c783
Merge pull request #180 from redbaron/respect-S6_BEHAVIOUR_IF_STAGE2_FAILS
...
Make S6_CMD_WAIT_FOR_SERVICES to respect S6_BEHAVIOUR_IF_STAGE2_FAILS
2017-10-16 10:59:52 -05:00
John Regan
cda603e639
Merge pull request #187 from jimcistaro/master
...
"cmd exited ..." should use init-stage2-redirfd to honor S6_LOGGING.
2017-10-16 10:58:23 -05:00
John Regan
fefbaac646
bump version
2017-10-13 15:56:00 -05:00
John Regan
3d682e1a6b
Merge pull request #186 from jrgensen/master
...
Make stage2 exit code available in stage3
2017-10-13 15:41:17 -05:00
Leandro Kersting de Freitas
cea39add24
Upgrade to SKAWARE_VERSION=1.20.0
2017-08-11 06:38:55 -03:00
Jim Cistaro
d17b33da07
"cmd exited ..." should use init-stage2-redirfd to honor S6_LOGGING.
2017-04-26 18:29:42 -07:00
John Regan
244aa1f8e8
add s6-networking
2017-01-22 09:11:05 -06:00
John Regan
a16b3d747e
add aarch64
2017-01-22 09:07:23 -06:00
John Regan
f4e0f4bd96
add x86
2017-01-22 09:04:04 -06:00
John Regan
3e6b1f4ec6
bump versions, pull in more s6 packages
2017-01-13 16:29:16 -06:00
Klaus Jrgensen
e33f6ef381
Make stage2 exit code available in stage3
2016-10-26 11:20:18 +02:00
Maxim Ivanov
1fd02dc32e
Escape CMD args correctly
2016-09-28 11:49:28 +01:00
Maxim Ivanov
6bc71c50e7
Allows containers to provide default CMD. Minor fixes
2016-09-28 10:37:53 +01:00
Maxim Ivanov
1d05adfeb5
Don't wait for CMD completion in /init
2016-09-28 10:37:53 +01:00
Maxim Ivanov
057d2b7415
Wrap CMD into a s6 service
...
It makes it easier for one to transition to
a fully service based containers, by providing
working example how given CMD can be wrapped into a service.
It also enables nicer interaction with a long running CMD
via `s6-svc` command when `docker exec` is used.
Docker container CMD semantic remains unchanged from
original naked implementation
2016-09-28 10:37:53 +01:00
Maxim Ivanov
ebf36ac033
Make S6_CMD_WAIT_FOR_SERVICES to respect S6_BEHAVIOUR_IF_STAGE2_FAILS
...
Waiting sequentially is only marginally slower than waiting in parallel,
but in return proper exit code can be set and handled, so that failing
services do fail startup procedure
2016-09-27 10:10:10 +01:00
Carl Harris
877492258a
added S6_READ_ONLY_ROOT; copy instead of link user files
2016-09-03 11:16:31 -04:00
Gorka Lerchundi Osa
101ebb58b6
feat: wait for services to be up before CMDing
2016-08-21 14:16:20 +02:00
Gorka Lerchundi Osa
3178ce6e75
refactor: S6_ATTRS_FIX_HIDDEN -> S6_FIX_ATTRS_HIDDEN
...
+ documentation fixes
2016-08-21 14:09:59 +02:00
Janne K
a6d0858048
Add S6_ATTRS_FIX_HIDDEN environment variable
...
Use the environment variable to activate processing of hidden files and
directories by fix-attrs.d scripts.
2016-07-21 13:08:18 +03:00
Janne K
a1a09af280
Fix attributes also for hidden items
...
Fixes issue just-containers/s6-overlay#167
2016-07-18 22:33:28 +03:00
Gorka Lerchundi Osa
076e85a2c7
fix: revert back and don't use /bin in with-contenv
...
it was introduced when a fix for import->importas was provided
2016-06-30 10:49:26 +02:00
John Regan
b0c010af18
Fix for #150
2016-06-22 15:35:20 -05:00
John Regan
6ce5eb5d58
Adding armhf builds
...
Additionally, removing the dbg build - it looks like the only difference
between the builds was the existance of strace, and the download is
returning a 404 error.
2016-06-14 22:37:09 -05:00