mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
daff1b4abc
This commit combines a few changes to the build. Namely: 1. The travis build no longer works off a dirty working copy. The .dockerignore file was excluding the docs directory which caused the working copy to become dirty during the build process. While this isn't a huge issue it does make it harder to be confident about the state of the source that Travis binaries are built from. As part of this change, we remove the builder image in favour of running the golang image and volume mounting the working copy. This is avoids the copy that is quite expensive in the OPA repo. 2. In the recent build refactoring, the wasm development workflow was broken. Changes to the wasm library were not getting picked up automatically when running the wasm/rego tests. This commit fixes the makefile so that the wasm libary is rebuilt and the wasm blob is copied and regenerated each time the wasm/rego tests are run. Finally, this commit leans into modules a bit more removing the scheduler test dependency on GOPATH. Signed-off-by: Torin Sandall <torinsandall@gmail.com>
27 lines
245 B
Plaintext
27 lines
245 B
Plaintext
# development environment
|
|
.DS_Store
|
|
.vscode
|
|
.idea
|
|
*~
|
|
|
|
# build artifacts
|
|
coverage
|
|
opa_*
|
|
.Dockerfile_*
|
|
_release
|
|
wasm/_obj
|
|
_test
|
|
site.tar.gz
|
|
policy.wasm
|
|
.npm
|
|
.gitbook
|
|
.go
|
|
|
|
# ci artifacts
|
|
fuzzit
|
|
ast-fuzzer
|
|
ast-fuzzer.a
|
|
|
|
# runtime artifacts
|
|
policies
|