Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Circleci 2.0 (#75)
Browse files Browse the repository at this point in the history
* Migrate CircleCI config to 2.0 format
* build/release with out golang-private
  • Loading branch information
nickatsegment authored Aug 31, 2018
1 parent 4588af2 commit 41223b9
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 50 deletions.
42 changes: 42 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.10
working_directory: /go/src/github.com/segmentio/aws-okta
steps:
- checkout
- run:
name: Build
command: |
make govendor dist
- persist_to_workspace:
root: .
paths: ['dist/*']

release:
docker:
- image: circleci/golang:1.10
working_directory: /go/src/github.com/segmentio/aws-okta
steps:
- checkout
- attach_workspace: { at: . }
- run:
name: Release
# TODO: cache from build step
command: |
make release
workflows:
version: 2
test-deploy:
jobs:
- build
- release:
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*/
50 changes: 0 additions & 50 deletions circle.yml

This file was deleted.

0 comments on commit 41223b9

Please sign in to comment.