forked from ceason/rules_terraform
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bazelrc
22 lines (18 loc) · 803 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Upload images locally by default, but remotely when publishing
build --define S3_BUCKET=cool-nginx-test-bucket
build --define IMAGE_REGISTRY=registry.kube-system.svc.cluster.local:80
run:publish --define IMAGE_REGISTRY=index.docker.io/netchris
run:publish --stamp=yes
test --test_output=errors
test --test_verbose_timeout_warnings
# pass through provider-relevant vars for terraform_integration_tests
test --test_env=KUBECONFIG
test --test_env=AWS_PROFILE
test --test_env=AWS_DEFAULT_REGION
test --test_env=AWS_ACCESS_KEY_ID
test --test_env=AWS_SECRET_ACCESS_KEY
# necessary for `aws-okta` authentication
test --test_env=AWS_OKTA_BACKEND
test --test_env=DBUS_SESSION_BUS_ADDRESS
# allow users to set (or override) flags in this '.gitignore'd file
try-import %workspace%/.bazelrc-local