Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Rename to bindplane-agent #2025

Open
wants to merge 35 commits into
base: release/v2.0.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d9baed4
feat: Refactor to OCB based agent (#1755)
dpaasman00 Aug 2, 2024
b670a42
chore: OCB doc update (#1787)
dpaasman00 Aug 8, 2024
903a62a
feat: Updated MacOS install script (#1756)
dpaasman00 Aug 12, 2024
9d0f281
feat: Update Unix install script (#1757)
dpaasman00 Aug 14, 2024
06b5d00
chore: Update Manifests script (#1799)
dpaasman00 Aug 21, 2024
1acaa02
feat: Windows installation and packaging (#1775)
dpaasman00 Aug 26, 2024
2f8fcd8
chore: Remove logging.yaml (#1809)
dpaasman00 Aug 28, 2024
1d3ec52
feat: Add clean install option to scripts (#1819)
dpaasman00 Aug 29, 2024
ff2b59c
fix: Polish release workflow (#1843)
dpaasman00 Sep 10, 2024
4be0700
deps: Update go-msi (#1854)
dpaasman00 Sep 11, 2024
673375b
update manifests
dpaasman00 Sep 11, 2024
230ee01
fix manifests
dpaasman00 Sep 11, 2024
dd1f3a2
remove errant opamp folder
dpaasman00 Sep 16, 2024
631b323
chore: Remove docker related steps from goreleaser (#1856)
dpaasman00 Sep 16, 2024
a0975f5
fix: Fix build for supervisor in 2.0 (#1896)
BinaryFissionGames Oct 4, 2024
e0cd18f
update manifests
dpaasman00 Oct 7, 2024
8671674
feat: Agent 2.0 prerelease container images (#1898)
BinaryFissionGames Oct 7, 2024
d80f376
deps: Mark httpprovider stable version (#1899)
dpaasman00 Oct 7, 2024
574e812
fix: Update manifests to work at runtime (#1900)
dpaasman00 Oct 7, 2024
6256814
chore: Update documentation (#1912)
dpaasman00 Oct 25, 2024
7d1ca00
feat: Use configurable supervisor logging (#1908)
dpaasman00 Nov 4, 2024
aac2077
fix(Agent v2): Persist `supervisor_storage` on uninstall for windows …
dpaasman00 Nov 4, 2024
a61df3b
chore: Don't require OpAMP endpoint when installing & starting (#1909)
dpaasman00 Nov 5, 2024
5d3c03d
Update OTel v0.113.0; resolve import issue; update builder & supervis…
dpaasman00 Nov 14, 2024
f36e5fc
fix: Add `-r` flag back to unix install script (#1970)
dpaasman00 Nov 15, 2024
93e7b10
fix: Disable CGO for supervisor and agent builds (#1972)
mrsillydog Nov 18, 2024
ba3c7ca
fix(dev): Name of binary for `make kill` (#1973)
antonblock Nov 19, 2024
a3bcaff
fix: Set CURR_VERSION for new v2 release-prep calls (#1991)
mrsillydog Dec 3, 2024
acd3648
chore: Update v2 to BP v1.66 && OTel v0.114.0
dpaasman00 Dec 9, 2024
4e38dd4
Rename to bindplane-agent
dpaasman00 Nov 21, 2024
864f357
remove references to updater
dpaasman00 Dec 3, 2024
c9dfe7f
rename to bindplane-otel-collector
dpaasman00 Dec 11, 2024
0672c92
fix expr pkg imports
dpaasman00 Dec 12, 2024
42f71a3
rename service files
dpaasman00 Dec 12, 2024
6405666
fix plist references
dpaasman00 Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 0 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,16 +267,6 @@ updates:
commit-message:
prefix: "deps"
include: "scope"
- package-ecosystem: "gomod"
directory: "/updater"
schedule:
interval: "weekly"
ignore:
# Opentelemetry updates will be done manually
- dependency-name: "github.com/open-telemetry/opamp-go"
commit-message:
prefix: "deps"
include: "scope"
- package-ecosystem: "gomod"
directory: "/packagestate"
schedule:
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: "1.21"
check-latest: true
- name: Cache Tools
id: tool-cache
uses: actions/cache@v3
with:
path: /home/runner/go/bin
key: tooling-${{ runner.os }}-${{ hashFiles('./Makefile') }}
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }}
- name: Install Tools
if: steps.tool-cache.outputs.cache-hit != 'true'
run: make install-tools
Expand All @@ -39,7 +40,7 @@ jobs:
uses: actions/cache@v3
with:
path: /home/runner/go/bin
key: tooling-${{ runner.os }}-${{ hashFiles('./Makefile') }}
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }}
- name: Install Tools
if: steps.tool-cache.outputs.cache-hit != 'true'
run: make install-tools
Expand All @@ -63,7 +64,7 @@ jobs:
uses: actions/cache@v3
with:
path: /home/runner/go/bin
key: tooling-${{ runner.os }}-${{ hashFiles('./Makefile') }}
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }}
- name: Install Tools
if: steps.tool-cache.outputs.cache-hit != 'true'
run: make install-tools
Expand All @@ -87,7 +88,7 @@ jobs:
uses: actions/cache@v3
with:
path: /home/runner/go/bin
key: tooling-${{ runner.os }}-${{ hashFiles('./Makefile') }}
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }}
- name: Install Tools
if: steps.tool-cache.outputs.cache-hit != 'true'
run: make install-tools
Expand All @@ -111,7 +112,7 @@ jobs:
uses: actions/cache@v3
with:
path: /home/runner/go/bin
key: tooling-${{ runner.os }}-${{ hashFiles('./Makefile') }}
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }}
- name: Install Tools
if: steps.tool-cache.outputs.cache-hit != 'true'
run: make install-tools
Expand All @@ -135,7 +136,7 @@ jobs:
uses: actions/cache@v3
with:
path: /home/runner/go/bin
key: tooling-${{ runner.os }}-${{ hashFiles('./Makefile') }}
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }}
- name: Install Tools
if: steps.tool-cache.outputs.cache-hit != 'true'
run: make install-tools
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: "1.21"
check-latest: true

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
35 changes: 15 additions & 20 deletions .github/workflows/manual_msi_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,22 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser-pro
version: "v2.1.0"
args: build --single-target --skip=validate --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
go-version: "1.21"
check-latest: true
- name: Install tools
run: make install-tools
- name: Release Prep
run: make release-prep CURR_VERSION=${{ github.event.inputs.version }}
- name: Build Binaries
run: make build-binaries
- name: Copy Windows Collector Binary
run: cp dist/windows_amd64/collector_windows_amd64_v1/observiq-otel-collector.exe windows/observiq-otel-collector.exe
- name: Copy Windows Updater Binary
run: cp dist/windows_amd64/updater_windows_amd64_v1/updater.exe windows/updater.exe
run: cp dist/collector_windows_amd64.exe windows/bindplane-otel-collector.exe
- name: Copy Supervisor Binary
run: cp release_deps/supervisor_bin/opampsupervisor_windows_amd64.exe windows/opampsupervisor.exe
- name: Copy Plugins to MSI Build Directory
run: cp -r release_deps/plugins windows/
- name: Copy Example Config
run: cp config/example.yaml windows/config.yaml
- name: Copy Logging Config
run: cp config/logging.yaml windows/logging.yaml
- name: Copy JMX Receiver Jar
run: cp release_deps/opentelemetry-java-contrib-jmx-metrics.jar windows/opentelemetry-java-contrib-jmx-metrics.jar
- name: Copy LICENSE
Expand All @@ -52,17 +47,17 @@ jobs:
# Installs go-msi and wix.
- name: Install Build Tools
run: |
curl -f -L -o go-msi.exe https://github.com/observIQ/go-msi/releases/download/v2.2.0/go-msi.exe
curl -f -L -o go-msi.exe https://github.com/observIQ/go-msi/releases/download/v2.3.0/go-msi.exe
curl -f -L -o wix310-binaries.zip https://github.com/wixtoolset/wix3/releases/download/wix3104rtm/wix310-binaries.zip
unzip wix310-binaries.zip
working-directory: C:/build
- name: "Build MSI from Tagged Release"
run: go-msi.exe make -m observiq-otel-collector.msi --version ${{ github.event.inputs.version }} --arch amd64
run: go-msi.exe make -m bindplane-otel-collector.msi --version ${{ github.event.inputs.version }} --arch amd64
working-directory: C:/build
- name: "Upload MSI"
uses: actions/upload-artifact@v4
with:
name: observiq-otel-collector.msi
path: C:/build/observiq-otel-collector.msi
name: bindplane-otel-collector.msi
path: C:/build/bindplane-otel-collector.msi
# Short lived because this is meant as an action for developers
retention-days: 1
22 changes: 14 additions & 8 deletions .github/workflows/multi_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,22 @@ jobs:
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Install Go
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: "1.21"
check-latest: true
cache-dependency-path: |
go.sum
**/go.sum
- name: Install Builder
run: make install-builder
- name: Build
run: make build-linux
- name: Scan Third Party Dependency Licenses
run: |
go install github.com/uw-labs/[email protected]
lichen --config=./license.yaml $(find dist/collector_* dist/updater_*)
lichen --config=./license.yaml $(find dist/collector_*)

build_darwin:
runs-on: macos-14
steps:
Expand All @@ -35,14 +38,16 @@ jobs:
go-version: "1.22"
check-latest: true
cache-dependency-path: |
go.sum
**/go.sum
- name: Install Builder
run: make install-builder
- name: Build
run: make build-darwin
- name: Scan Third Party Dependency Licenses
run: |
go install github.com/uw-labs/[email protected]
lichen --config=./license.yaml $(find dist/collector_* dist/updater_*)
lichen --config=./license.yaml $(find dist/collector_*)

build_windows:
runs-on: ubuntu-20.04
steps:
Expand All @@ -54,11 +59,12 @@ jobs:
go-version: "1.22"
check-latest: true
cache-dependency-path: |
go.sum
**/go.sum
- name: Install Builder
run: make install-builder
- name: Build
run: make build-windows
- name: Scan Third Party Dependency Licenses
run: |
go install github.com/uw-labs/[email protected]
lichen --config=./license.yaml dist/collector_windows_amd64.exe dist/updater_windows_amd64.exe
lichen --config=./license.yaml dist/collector_windows_amd64.exe
54 changes: 25 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,23 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: "**/go.sum"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser-pro
version: "v2.1.0"
args: build --single-target --skip=validate --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
go-version: "1.21"
check-latest: true
- name: Install Tools
run: make install-tools
# Needed until supervisor binary is released
- name: Build Supervisor Binary
run: make release-prep CURR_VERSION=${{ github.ref_name }}
- name: Build Windows Binaries
run: make build-binaries
- name: Copy Windows Collector Binary
run: cp dist/windows_amd64/collector_windows_amd64_v1/observiq-otel-collector.exe windows/observiq-otel-collector.exe
- name: Copy Windows Updater Binary
run: cp dist/windows_amd64/updater_windows_amd64_v1/updater.exe windows/updater.exe
run: cp dist/collector_windows_amd64.exe windows/bindplane-otel-collector.exe
- name: Copy Supervisor Binary
run: cp release_deps/supervisor_bin/opampsupervisor_windows_amd64.exe windows/opampsupervisor.exe
- name: Copy Plugins to MSI Build Directory
run: cp -r release_deps/plugins windows/
- name: Copy Example Config
run: cp config/example.yaml windows/config.yaml
- name: Copy Logging Config
run: cp config/logging.yaml windows/logging.yaml
- name: Copy JMX Receiver Jar
run: cp release_deps/opentelemetry-java-contrib-jmx-metrics.jar windows/opentelemetry-java-contrib-jmx-metrics.jar
- name: Copy LICENSE
Expand All @@ -50,18 +45,18 @@ jobs:
# Installs go-msi and wix.
- name: Install Build Tools
run: |
curl -f -L -o go-msi.exe https://github.com/observIQ/go-msi/releases/download/v2.2.0/go-msi.exe
curl -f -L -o go-msi.exe https://github.com/observIQ/go-msi/releases/download/v2.3.0/go-msi.exe
curl -f -L -o wix310-binaries.zip https://github.com/wixtoolset/wix3/releases/download/wix3104rtm/wix310-binaries.zip
unzip wix310-binaries.zip
working-directory: C:/build
- name: "Build MSI from Tagged Release"
run: go-msi.exe make -m observiq-otel-collector.msi --version ${{ github.ref_name }} --arch amd64
run: go-msi.exe make -m bindplane-otel-collector.msi --version ${{ github.ref_name }} --arch amd64
working-directory: C:/build
- name: "Upload MSI"
uses: actions/upload-artifact@v4
with:
name: observiq-otel-collector.msi
path: C:/build/observiq-otel-collector.msi
name: bindplane-otel-collector.msi
path: C:/build/bindplane-otel-collector.msi
# Short lived because Go Releaser will upload the msi to a release (github release, gcs, etc)
retention-days: 1

Expand All @@ -79,7 +74,6 @@ jobs:
with:
go-version: "1.22"
check-latest: true
cache-dependency-path: "**/go.sum"
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -105,8 +99,8 @@ jobs:
- name: Retrieve Windows 64-bit MSI Installer
uses: actions/download-artifact@v4
with:
name: observiq-otel-collector.msi
path: observiq-otel-collector.msi
name: bindplane-otel-collector.msi
path: bindplane-otel-collector.msi
- name: Install cosign
run: go install github.com/sigstore/cosign/cmd/[email protected]
- name: Build cosign key file
Expand All @@ -115,10 +109,12 @@ jobs:
env:
COSIGN_PRIVATE_KEY: ${{secrets.ORG_COSIGN_PRIVATE_KEY}}
- name: Sign MSI
run: cosign sign-blob --key=cosign.key --output-signature ./observiq-otel-collector.msi/observiq-otel-collector.msi.sig ./observiq-otel-collector.msi/observiq-otel-collector.msi
run: cosign sign-blob --key=cosign.key --output-signature ./bindplane-otel-collector.msi/bindplane-otel-collector.msi.sig ./bindplane-otel-collector.msi/bindplane-otel-collector.msi
shell: bash
env:
COSIGN_PASSWORD: ${{ secrets.ORG_COSIGN_PWD }}
- name: Install Tools
run: make install-tools
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand All @@ -134,23 +130,23 @@ jobs:
run: |
mkdir artifacts
cp ./scripts/install/*.sh ./artifacts
cp ./observiq-otel-collector.msi/observiq-otel-collector.msi ./artifacts
cp ./bindplane-otel-collector.msi/bindplane-otel-collector.msi ./artifacts
cp ./dist/*tar.gz ./artifacts
cp ./dist/*zip ./artifacts
cp ./dist/*.rpm ./artifacts
cp ./dist/*.deb ./artifacts
cp ./dist/*SHA256SUMS ./artifacts
tar -czvf observiq-otel-collector-${{ github.ref_name }}-artifacts.tar.gz -C ./artifacts .
tar -czvf bindplane-otel-collector-${{ github.ref_name }}-artifacts.tar.gz -C ./artifacts .
- name: Sign artifact archive
run: cosign sign-blob --key=cosign.key --output-signature ./observiq-otel-collector-${{ github.ref_name }}-artifacts.tar.gz.sig ./observiq-otel-collector-${{ github.ref_name }}-artifacts.tar.gz
run: cosign sign-blob --key=cosign.key --output-signature ./bindplane-otel-collector-${{ github.ref_name }}-artifacts.tar.gz.sig ./bindplane-otel-collector-${{ github.ref_name }}-artifacts.tar.gz
shell: bash
env:
COSIGN_PASSWORD: ${{ secrets.ORG_COSIGN_PWD }}
- name: Upload artifact bundle to release
uses: AButler/[email protected]
with:
repo-token: ${{ secrets.ORG_GORELEASER_GITHUB_TOKEN }}
files: "observiq-otel-collector-${{ github.ref_name }}-artifacts.tar.gz*"
files: "bindplane-otel-collector-${{ github.ref_name }}-artifacts.tar.gz*"
release-tag: ${{ github.ref_name }}
# Trigger installation tests in otel-collector-installer-testing
- name: Trigger Installation Testing
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: "1.22"
check-latest: true
cache-dependency-path: |
go.sum
**/go.sum
- name: Run Tests
run: make test
- name: Run Updater Integration Tests (non-linux)
if: matrix.os != 'ubuntu-20.04'
run: make test-updater-integration
- name: Run Updater Integration Tests (linux)
if: matrix.os == 'ubuntu-20.04'
run: sudo make test-updater-integration
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ windows/*.zip
windows/**/wix.dynamic.json
windows/**/wix
windows/config.yaml
windows/logging.yaml
windows/LICENSE
windows/plugins
opentelemetry-java-contrib-jmx-metrics.jar
Expand All @@ -26,5 +25,8 @@ release_deps
collector*.yaml
manager*.yaml
logging*.yaml
config.yaml
storage

#Supervisor & Builder Files
builder
agent*.log
effective*.yaml
Loading
Loading