Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Change circle config slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
mfedderly committed Nov 23, 2019
1 parent eb5073f commit a9a9d38
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@ workflows:
version: 2
primary:
jobs:
- build:
- build
- publish:
requires:
- build
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
only:
- master
- /release\/[0-9].*/

defaults: &defaults
docker:
- image: docker.palantir.build/circle2-build-images/ubuntu-jdk-npm:0.29.0
environment:
TERM: "dumb"
NVM_NODEJS_ORG_MIRROR: "https://artifactory.palantir.build/artifactory/external-dist-nodejs"
TERM: 'dumb'
NVM_NODEJS_ORG_MIRROR: 'https://artifactory.palantir.build/artifactory/external-dist-nodejs'

jobs:
build:
Expand All @@ -37,6 +40,19 @@ jobs:
command: yarn test
no_output_timeout: 10m

- persist_to_workspace:
root: ..
# Must be relative path from root
paths:
- project
- .gradle/caches

publish:
<<: *defaults
steps:
- attach_workspace:
at: ..

# get publish permissions set up
- run:
command: |
Expand Down

0 comments on commit a9a9d38

Please sign in to comment.