c332e578fc
* Upgrade CircleCI machine image * setting the path for ci-verify * create GOPATH/bin This is because CI failed with cp: cannot create regular file '/home/circleci/go/bin/': Not a directory * Update .circleci/config/jobs/pre-flight-checks.yml Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com> * updating config.yml * source BASH_ENV Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
51 lines
1.9 KiB
YAML
51 lines
1.9 KiB
YAML
go-machine:
|
|
machine:
|
|
image: ubuntu-2004:202201-02
|
|
shell: /usr/bin/env bash -euo pipefail -c
|
|
environment:
|
|
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
|
|
GO_VERSION: 1.17.9 # Pin Go to patch version (ex: 1.2.3)
|
|
GOTESTSUM_VERSION: 0.5.2 # Pin gotestsum to patch version (ex: 1.2.3)
|
|
GOFUMPT_VERSION: 0.2.1 # Pin gofumpt to patch version (ex: 1.2.3)
|
|
GO_TAGS: ""
|
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
|
node:
|
|
docker:
|
|
- image: docker.mirror.hashicorp.services/node:14-buster
|
|
shell: /usr/bin/env bash -euo pipefail -c
|
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
|
python:
|
|
docker:
|
|
- image: docker.mirror.hashicorp.services/python:3-alpine
|
|
shell: /usr/bin/env bash -euo pipefail -c
|
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
|
alpine:
|
|
docker:
|
|
- image: docker.mirror.hashicorp.services/alpine:3.13
|
|
shell: /bin/sh
|
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
|
docker-env-go-test-remote-docker:
|
|
resource_class: medium
|
|
docker:
|
|
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.9"
|
|
environment:
|
|
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
|
|
GO_TAGS: ""
|
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
|
docker-env-go-test:
|
|
resource_class: large
|
|
docker:
|
|
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.9"
|
|
environment:
|
|
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
|
|
GO_TAGS: ""
|
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
|
docker-env-go-test-race:
|
|
resource_class: xlarge
|
|
docker:
|
|
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.9"
|
|
environment:
|
|
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
|
|
GO_TAGS: ""
|
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|