Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Bump cats versions #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .buildkite/pipeline.exec.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash

set -o errexit
set -o errtrace
set -o nounset
set -o pipefail

git config --global user.email "[email protected]"
git config --global user.name "Nelson Team"

# subvert the sbt-rig plugin
export TRAVIS="true" # way hacky
export TRAVIS_COMMIT="$BUILDKITE_COMMIT"
export TRAVIS_REPO_SLUG="getnelson/helm"
export TRAVIS_JOB_NUMBER="1.1"
export TRAVIS_BUILD_NUMBER="$BUILDKITE_BUILD_NUMBER"

if [ "${BUILDKITE_PULL_REQUEST:-}" = 'false' ]; then
git checkout -qf "$BUILDKITE_BRANCH";
fi

echo "--> running build for ${TRAVIS_SCALA_VERSION}..."
eval "sbt ++${TRAVIS_SCALA_VERSION} 'release with-defaults'"
7 changes: 7 additions & 0 deletions .buildkite/pipeline.teardown.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

echo "==>> initilizing doctl..."
doctl auth init -t "${DIGITAL_OCEAN_API_TOKEN}"

echo "==>> deleting the droplet..."
doctl compute droplet list | grep -v 'ID' | sort -r -k1 | grep "buildkite-worker" | awk '{print $1}' | xargs -L1 doctl compute droplet delete -f
34 changes: 34 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
steps:
- label: ":hammer: build"
command: .buildkite/pipeline.exec.sh
timeout_in_minutes: 45
branches: master
env:
BUILDKITE_CLEAN_CHECKOUT: true
TRAVIS_SCALA_VERSION: "2.11.12"
TRAVIS_JOB_NUMBER: "1.1"
agents:
os: linux

- label: ":hammer: build"
command: .buildkite/pipeline.exec.sh
timeout_in_minutes: 45
branches: master
env:
BUILDKITE_CLEAN_CHECKOUT: true
TRAVIS_SCALA_VERSION: "2.12.4"
TRAVIS_JOB_NUMBER: "1.2"
agents:
os: linux

- wait: ~
continue_on_failure: true

- label: ":radioactive_sign: teardown"
command: .buildkite/pipeline.teardown.sh
branches: master
env:
- BUILDKITE_CLEAN_CHECKOUT: true
agents:
os: linux
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

![Logo](docs/src/img/logo.png)

[![Build Status](https://travis-ci.org/Verizon/helm.svg?branch=master)](https://travis-ci.org/Verizon/helm)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.verizon.helm/core_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.verizon.helm/core_2.11)
[![codecov](https://codecov.io/gh/Verizon/helm/branch/master/graph/badge.svg)](https://codecov.io/gh/Verizon/helm)
[![Build Status](https://travis-ci.org/getnelson/helm.svg?branch=master)](https://travis-ci.org/getnelson/helm)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.getnelson.helm/core_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.getnelson.helm/core_2.11)
[![codecov](https://codecov.io/gh/getnelson/helm/branch/master/graph/badge.svg)](https://codecov.io/gh/getnelson/helm)

A native [Scala](http://scala-lang.org) client for interacting with [Consul](https://www.consul.io/). There is currently one supported client, which uses [http4s](http://http4s.org) to make HTTP calls to Consul. Alternative implementations could be added with relative ease by providing an additional free interpreter for the `ConsulOp` algebra.

## Getting Started

Add the following to your `build.sbt`:

libraryDependencies += "io.verizon.helm" %% "http4s" % "1.4.78-scalaz-7.1"
libraryDependencies += "io.getnelson.helm" %% "http4s" % "x.y.z"

The *Helm* binaries are located on maven central, so no additional resolvers are needed.
Where `x.y.z` is the desired Helm version. Check for the latest release [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.getnelson.helm%22).

### Algebra

Expand Down
4 changes: 2 additions & 2 deletions core/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

libraryDependencies ++= Seq(
"io.argonaut" %% "argonaut" % "6.2.1",
"org.typelevel" %% "cats-free" % "1.1.0",
"org.typelevel" %% "cats-effect" % "0.10"
"org.typelevel" %% "cats-free" % "1.5.0",
"org.typelevel" %% "cats-effect" % "1.1.0"
)

addCompilerPlugin("org.spire-math" % "kind-projector" % "0.9.5" cross CrossVersion.binary)
3 changes: 1 addition & 2 deletions project.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

organization in Global := "io.verizon.helm"
organization in Global := "io.getnelson.helm"

crossScalaVersions in Global := Seq("2.12.4", "2.11.12")

Expand Down
8 changes: 4 additions & 4 deletions project/CentralRequirementsPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object CentralRequirementsPlugin extends AutoPlugin {
override def requires = RigPlugin

override lazy val projectSettings = Seq(
sonatypeProfileName := "io.verizon",
sonatypeProfileName := "io.getnelson",
pomExtra in Global := {
<developers>
<developer>
Expand All @@ -52,8 +52,8 @@ object CentralRequirementsPlugin extends AutoPlugin {
</developers>
},
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.html")),
homepage := Some(url("http://verizon.github.io/helm/")),
scmInfo := Some(ScmInfo(url("https://github.com/verizon/helm"),
"[email protected]:verizon/helm.git"))
homepage := Some(url("http://getnelson.github.io/helm/")),
scmInfo := Some(ScmInfo(url("https://github.com/getnelson/helm"),
"[email protected]:getnelson/helm.git"))
)
}
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "4.0.0-SNAPSHOT"
version in ThisBuild := "5.0.0-SNAPSHOT"