Make target for cleaning CRDs used for test
This commit is contained in:
parent
6dea89456b
commit
9328b2c284
3
Makefile
3
Makefile
|
|
@ -22,6 +22,9 @@ all: manager
|
|||
# Running the tests requires the source.toolkit.fluxcd.io CRDs
|
||||
test_deps: ${TEST_CRDS}/imagepolicies.yaml ${TEST_CRDS}/gitrepositories.yaml
|
||||
|
||||
clean_test_deps:
|
||||
rm -r ${TEST_CRDS}
|
||||
|
||||
${TEST_CRDS}/gitrepositories.yaml:
|
||||
mkdir -p ${TEST_CRDS}
|
||||
curl -s https://raw.githubusercontent.com/fluxcd/source-controller/${TOOLKIT_VERSION}/config/crd/bases/source.toolkit.fluxcd.io_gitrepositories.yaml \
|
||||
|
|
|
|||
Loading…
Reference in New Issue