2019-06-11 14:55:53 +00:00
|
|
|
---
|
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
references:
|
|
|
|
images:
|
2019-10-17 19:48:45 +00:00
|
|
|
node: &NODE_IMAGE node:10-buster # Pin Node.js to major version (ex: 10)
|
2019-06-11 14:55:53 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
go-sum: &GO_SUM_CACHE_KEY go-sum-v1-{{ checksum "go.sum" }}
|
2019-11-06 13:15:06 +00:00
|
|
|
yarn-lock: &YARN_LOCK_CACHE_KEY yarn-lock-v6-{{ checksum "ui/yarn.lock" }}
|
2019-06-11 14:55:53 +00:00
|
|
|
|
|
|
|
# more commands defined in commands/
|
|
|
|
commands:
|
|
|
|
restore_yarn_cache:
|
|
|
|
steps:
|
|
|
|
- restore_cache:
|
|
|
|
key: *YARN_LOCK_CACHE_KEY
|
|
|
|
save_yarn_cache:
|
|
|
|
steps:
|
|
|
|
- save_cache:
|
|
|
|
key: *YARN_LOCK_CACHE_KEY
|
|
|
|
paths:
|
|
|
|
- ui/node_modules
|
|
|
|
|
|
|
|
executors:
|
|
|
|
go-machine:
|
|
|
|
machine: true
|
2019-11-06 13:15:06 +00:00
|
|
|
shell: /usr/bin/env bash -euo pipefail -c
|
2019-06-11 14:55:53 +00:00
|
|
|
environment:
|
2019-11-06 13:15:06 +00:00
|
|
|
GO111MODULE: "off"
|
2019-06-11 14:55:53 +00:00
|
|
|
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
|
2020-08-10 11:57:21 +00:00
|
|
|
GO_VERSION: 1.14.7 # Pin Go to patch version (ex: 1.2.3)
|
2020-07-21 17:18:17 +00:00
|
|
|
GOTESTSUM_VERSION: 0.5.2 # Pin gotestsum to patch version (ex: 1.2.3)
|
2019-11-06 13:15:06 +00:00
|
|
|
GO_TAGS: ""
|
|
|
|
working_directory: /go/src/github.com/hashicorp/vault
|
2019-06-11 14:55:53 +00:00
|
|
|
node:
|
|
|
|
docker:
|
|
|
|
- image: *NODE_IMAGE
|
2020-01-15 17:53:18 +00:00
|
|
|
environment:
|
|
|
|
JOBS: 2
|
2019-07-24 13:13:41 +00:00
|
|
|
shell: /usr/bin/env bash -euo pipefail -c
|
2019-11-06 13:15:06 +00:00
|
|
|
working_directory: /go/src/github.com/hashicorp/vault
|
|
|
|
python:
|
|
|
|
docker:
|
|
|
|
- image: python:3-alpine
|
|
|
|
shell: /usr/bin/env bash -euo pipefail -c
|
|
|
|
working_directory: /go/src/github.com/hashicorp/vault
|
|
|
|
alpine:
|
|
|
|
docker:
|
|
|
|
- image: alpine:3.10.2
|
|
|
|
shell: /bin/sh
|
|
|
|
working_directory: /go/src/github.com/hashicorp/vault
|