Skip to content

Commit 21ff20b

Browse files
authored
Remove metrics tool from the repository (#2813)
1 parent 7bad075 commit 21ff20b

File tree

216 files changed

+0
-1436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+0
-1436
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,3 @@ updates:
4848
- "josvazg"
4949
- "roothorp"
5050
- "s-urbaniak"
51-
- package-ecosystem: gomod
52-
directory: "/tools/metrics"
53-
schedule:
54-
interval: weekly
55-
day: tuesday
56-
reviewers:
57-
- "igor-karpukhin"
58-
- "helderjs"
59-
- "josvazg"
60-
- "roothorp"
61-
- "s-urbaniak"

.github/workflows/metrics.yml

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

.github/workflows/reports.yml

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

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ tmp/
4444
# ignore tool binaries
4545
tools/clean/clean
4646
tools/makejwt/makejwt
47-
tools/metrics/metrics
4847
tools/scandeprecation/scandeprecations
4948
tools/githubjobs/githubjobs
5049

Makefile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ GO_LICENSES_VERSION = 1.6.0
121121
KUSTOMIZE = kustomize
122122
DISALLOWED_LICENSES = restricted,reciprocal
123123

124-
REPORT_TYPE = flakiness
125124
SLACK_WEBHOOK ?= https://hooks.slack.com/services/...
126125

127126
# Signature definitions
@@ -482,19 +481,6 @@ endif
482481
@REPO=mongodb/mongodb-atlas-kubernetes APP_ID=$(JWT_APP_ID) \
483482
RSA_PEM_KEY_BASE64=$(JWT_RSA_PEM_KEY_BASE64) ./scripts/gh-access-token.sh
484483

485-
tools/metrics/metrics: tools/metrics/*.go
486-
cd tools/metrics && go test . && go build .
487-
488-
.PHONY: slack-report
489-
slack-report: tools/metrics/metrics ## slack a report
490-
ifndef GITHUB_TOKEN
491-
echo "Getting GitHub token..."
492-
$(eval GITHUB_TOKEN := $(shell $(MAKE) -s github-token))
493-
endif
494-
@echo "Computing and sending $(REPORT_TYPE) report to Slack..."
495-
@GITHUB_TOKEN=$(GITHUB_TOKEN) FORMAT=summary ./tools/metrics/metrics $(REPORT_TYPE) | \
496-
./scripts/slackit.sh $(SLACK_WEBHOOK)
497-
498484
.PHONY: sign
499485
sign: ## Sign an AKO multi-architecture image
500486
@echo "Signing multi-architecture image $(IMG)..."

tools/metrics/flakiness.go

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

tools/metrics/flakiness_test.go

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

0 commit comments

Comments
 (0)