This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate CircleCI config to 2.0 format * build/release with out golang-private
- Loading branch information
1 parent
4588af2
commit 41223b9
Showing
2 changed files
with
42 additions
and
50 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 @@ | ||
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]+)*/ |
This file was deleted.
Oops, something went wrong.