-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/trace-agent: enable build for aix/ppc64 #6738
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ask for another review once the dependant PR is merged and this one is updated.
d15da55
to
ea1514a
Compare
8ff8979
to
e040826
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Nice job!
It would be nice if we could have CI run at least the integration tests on AIX too. Or, do you think it shouldn't be needed? Regardless, this solution (if we decide it's worthwhile) does not have to be for this PR.
Definitely. We will hopefully be able to automate the CI moving forward. Right now I'm running the unit tests and integration tests manually on an AIX machine. |
bf8802e
to
438340b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but the android build in gitlab is failing on this error, needs to be fixed:
# github.com/DataDog/datadog-agent/pkg/config
/go/src/github.com/DataDog/datadog-agent/pkg/config/config_android.go:35:14: cannot use afs (type AssetFs) as type afero.Fs in argument to config.SetFs:
AssetFs does not implement afero.Fs (missing Chown method)
Probably because type AssetFs
in pkg/config/config_android.go
needs to be updated to reflect the changes in the interface of afero.Fs
introduced by the version update on github.com/spf13/afero
This commit adds support for building the trace-agent binary on AIX 7.2 for Power8 and Power9 architectures. The trace-agent binary is confirmed to run and successfully submit traces to the intake.
@olivielpeau I think we're good now. Can you PTAL? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is green, GTG!
This commit adds support for building the trace-agent binary on AIX 7.2 for
Power8 and Power9 architectures. The trace-agent binary is confirmed to run
and successfully submit traces to the intake.
This PR depends on a PR to our viper fork (DataDog/viper#15). As such, his PR requires a version bump to
github.com/DataDog/viper
once that PR is merged and a new version is tagged.