-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
428 additions
and
587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Required: local settings | ||
local: | ||
root_dir : <%= ENV['TRAVIS_BUILD_DIR'] %> | ||
|
||
# Required: deployment targets | ||
targets: | ||
- type : "bintray" | ||
user : <%= ENV['BINTRAY_SNOWPLOW_GENERIC_USER'] %> | ||
password : <%= ENV['BINTRAY_SNOWPLOW_GENERIC_API_KEY'] %> | ||
|
||
# Required: packages to be deployed | ||
packages: | ||
- repo : "snowplow-generic" | ||
name : "kinesis-s3" | ||
user_org : "snowplow" | ||
publish : true | ||
|
||
# Will attempt to overwrite a published entity if one is found | ||
override : false | ||
|
||
# If the artifact already exists will determine whether or not to fail the release | ||
continue_on_conflict : false | ||
|
||
# The version of this package | ||
version : <%= ENV['TRAVIS_TAG'] %> | ||
|
||
# Required IF '--check-version' is passed: will assert that both versions are the same | ||
build_version : <%= FUNC['sbt_version(.)'] %> | ||
|
||
build_commands: | ||
- sbt assembly | ||
|
||
# Required: Artifact | ||
artifacts: | ||
# The artifact name is composed like so: {{prefix}}{{version}}{{suffix}}.zip | ||
- prefix : "kinesis_s3_" | ||
suffix : "" | ||
type : "zip" | ||
|
||
# The binaries to put in the zip | ||
binary_paths: | ||
- target/scala-2.11/snowplow-kinesis-s3-<%= ENV['TRAVIS_TAG'] %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
language: scala | ||
scala: | ||
- 2.10.1 | ||
- 2.11.11 | ||
jdk: | ||
- oraclejdk7 | ||
- oraclejdk8 | ||
|
||
before_script: | ||
- echo yes | sudo apt-get install lzop liblzo2-dev | ||
- sudo apt-get install -y lzop liblzo2-dev | ||
|
||
before_deploy: pip install --user release-manager==0.2.0 | ||
deploy: | ||
- provider: script | ||
script: release-manager --config .release.yml --make-artifact --upload-artifact --check-version | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
|
||
env: | ||
global: | ||
- secure: hJTWoOYgFMNaTZZ8gpIVl+SZQS5INschfkUUReuGXAzifaXTvT8J5a/aGryJqEOh/zMEOhKRZn136aHzMMnMDxoOkO4uSXnHnhi61DZHsbaZ51g0YvIjnJyS49ad+IKoIFJlcTKAMjvd+HK3TOHkkcWA/cc7EJWYbYwPEu3xfpkick6Y2+oQd3LYANS4wmTcVYMYKF08teQW3w0XqErHrxb7prIz7lEF8uC9BHHmUYfGEvdVLmphpsP/jJBPB+TB5IRwarEyEBaITEcVL/qeDRM3FxhErY6JI9omT6QRevO9dHx2mfpQFITCjeRf9IjJBiSr7fGVGUusxJSRqg1gMbGyImwUX4a13PaV0ACL1OUHCC3hQa3Rmoh0ObQBJ37rBvkyNKuEjJmt2bX7BMC5Ck7duJFNJhGqWiFpHyZV4MM8oYn+29OcJ7Ju03Qr6MXt04+iD3CjctHI9cbCe4mYuYJcyFYi847PaLicNqDg3Cj2Q2m8KzE9guBSY2PCUvxxFLR0LGFhXXtQYg2LxrAn8pnBE5QNVr6LQ9aoeQLYUscBCjMFyVNpciRLt/IPvzZRGL3vKiKwgJqxaV7CE1LXoTbIUTwCB8jnsqlSOPJbJQCciHA31GlFKz/m7kRRkI8G0Geie7leWjM6G7Pfr3aKXKpTw7HkN9F87AYJ47/YcFU= | ||
- secure: LdhTiGwDK5BivJ+/j4CLCMNGSkWN4WiTQRGGrFf2L7wSI2fdOtZTQUcKVCZolvyd6V296BLbPYxgoXs1hdDCQb/jyoQCiWDC54XuJun4gGiKko04ZY7/UCUDQ2oo6995+UcKlvQKhqL9mvGT6stuBIUefB/r+/dQhwR+L9ehFlAiOXDFEzRh3BYgIZDnbJbMvjRptzqz/d88iC7un9e+wf+F8qyObjwJ+7RrL6rddvXg1HUyv0Kt8Yv16uSlFJPuY3fyTqDmiGbm2bYqM7cUVGRokTUOwqwtBhW/uJ071r6SlTxpTNzTJARRV2KvIT+cMvNJflvFZLOL7A55fKfpTDxWCsXcbKu3D842lppqlGH4O+GM5G3+fArSnjHmFhVRwhNMsHlGG/brXHerhCPGb2+hkIaIg/sopWP+OoEWZvlRUihv9nOLTCCZy4F45dz/B38XRM9vXZscw1nX5uu/f4LvRtOIsinOHpOCFWtxloh8qWGarcvj0Q6Ix4f/rb4L/ZIN5PthZJVEswchSK9Ee4b6Pt0EIsM2gEPjdQ5RXvYb0IWRVxbgJH7ljtk+WxHDfr67gvLAzrD2X2bKQCp+mJ3xGdiH+Ddu1r8Pb/Z6g4icFAxBWQYaSuw2etvNNGcH+Y77R7Q+Q5Hbp8omXXBj243uje/zZpNwlEeoaVbOms4= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* Copyright (c) 2014-2017 Snowplow Analytics Ltd. All rights reserved. | ||
* | ||
* This program is licensed to you under the Apache License Version 2.0, | ||
* and you may not use this file except in compliance with the Apache License Version 2.0. | ||
* You may obtain a copy of the Apache License Version 2.0 at | ||
* http://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the Apache License Version 2.0 is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the Apache License Version 2.0 for the specific language governing permissions and | ||
* limitations there under. | ||
*/ | ||
lazy val root = project.in(file(".")) | ||
.settings( | ||
name := "snowplow-kinesis-s3", | ||
version := "0.5.0", | ||
description := "Kinesis sink for S3" | ||
) | ||
.settings(BuildSettings.buildSettings) | ||
.settings(BuildSettings.sbtAssemblySettings) | ||
.settings( | ||
libraryDependencies ++= Seq( | ||
// Java | ||
Dependencies.Libraries.kinesisClient, | ||
Dependencies.Libraries.kinesisConnector, | ||
Dependencies.Libraries.slf4j, | ||
Dependencies.Libraries.hadoop, | ||
Dependencies.Libraries.elephantbird, | ||
Dependencies.Libraries.hadoopLZO, | ||
Dependencies.Libraries.jodaTime, | ||
// Scala | ||
Dependencies.Libraries.scopt, | ||
Dependencies.Libraries.config, | ||
Dependencies.Libraries.scalaz7, | ||
Dependencies.Libraries.json4sJackson, | ||
Dependencies.Libraries.snowplowTracker, | ||
// Scala (test only) | ||
Dependencies.Libraries.specs2, | ||
// Thrift (test only) | ||
Dependencies.Libraries.collectorPayload | ||
) | ||
) | ||
|
||
shellPrompt := { _ => "kinesis-s3> " } |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.