Commit Graph
16 Commits
Author SHA1 Message Date
David Evans b0effbcfd9 Make Swift 5.2 the minimum requirement (#1860)
Make Swift 5.2 the minimum requirement, dropping support for Swift 5.0 and 5.1.

Motivation:

Whenever we have problems, Swift 5.0 and 5.1 seem to be the culprits. Dropping support for these very old versions will require less maintenance and free up our time to work on new features.

Modifications:

Set the tools version in Package.swift to 5.2
Remove CI configurations for 5.0 and 5.1
Update the various readmes to reflect that this change will be rolled out in NIO 2.30.0
Result:

Swift 5.2 is the minimum version of Swift required to use NIO.
2021-06-18 21:02:41 +01:00
Johannes Weissandtomer doron 8f531c3e02 Swift 5.4 docker setup (#1750)
Co-authored-by: tomer doron <tomer@apple.com>
2021-02-19 09:42:27 +00:00
tomer doron d9d4918333 remove symbolicate-linux-fatal from Docker (#1670)
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 13:16:12 +01:00
Cory Benfield e7880565aa We use main as our development branch now. (#1651) 2020-09-24 18:02:44 +01:00
Peter Adams 3cfb3f1d6e Don't install Jazzy on Xenial (#1597)
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.
2020-07-21 17:52:23 +01:00
tomer doron 03f21c251a fix docker setup for development snapshots (#1357)
motivation: test against 5.2 development snapshots

changes:
* update Dockerfile so that a custom base image can be selected
* update 5.2 docker-compose file to use the nighly docker images for 5.2
2020-01-25 09:37:21 +00:00
tomer doron f548a29a27 swift 5.1 docker setup (#1146)
motivation: support swift 5.1 release

changes:
* update docker file to use official docker images
* update swift 5.0 and swift 5.1 docker-compose setup to use the official docker images
2019-09-24 12:38:39 -07:00
tomer doron eeac3d51d9 add swift-api-digester docker setup (#1067)
motivation: prepare to run swift-api-digester in ci

changes:
* add jq to docker setup
* remove redundant ruby setting from docker file
2019-07-16 17:48:40 -07:00
tomer doron 94c2bc4d25 add support for swift 5.0 (#679)
Motivation: enable tests against swift 5.0

Modifications:
* add a docker-compose file for ubuntu 18.04 and swift 5.0-DEVELOPMENT-SNAPSHOT-2018-12-04-a
* update Dockerfile to correctly handle development builds

Result:
* you can now test against swift 5.0 with docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.1804.50.yaml run test
2018-12-06 14:25:02 -08:00
Johannes Weiss 89603d6244 add Ubuntu 18.04 and Swift 4.2 support (#604)
Motivation:

We should support the latest and greatest.

Modifications:

- add Ubuntu 18.04 support (packages exist for Swift 4.2 only)
- add Swift 4.2 support (for Ubuntu 14.04, 16.04 and 18.04)

Result:

- supporting the latest stuff
2018-09-07 14:54:23 -07:00
tomer doron 8914a5536e extend docker setup to multiple version of ubuntu and swift (#357)
Motivation: easier testing across different permutations of os and language versions

Modifications:

* update dockerfile to take both swift_version adn ubuntu_version
* update default linux version to 16.04
* create multiple docker-compose files that use arguments to define os and swift versions
* make docker-compose file DRYer with yaml anchors

Result: users/ci can easily run tests across various versions of ubuntu and swift
2018-05-01 08:56:39 +01:00
Tiago Martinho 8e98d84076 Set Swift version to 4.0.3 in Docker configuration (#89)
Motivation:
In order to target the latest version of Swift and address this issue https://github.com/apple/swift-nio/issues/83

Modifications:
Set the Swift version to the latest (4.0.3)

Result:
Uniform version of Swift across the Ubuntu Docker image and a passing
test suite on all target platforms
2018-03-12 18:47:46 +09:00
Norman Maurer c8d1980207 Cleanup DockerFile to eliminate warnings (#121)
Motivation:

When building our docker image a lot of warnings showed up.

Modification:

- Ensure we not try to start services on installation
- Redirect STDERR
- Remove some commented lines

Result:

Less warnings during building the docker image.
2018-03-11 22:53:08 +09:00
Stuart Hinson c583298096 Download curl from https endpoint (#116) 2018-03-09 02:03:00 +09:00
tomer doron 9652984b60 prepare ci scripts (#32)
Motivation:

set up continuous integration

Modifications:

* update docker file to include all dependencies required for build, unit tests, integration tests and doc generation
* remove dependency steps from doc generation script
* add integration tests driver script

Result:

able to set up docker based continuous integration
2018-02-26 11:27:53 +00:00
Max (Swift) Moiseev 8d4eb477ed Xenial and compose
* Docker work

- New image based on xenial.
- Simplified workflow with docker-compose
- Update the readme with docker-compose section
- Move docker related stuff to a dedicated folder

* Add a gen-cert.sh to the container image

* Document certificate generation and how to test all sample servers
2017-11-09 21:34:51 -08:00