Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit 15b26fd

Browse files
Merge pull request #3 from grapl-security/cm/enable-cache
Re-enable remote Pants cache; use Vault
2 parents e3c35b3 + 89fd457 commit 15b26fd

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.buildkite/pipeline.verify.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
---
22
env:
33
PANTS_CONFIG_FILES: "['pants.toml', 'pants.ci.toml']"
4+
BUILDKITE_PLUGIN_VAULT_ENV_SECRET_PREFIX: "secret/data/buildkite/env"
45

56
steps:
67
- label: ":lint-roller::bash: Lint Shell"
78
command:
89
- make lint-shell
10+
plugins:
11+
- grapl-security/vault-login#v0.1.0
12+
- grapl-security/vault-env#v0.1.0:
13+
secrets:
14+
- grapl-artifacts-buildkite-plugin/TOOLCHAIN_AUTH_TOKEN
915

1016
- label: ":lint-roller::buildkite: Lint Plugin"
1117
command:
@@ -14,6 +20,11 @@ steps:
1420
- label: ":bash: Unit Tests"
1521
command:
1622
- make test-shell
23+
plugins:
24+
- grapl-security/vault-login#v0.1.0
25+
- grapl-security/vault-env#v0.1.0:
26+
secrets:
27+
- grapl-artifacts-buildkite-plugin/TOOLCHAIN_AUTH_TOKEN
1728

1829
# TODO: Add plugin tests
1930
# - label: ":buildkite: Plugin Tests"

pants.ci.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@ pants_ignore = [
1212
".cache/pants/lmdb_store",
1313
]
1414

15-
# Temporarily disable the remote cache until we can get
16-
# repository-specific tokens into the CI/CD system
17-
# [auth]
18-
# from_env_var = "TOOLCHAIN_AUTH_TOKEN"
15+
[auth]
16+
from_env_var = "TOOLCHAIN_AUTH_TOKEN"

0 commit comments

Comments
 (0)