* sigs.k8s.io/controller-runtime/pkg/runtime/* packages are deprecated, and were moved to new paths.
Trying to upgrade sigs.k8s.io/controller-runtime to version v0.7.0 in HCO created a conflict because in v0.7.0 the deprecated packages were removed and cannot be used.
This PR replaces the deprecated packages with their new paths.
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
* Run `make deps-update`
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
* fix logger init
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
* fix test loggers
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
* update k8s deps to 1.18.6 and controller runtime to 0.6.2
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* remove building code generators from docker image. This way the k8s ligray version only has to be updated in go.mod
Do more stuff in the bazel container. Faster and better interop
Fix unit tests
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* make format
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* remove unnecessary rsync
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* redo code generator dep management
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* builder uses go modules
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
qcow2)
Fixed 'unexpected EOF' when reading test output (use io.Copy instead of ioutil.ReadAll), Test that input and output byte slices contain the same data
Extracted slice vars from loop
Fixed CreateTarXz/Gz funcs with correct calls (currently unimplemented)
Moved datastream tests to separate directory in prep for container work
Distinguish tests with build tags (unit v functional)
Add make recipe to functional test compilation, image build, and run
Improved Makefile output
Converted gz in-mem test to file read test, paremeterized importer Dockerfile to enable use as
test env, added build-args to Makefile for binary specific options.
Added xz test, condenced BeforeEach into It block (looping over BeforeEach causes unwanted behaviours)
Abstracted compression to single function, removed FileExt type (back to
strings), added tar test
Support nested format, add extention to convert function map
create base file with name provided in test table, no constant
added qcow2 conversion (broken: decompressed file is bigger than
original)
Extracted some setup to helper, add .tar.xz test