You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ABLD-474] Apply COMMON_TAGS and per platform tags in dd_agent_go_binary (#53947)
### What does this PR do?
- Updates dd_agent_go_binary
- takes gotags and adds COMMON_TAGS + fips_tags - platform excluded tags + platform tags
- provides an escape for some binaries that need to exactly specify tags (e.g. systray)
- Applies this to the existing dd_agent_go_binary targets.
- Clean up targets which were doing their own (redundant) setting for some link flags.
- Tidy up the code to group related lines together.
- Adds per/os fips config settings
It's not clear yet if we should also compute cgo based on platform and fips. Let's solve that as part of ABLD-525
### Testing
- CI
- A complete test is blocked on https://datadoghq.atlassian.net/browse/ABLD-525, which will switch the Go compiler used for fips mode. Right now, we get the same output for `bazel build //cmd/dogstatsd:dogstatsd --//packages/agent:flavor=fips` with or without the flavor flag.
Co-authored-by: tony.aiuto <tony.aiuto@datadoghq.com>
0 commit comments