Skip to content

Commit 43c56df

Browse files
chore: prepare repo for open-sourcing (#53)
Strips kubectl-prof CLI plugin and internal CI workflows so this repo can be published publicly under nudgebee. The agent and language-specific container images remain — they are the artifacts called by Nudgebee (and other orchestrators) to perform profiling against target pods. Removed - cmd/cli, internal/cli: the kubectl-prof CLI plugin tree - .krew.yaml, plugins/, .github/workflows/do-krew.yml: krew distribution - .goreleaser.yml: was only used to build the CLI binary - .github/workflows/{dev-ci,dev-ci-test,prod-ci}.yml: pushed to private AWS ECR accounts and used internal self-hosted runners and registry - sonar-project.properties: internal SonarQube config - logger_demo.py: stray Hello-World commit Renamed - Go module path: github.com/josepdcs/kubectl-prof -> github.com/nudgebee/application-profiler - Default branch references: master -> main Rewrote - Makefile: dropped CLI build/release targets and DockerHub pushes; image base is now ghcr.io/nudgebee/application-profiler-<lang> - README.md: agent-only documentation, lists published GHCR images and documents the agent CLI flags Nudgebee invokes - Dockerfiles: workdir + COPY paths updated for the new module path - .github/workflows/code-verify.yml: runs on PRs and pushes targeting main Added - .github/workflows/release.yml: matrix build for 5 language images, pushes to ghcr.io/nudgebee/application-profiler-<lang> on main + v* tags - .github/dependabot.yml: weekly Go, GitHub Actions, and Docker base-image updates - CODE_OF_CONDUCT.md, SECURITY.md - .github/ISSUE_TEMPLATE/{bug_report,feature_request}.md - .github/pull_request_template.md - CODEOWNERS now references nudgebee maintainers
1 parent 70fedf2 commit 43c56df

125 files changed

Lines changed: 651 additions & 8498 deletions

File tree

Some content is hidden

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

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
#
44
# KEEP THIS FILE SORTED. Order is important. Last match takes precedence.
55

6-
* @josepdcs josepdcs@ext.inditex.com
6+
* @mayankpande88 @blue4209211
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug report
3+
about: Report a problem with the agent or images
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
## Description
10+
11+
A clear description of the issue.
12+
13+
## Steps to reproduce
14+
15+
1.
16+
2.
17+
3.
18+
19+
## Expected behavior
20+
21+
What you expected to happen.
22+
23+
## Actual behavior
24+
25+
What actually happened. Include agent logs (JSON output) if available.
26+
27+
## Environment
28+
29+
- Image and tag: `ghcr.io/nudgebee/application-profiler-<lang>:<tag>`
30+
- Kubernetes version:
31+
- Container runtime: containerd / cri-o
32+
- Target language and profiling tool:
33+
- Host OS / kernel:
34+
35+
## Additional context
36+
37+
Any other relevant details.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest a new capability or improvement
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
---
8+
9+
## Problem
10+
11+
What problem are you trying to solve? Why does the current behavior fall short?
12+
13+
## Proposed solution
14+
15+
What would the agent do differently?
16+
17+
## Alternatives considered
18+
19+
Other approaches you've thought about.
20+
21+
## Additional context
22+
23+
Links to related issues, prior art, etc.

.github/dependabot.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gomod
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
groups:
8+
go_modules:
9+
patterns:
10+
- "*"
11+
labels:
12+
- dependencies
13+
- go
14+
15+
- package-ecosystem: github-actions
16+
directory: "/"
17+
schedule:
18+
interval: weekly
19+
labels:
20+
- dependencies
21+
- github-actions
22+
23+
- package-ecosystem: docker
24+
directory: "/docker/bpf"
25+
schedule:
26+
interval: weekly
27+
labels:
28+
- dependencies
29+
- docker
30+
31+
- package-ecosystem: docker
32+
directory: "/docker/jvm"
33+
schedule:
34+
interval: weekly
35+
labels:
36+
- dependencies
37+
- docker
38+
39+
- package-ecosystem: docker
40+
directory: "/docker/jvm/alpine"
41+
schedule:
42+
interval: weekly
43+
labels:
44+
- dependencies
45+
- docker
46+
47+
- package-ecosystem: docker
48+
directory: "/docker/perf"
49+
schedule:
50+
interval: weekly
51+
labels:
52+
- dependencies
53+
- docker
54+
55+
- package-ecosystem: docker
56+
directory: "/docker/python"
57+
schedule:
58+
interval: weekly
59+
labels:
60+
- dependencies
61+
- docker
62+
63+
- package-ecosystem: docker
64+
directory: "/docker/ruby"
65+
schedule:
66+
interval: weekly
67+
labels:
68+
- dependencies
69+
- docker

.github/pull_request_template.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Summary
2+
3+
What does this PR change and why?
4+
5+
## Type of change
6+
7+
- [ ] Bug fix
8+
- [ ] New feature
9+
- [ ] Refactor
10+
- [ ] Documentation
11+
- [ ] CI / build
12+
13+
## Test plan
14+
15+
How was this validated? Include commands run and (where relevant) target
16+
languages / profiling tools exercised.
17+
18+
## Checklist
19+
20+
- [ ] `go build ./...` and `go test ./...` pass locally
21+
- [ ] Docs (README, flags) updated if behavior changed
22+
- [ ] No breaking changes to the agent's stdout JSON envelope, or change is
23+
called out and coordinated with downstream orchestrators

.github/workflows/code-verify.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
21
name: Code Verify
32

43
on:
54
push:
6-
branches-ignore: [main, bugfix/GH-19-krew-not-working ]
5+
branches: [main]
76
pull_request:
8-
branches: ['*']
7+
branches: [main]
98

109
jobs:
11-
1210
build:
1311
runs-on: ubuntu-latest
1412
steps:
1513
- uses: actions/checkout@v4
1614

1715
- name: Set up Go
18-
uses: actions/setup-go@v4
16+
uses: actions/setup-go@v5
1917
with:
2018
go-version: '1.23.4'
2119

.github/workflows/dev-ci-test.yml

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

.github/workflows/dev-ci.yml

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

.github/workflows/do-krew.yml

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

0 commit comments

Comments
 (0)