16 Commits
Author SHA1 Message Date
tomer doron 0499d739b4 improve docker security (#178)
motivation: more secured ci setup

changes:
* enable :z selinux flag on bind mounts so we can enable selinux on ci
* drop potentially exploitable capabilities from docker-compose
2020-02-01 07:39:32 +00:00
Cory Benfield b015dcbe87 Add regression limits for allocation tests. (#160)
Motivation:

We missed these out, which means we failed to detect the massive
allocation win in #159.

Modifications:

Correctly add allocation limits.

Result:

We'll know if we regress.
2019-12-04 17:06:24 +00:00
tomer doron e5c7a18a91 add harness for performance tests (#156)
motivation: run performance tests 🎉

changes: add performance-test task in docker-compose setup, add script to analyze performance results to be used in CI
2019-12-02 09:20:11 +00:00
Cory Benfield f2ac69d154 Add regression test for executable stacks. (#152)
Motivation:

We want the CI to make sure we don't accidentally regress the executable
stack property of the binary.

Modifications:

Run execstack against our build output in the integration tests.

Result:

We shouldn't regress the executable stacks.
2019-11-26 09:50:39 +00:00
Johannes Weiss c277611ec3 enable TSan in CI (#145) 2019-10-25 01:28:55 -07:00
tomer doron 0ec8dcf248 api breakage detection (#138)
motivation: test for api breakage on PR

changes:

* add script to detect api breakage
* amend docker setup to include jq
* amend docker-compose setup to include a shell utility task
2019-10-07 15:00:16 -07:00
tomer doron 71aa686d58 swift 5.1 docker setup (#133)
* swift 5.1 docker setup

motivation: support swift 5.1

changes:
* use formal swift docker images
* refactor docker-compose to seperate unit tests, integration tests and full test suites
* add docker compose file for swift 5.1, will add CI job once merged
* update swiftformat version to 0.40.12
2019-09-24 20:51:18 +01:00
Johannes Weiss a5839aa4e6 run integration tests in CI (#114) 2019-06-27 15:12:47 +01:00
tomer doron 47d971e136 add doc generation script (#91)
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
2019-03-27 08:38:30 +00:00
Johannes Weiss 769e8cbcfc use Swift 5.0 release (#90) 2019-03-26 11:20:36 +00:00
Cory Benfield 5995ce5eac Remove the static target from regular Package.swift. (#85)
Motivation:

We have a static library target that is used as part of the BoringSSL
vendoring setup to generate a list of hidden symbols. This works nicely,
but building it fires out a bunch of warnings due to files with no symbols
in them. That's fine during the build phase, but most developers should
never need to see it.

Modifications:

- Hide the static archive product most of the time.
- Update vendor script to un-hide the static archive product on vendoring.
- Enable warnings-as-errors.

Result:

Fewer warnings.
2019-03-13 16:34:56 +00:00
Cory Benfield 73c83809d6 Update Swift 5 version for CI (#67) 2019-02-20 12:54:36 +00:00
Cory Benfield 99501be40c Update the Swift 5 CI version. (#66)
Motivation:

The older Swift 5 we're using in CI breaks on our Package.swift. This
rather limits the utility of our CI.

Modifications:

Use a newer Swift 5 snapshot.

Result:

CI will actually work.
2019-01-25 11:39:24 +00:00
tomer doron 495ca1bf0f add docker compose setup for swift 5
motivation: move development to swift 5

changes:
* add docker compose file for swift 5
* adjust dockerfile to support how swift 5 is distributed
2019-01-22 14:30:31 -08:00
tomer doron 953b73818f add support for muliple build architectures and swift versions with docker compose (#33)
motivation: easier testing on different architectures and swift versions

changes:
* update dockerfile to match more closely what we do in swift-nio, including support for extenral versions of ubuntu and swift
* add docker-compose files representing different permutations of ubuntu and swift versions
2018-09-10 09:23:04 +01:00
tomer doron c73f4180ce prepare ci scripts (#7)
Motivation:

set up continuous integration

Modifications:

add docker file to include all dependencies required for build and tests

Result:

able to set up docker based continuous integration
2018-02-26 18:25:54 -08:00