Skip to content

Commit 47a7bd6

Browse files
committed
Remove migratecheckpoint command
The migratecheckpoint command is no longer needed following the deprecation of the fluentd sidecar in the helm chart.
1 parent 2339b2c commit 47a7bd6

File tree

15 files changed

+19
-784
lines changed

15 files changed

+19
-784
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: breaking
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. crosslink)
5+
component: migratecheckpoint
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: Remove `migratecheckpoint` command following fluentd sidecar deprecation
9+
10+
# One or more tracking issues related to the change
11+
issues: [6881]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext:

.gitlab-ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,9 @@ compile:
381381
fi
382382
after_script:
383383
- if [ -e bin/otelcol ]; then rm -f bin/otelcol; fi # remove the symlink
384-
- if [ -e bin/migratecheckpoint ]; then rm -f bin/migratecheckpoint; fi # remove the symlink
385384
artifacts:
386385
paths:
387386
- bin/otelcol_*
388-
- bin/migratecheckpoint_*
389387

390388
otelcol-fips:
391389
image: '${DOCKER_CICD_REPO}/ci-container/golang-1.24:4.0.0'

Makefile

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,6 @@ else
266266
$(LINK_CMD) otelcol_$(GOOS)_$(GOARCH)$(EXTENSION) ./bin/otelcol$(EXTENSION)
267267
endif
268268

269-
.PHONY: migratecheckpoint
270-
migratecheckpoint:
271-
go generate ./...
272-
GO111MODULE=on CGO_ENABLED=0 go build -trimpath -o ./bin/migratecheckpoint_$(GOOS)_$(GOARCH)$(EXTENSION) $(BUILD_INFO) ./cmd/migratecheckpoint
273-
ifeq ($(OS), Windows_NT)
274-
$(LINK_CMD) .\bin\migratecheckpoint$(EXTENSION) .\bin\migratecheckpoint_$(GOOS)_$(GOARCH)$(EXTENSION)
275-
else
276-
$(LINK_CMD) migratecheckpoint_$(GOOS)_$(GOARCH)$(EXTENSION) ./bin/migratecheckpoint$(EXTENSION)
277-
endif
278269

279270
.PHONY: add-tag
280271
add-tag:
@@ -298,32 +289,26 @@ binaries-all-sys: binaries-darwin_amd64 binaries-darwin_arm64 binaries-linux_amd
298289
.PHONY: binaries-darwin_amd64
299290
binaries-darwin_amd64:
300291
GOOS=darwin GOARCH=amd64 $(MAKE) otelcol
301-
GOOS=darwin GOARCH=amd64 $(MAKE) migratecheckpoint
302292

303293
.PHONY: binaries-darwin_arm64
304294
binaries-darwin_arm64:
305295
GOOS=darwin GOARCH=arm64 $(MAKE) otelcol
306-
GOOS=darwin GOARCH=arm64 $(MAKE) migratecheckpoint
307296

308297
.PHONY: binaries-linux_amd64
309298
binaries-linux_amd64:
310299
GOOS=linux GOARCH=amd64 $(MAKE) otelcol
311-
GOOS=linux GOARCH=amd64 $(MAKE) migratecheckpoint
312300

313301
.PHONY: binaries-linux_arm64
314302
binaries-linux_arm64:
315303
GOOS=linux GOARCH=arm64 $(MAKE) otelcol
316-
GOOS=linux GOARCH=arm64 $(MAKE) migratecheckpoint
317304

318305
.PHONY: binaries-windows_amd64
319306
binaries-windows_amd64:
320307
GOOS=windows GOARCH=amd64 EXTENSION=.exe $(MAKE) otelcol
321-
GOOS=windows GOARCH=amd64 EXTENSION=.exe $(MAKE) migratecheckpoint
322308

323309
.PHONY: binaries-linux_ppc64le
324310
binaries-linux_ppc64le:
325311
GOOS=linux GOARCH=ppc64le $(MAKE) otelcol
326-
GOOS=linux GOARCH=ppc64le $(MAKE) migratecheckpoint
327312

328313
.PHONY: deb-rpm-tar-package
329314
%-package:

cmd/migratecheckpoint/README.md

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

cmd/migratecheckpoint/filestorage.go

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

cmd/migratecheckpoint/log_library.go

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

0 commit comments

Comments
 (0)