| 1 |
#!/usr/bin/make -f |
| 2 |
export DH_VERBOSE = 1 |
| 3 |
|
| 4 |
# Set to 1.24 accroding to version from go.mod |
| 5 |
export DEB_GOMINCOMPAT = 1.24 |
| 6 |
|
| 7 |
export DH_GOLANG_INSTALL_EXTRA := \ |
| 8 |
service/internal/zpages/templates \ |
| 9 |
confmap/internal/e2e \ |
| 10 |
confmap/provider/internal \ |
| 11 |
internal/e2e \ |
| 12 |
service/internal/builders/builders_test \ |
| 13 |
config/confighttp \ |
| 14 |
connector/forwardconnector \ |
| 15 |
exporter/debugexporter \ |
| 16 |
exporter/nopexporter \ |
| 17 |
exporter/otlpexporter \ |
| 18 |
exporter/otlphttpexporter \ |
| 19 |
extension/memorylimiterextension \ |
| 20 |
extension/zpagesextension \ |
| 21 |
internal/e2e \ |
| 22 |
otelcol \ |
| 23 |
pdata/internal \ |
| 24 |
pdata/pprofile \ |
| 25 |
pdata/pprofile/pprofileotlp \ |
| 26 |
processor/batchprocessor \ |
| 27 |
processor/memorylimiterprocessor \ |
| 28 |
receiver/nopreceiver \ |
| 29 |
receiver/otlpreceiver \ |
| 30 |
service/telemetry/otelconftelemetry |
| 31 |
|
| 32 |
export DH_GOLANG_EXCLUDES := \ |
| 33 |
cmd \ |
| 34 |
|
| 35 |
|
| 36 |
%: |
| 37 |
dh $@ --builddirectory=_build --buildsystem=golang |
| 38 |
|
| 39 |
execute_before_dh_auto_configure: |
| 40 |
rm pdata/internal/.gitignore |
| 41 |
|
| 42 |
override_dh_auto_test: |
| 43 |
# Disable tests with YAML mismatch, missing runtime metrics, wireType conflicts, and TLS verification failures. |
| 44 |
dh_auto_test -- -short -skip="\ |
| 45 |
TestUnmarshalConfig/config_verbosity_typo.yaml|\ |
| 46 |
TestMetricStability/Metric_readers|\ |
| 47 |
TestUnmarshalUnknownTopLevel|\ |
| 48 |
TestServiceUnmarshalError/invalid-service-section|\ |
| 49 |
TestMarshalAndUnmarshalProtoViaProtobuf|\ |
| 50 |
TestProfilesProtoWireCompatibility|\ |
| 51 |
TestTelemetryMetrics_DefaultViews|\ |
| 52 |
" |