mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Remove OTLP support.
This commit is contained in:
@@ -416,39 +416,9 @@ private_lane :config_secrets do
|
||||
maplibre_api_key = ENV["MAPLIBRE_API_KEY"]
|
||||
UI.user_error!("Invalid Map Libre API key.") unless !maplibre_api_key.to_s.empty?
|
||||
|
||||
otlp_tracing_url = ENV["OTLP_TRACING_URL"]
|
||||
UI.user_error!("Invalid OTLP tracing URL.") unless !otlp_tracing_url.to_s.empty?
|
||||
|
||||
otlp_tracing_username = ENV["OTLP_TRACING_USERNAME"]
|
||||
UI.user_error!("Invalid OTLP tracing username.") unless !otlp_tracing_username.to_s.empty?
|
||||
|
||||
otlp_tracing_password = ENV["OTLP_TRACING_PASSWORD"]
|
||||
UI.user_error!("Invalid OTLP tracing password.") unless !otlp_tracing_password.to_s.empty?
|
||||
|
||||
set_xcconfig_value(
|
||||
path: './ElementX/SupportingFiles/secrets.xcconfig',
|
||||
name: 'MAPLIBRE_API_KEY',
|
||||
value: maplibre_api_key
|
||||
)
|
||||
|
||||
# URLs need special treatment to work properly in xcconfig files
|
||||
# https://stackoverflow.com/a/36297483/730924
|
||||
# i.e. make sure to use https:/$()/ in the scheme in the stored secret
|
||||
set_xcconfig_value(
|
||||
path: './ElementX/SupportingFiles/secrets.xcconfig',
|
||||
name: 'OTLP_TRACING_URL',
|
||||
value: otlp_tracing_url
|
||||
)
|
||||
|
||||
set_xcconfig_value(
|
||||
path: './ElementX/SupportingFiles/secrets.xcconfig',
|
||||
name: 'OTLP_TRACING_USERNAME',
|
||||
value: otlp_tracing_username
|
||||
)
|
||||
|
||||
set_xcconfig_value(
|
||||
path: './ElementX/SupportingFiles/secrets.xcconfig',
|
||||
name: 'OTLP_TRACING_PASSWORD',
|
||||
value: otlp_tracing_password
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user