From: https://github.com/apple/swift-nio-extras/pull/141
Motivation:
The combination of Ruby and Jazzy are throwing up issues in CI on older
Ubuntu versions.
Modifications:
- Only install Jazzy on focal
- Fix doc generation script to use more recent source-kitten syntax
Results:
- CI doesn't complain
- Docs get built
Motivation:
Ruby on Xenial is too old for the cocoapods downloader which jazzy uses.
Modifications:
Change Dockerfile to not install Jazzy on xenial.
Result:
Dockerfile will build again, but bionic or later is required for docs.
* swift 5.1 docker setup
motivation: support swift 5.1
changes:
* add docker compose file for swift 5.1, will add CI job once merged
* update swiftformat version to 0.40.12
* use more standard dockerfile setup
* 16.04
motivation: now that swift has official docker images, use them instead of the homebrewed one
changes: refactor docker file to use swift:version instead of ubuntu:version
motivation: publish API docs
changes:
* amend docker file to include jazzy
* add doc generation script based on what we have in swift-nio and swift-log
Motivation:
When we get around to it we should aim for our example server to pass
h2spec with flying colours. We aren't there yet, but it's helpful to
be able to run h2spec easily.
Modifications:
Add a docker-compose recipe for running h2spec.
Result:
It'll be easier to run h2spec.
motivation: support swift 4.2 and 5.0
changes:
* add docker-compose variants for 18.04/4.2 and 18.04/5.0
* update Dockerfile to more correctly handle swift distro urls
* update Dockerfile to more correctly handle curl
* drop redundant ubuntu prefix