# This is part of the OCEAN project.# MCA stands for Metadata Collect Agent# https://lab.nexedi.com/nexedi/metadata-collect-agent[buildout]extends = ../../component/fluentbit-plugin-wendelin/buildout.cfg ../../component/mca/buildout.cfgparts = fluentbit-plugin-wendelin mca[golang1.17]# Using "./make.bash" instead of "./all.bash" disables golang tests. Some of these tests attempt to use the network, which fails on OBS' VM.# A less radical way to fix the issue may be investigated in the future.make-targets = cd src && unset GOBIN && ./make.bash && cp -alf .. ${:location}post-install = ${findutils:location}/bin/find ${:location}/src -type d -name testdata -exec rm -rf {} \; || true# This line relocates the golang cached modules directory so that the modules are sent to OBS along with the code to compile. ${:location}/bin/go env -w GOPATH=${buildout:directory}/go