Commit Graph
16 Commits
Author SHA1 Message Date
tomer doron f6c02f7b46 only install jazzy on latest ubuntu versions (#108)
motivation: jazzy no longer works on older version of ubuntu as ruby is too old

changes: update docker to only install jazzy on latest ubuntu versions
2021-09-01 22:45:00 -07:00
tomer doron b00bee04fd add 5.5 ci (#105)
motivation: test with 5.5

changes: add 5.5. docker-compose and pin jazzy version
2021-08-19 14:45:13 -07:00
tomer doron ad8631e430 update 5.4 to release docker image (#98)
motivation: 5.4 is out!

changes: use release docker images instead of nightly
2021-05-06 17:57:32 -07:00
tomer doron 727db6c591 Update docker-compose.2004.main.yaml (#97)
motivation: fix nightly docker setup

changes: fix typo
2021-05-06 17:42:24 -07:00
tomer doron faa9f17905 expose the underlying lifecycle for composition reasons (#70)
motivation: application frameworks thae use ServiceLifecycle may need to expose their underlying  lifecycle so they can be also composed into larger systems

changes:
* expose ServiceLifecycle::underlying
* make sure backtrace installer is only called once per process
* add swift-atomics dependency (>=5.2 and above)
* add atomic helper (<5.2)
2021-03-13 11:20:42 -08:00
tomer doron 1e2fa84316 add 5.4 and nightly ci jobs (#82)
motivation: prepare for 5.4 and test against nightlies

changes:
* add docker compose setup for 5.4 and nightly testing
2021-03-11 10:34:53 +09:00
tomer doron 19e0ab6b43 use welcoming language (#79) 2021-02-09 11:03:05 -08:00
tomer doron a7932002e9 remove symbolicate-linux-fatal from Docker (#76)
motivation: we are not actually using symbolicate-linux-fatal in any meaningful way in CI and it's pinned to the master branch which has been removed

changes: remove symbolicate-linux-fatal fetching from Docker
2020-10-08 09:14:17 +09:00
tomer doron adb39391ff Swift 5.3 was released, use if for CI (#74)
motivation: Swift 5.3 was released, use if for CI

changes: update docker setup to use the release version of 5.3
2020-09-20 19:00:40 -07:00
tomer doron c8e99520d7 setup shutdown hooks on ServiceLifecycle::startAndWait (#69)
motivation: fix startAndWait to work as advertised

changes:
* extract shutdown setup to a func and call it from both start and startAndWait
* add test
* fix api doc
* fixi jazzy xenial issue (fixes ci)
2020-08-08 20:27:20 -07:00
tomer doron daef88b82a prepare to open source (#47)
motivation: cleanup naming and collatoral in preperation to open sourcing the library

changes:
* rename "bootstrap" to "lifecycle"
* contributors list
2020-07-15 14:57:44 -07:00
tomer doron 0e2d952871 update readme to reflect updated API (#37)
motivation: keep readme in sync with code

changes:
* update readme to latest API + add nesting section
* update leftover renaming issues
2020-04-09 22:30:14 -07:00
tomer doron a22bf0b3be refactor towards 1.0 (#34)
motivation: finalize naming and API towards 1.0

changes:
* rename package to swift-service-boostrap
* rename modules to Lifecycle and LifecycleNIOCompat
* create top level namespace named Lifecycle
* rename LifecycleItem to LifecycleTask, with Lifecycle.Task typealias
* define top-level type called ServiceLifecycle where signal handling and backtraces are handled
* rename Lifecycle to ComponentLifecycle and conform it to Lifecycle.Task so that lifecycles can be nested
* change shutdown to return an error to better conform with Lifecycle.Task api
* improve logging
* improve API docs
* adjust tests
2020-04-09 21:15:22 -07:00
tomer doron 35ea48e628 update ci setup (#24)
motivation: 5.2 adoption, prepare for 5.3

changes:
* use 5.2 release in docker-compose setup
* add 5.3 docker-compose setup (placeholder)
* format
2020-04-03 19:51:07 -07:00
tomer doron ed61383431 formatting (#5)
motivation: align format versioning

changes:
* set explicit target language version to the lowest supported swift version
* update swiftformat version
2020-03-20 12:45:06 -07:00
Tom Doron 1abe527c92 initial commit 2020-03-18 11:56:30 -07:00