Skip to content

Commit d6209bf

Browse files
chore(ci): remove Go agent build artifacts and variables
Delete compile_go_agent.sh and Go agent Dockerfiles which are no longer needed since the extension was rewritten in Rust. Remove the now-orphaned AGENT_BRANCH and AGENT_VERSION pipeline input variables from .gitlab-ci.yml.
1 parent de0e7a0 commit d6209bf

File tree

6 files changed

+5
-285
lines changed

6 files changed

+5
-285
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ variables:
55
# This will be overwritten by the tag version if it is a release.
66
VERSION: dev
77
# Manual trigger variables
8-
AGENT_BRANCH:
9-
description: "Branch of the datadog-agent repository to use."
10-
value: main
11-
AGENT_VERSION:
12-
description: "Latest release version of the datadog-agent to tag the build with."
13-
value: "7.66.0"
148
PIPELINE_LAYER_SUFFIX:
159
description: "Suffix to be appended to the layer name (default empty)."
1610
value: ""

.gitlab/scripts/compile_go_agent.sh

Lines changed: 0 additions & 116 deletions
This file was deleted.

bottlecap/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bottlecap/src/lifecycle/invocation/processor.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,10 @@ impl Processor {
285285
/// This is used to create a cold start span, since this telemetry event does not
286286
/// provide a `request_id`, we try to guess which invocation is the cold start.
287287
pub fn on_platform_init_start(&mut self, time: DateTime<Utc>, runtime_version: Option<String>) {
288-
if runtime_version.as_deref().map_or(false, |rv| rv.contains("DurableFunction")) {
288+
if runtime_version
289+
.as_deref()
290+
.is_some_and(|rv| rv.contains("DurableFunction"))
291+
{
289292
self.enhanced_metrics.set_durable_function_tag();
290293
}
291294
let start_time: i64 = SystemTime::from(time)

images/Dockerfile.go_agent.alpine.compile

Lines changed: 0 additions & 80 deletions
This file was deleted.

images/Dockerfile.go_agent.compile

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)