-
Notifications
You must be signed in to change notification settings - Fork 133
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
RUM-1836 feat(otel-tracer) integrate OpenTelemetrySwiftApi in package managers #1668
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
github "microsoft/plcrashreporter" ~> 1.11.1 | ||
binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/ganeshnj/ci/pod-push/OpenTelemetryApi.json" ~> 1.9.1 | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/ganeshnj/ci/pod-push/OpenTelemetryApi.json" "1.9.1" | ||
github "microsoft/plcrashreporter" "1.11.1" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ all: dependencies templates | |
|
||
# The release version of `dd-sdk-swift-testing` to use for tests instrumentation. | ||
DD_SDK_SWIFT_TESTING_VERSION = 2.3.2 | ||
DD_DISABLE_TEST_INSTRUMENTING = true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. had to disable for the moment backlog RUM-3185 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably worth having a code comment with ticket reference as well There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion/ The |
||
|
||
define DD_SDK_TESTING_XCCONFIG_CI | ||
DD_SDK_TESTING_PATH=$$(DD_SDK_TESTING_OVERRIDE_PATH:default=$$(SRCROOT)/../instrumented-tests/)\n | ||
|
@@ -42,7 +43,7 @@ define DD_SDK_BASE_XCCONFIG_CI | |
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES\n | ||
\n | ||
// If running on CI. This value is injected to some targets through their `Info.plist`:\n | ||
IS_CI = true\n | ||
IS_CI = true\n | ||
\n | ||
// Use iOS 11 deployment target on CI as long as we use Xcode 14.x for integration\n | ||
IPHONEOS_DEPLOYMENT_TARGET=11.0\n | ||
|
@@ -70,15 +71,15 @@ ifeq (${ci}, true) | |
@echo $$DD_SDK_BASE_XCCONFIG_CI >> xcconfigs/Base.local.xcconfig; | ||
@echo $$DD_SDK_DATADOG_XCCONFIG_CI > xcconfigs/Datadog.local.xcconfig; | ||
ifndef DD_DISABLE_TEST_INSTRUMENTING | ||
@echo $$DD_SDK_TESTING_XCCONFIG_CI > xcconfigs/DatadogSDKTesting.local.xcconfig; | ||
@echo $$DD_SDK_TESTING_XCCONFIG_CI > xcconfigs/DatadogSDKTesting.local.xcconfig; | ||
@rm -rf instrumented-tests/DatadogSDKTesting.xcframework | ||
@rm -rf instrumented-tests/DatadogSDKTesting.zip | ||
@rm -rf instrumented-tests/LICENSE | ||
@gh release download ${DD_SDK_SWIFT_TESTING_VERSION} -D instrumented-tests -R https://github.com/DataDog/dd-sdk-swift-testing -p "DatadogSDKTesting.zip" | ||
@unzip -q instrumented-tests/DatadogSDKTesting.zip -d instrumented-tests | ||
@[ -e "instrumented-tests/DatadogSDKTesting.xcframework" ] && echo "DatadogSDKTesting.xcframework - OK" || { echo "DatadogSDKTesting.xcframework - missing"; exit 1; } | ||
endif | ||
|
||
endif | ||
|
||
# Prepare project on GitLab CI (this will replace `make dependencies` once we're fully on GitLab). | ||
|
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.
this will be changed to main branch once we have the changes merged.