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

Conversation

dpaasman00
Copy link
Contributor

@dpaasman00 dpaasman00 commented Dec 3, 2024

Proposed Change

  • Renames the overall project to bindplane-agent affecting the package name, image name, binary name, docs, etc.
  • Removes the updater and related code
Checklist
  • Changes are tested
  • CI has passed

@dpaasman00 dpaasman00 requested a review from a team as a code owner December 3, 2024 20:02
@dpaasman00 dpaasman00 requested review from justinianvoss22 and removed request for justinianvoss22 December 3, 2024 20:02
@dpaasman00 dpaasman00 marked this pull request as draft December 3, 2024 20:03
@dpaasman00 dpaasman00 marked this pull request as ready for review December 3, 2024 20:03
@dpaasman00 dpaasman00 requested a review from jsirianni December 5, 2024 14:09
Copy link
Member

@jsirianni jsirianni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Container images fail with:

could not stat agent::executable path: stat /collector/observiq-otel-collector: no such file or directory

Probably need to update the binary path in the Dockerfiles.

  1. Linux packages fail with conflict error.

Error: Transaction test error:
file /opt/opentelemetry-java-contrib-jmx-metrics.jar from install of bindplane-agent-1.66.0SNAPSHOT_09452249-1.x86_64 conflicts with file from package observiq-otel-collector-2.0.0alpha.5-1.x86_64

We probably want to remove the conflict from Goreleaser's nfpm config so we can allow users to deploy v2 side by side v1.

dpaasman00 and others added 22 commits December 5, 2024 15:33
* wip

* refactor repo

* update workflow go versions

* update build flow to install-tools

* update build license check

* new make target

* rename to manifests

* update release workflow

* package supervisor with agent

* resolve errs with gcp exporters

* update version to have go.mod

* get google exporters correctly importing version

* manifest documentation

* use updated version commit in google exporters

* include supervisor as prebuilt binary

* remove config.yaml from release pkg since its not used by supervisor/agent now

* feedback 1/n

* rebase cleanup

* update go version in a few actions, use https git clone for contrib

* change tool cache and fix release-test

* replace rest of tool caches
add a bit more detail on using a custom manifest
* wip

* update macos install script

* agent log file msg

* agent labels

* minor fixes, different storage name, agent log & cfg in supervisor storage

* use shell formatter, remove supervisor ownership, rm rf agent repo for simplicity
* update unix install scripts

* dedup messages

* docker updates

* docker working

* rename to supervisor.yaml, add pre & post remove scripts, remove uninstall section, update entrypoint for docker images

* update permission for supervisor cfg

* new supervisor storage changes

* use INSTALL_DIR const

* messing around with pre-post scripts

* use shell formatter & finalize scripts

* remove returns, update msg, remove log dir creation in goreleaser

* move supervisors files creation into goreleaser

* only pull most recent contrib commit, change replace to internal pkg for gcp exporters

* chown opampsupervisor

* remove user var
* shell formatter

* wip

* working script

* polish script, add cleanup option

* add license to new script

* add yq install comment

* typo
* wip

* initial testing

* add goreleaser logging

* install tools

* simplify manual msi build action

* fix supervisor binary

* polish

* change back service name

* remove goreleaser logs

* update supervisor labels field

* add supervisor_storage, rename cfg to supervisor.yaml, try removing supervisor storage on uninstall

* cleanup logging and use -r flag when removing supervisor_storage

* include supervisor_storage dir
* remove logging.yaml

* remove logging files
* unix script clean install

* macos script clean install

* add force clean install option

* add force dirty install (update) option
* polish v2 release

* rearrange comment

* ci

* reduce build size

* ci
update go-msi dep
* comment out docker images in goreleaser

* fix license scan
fix build for supervisor in 2.0
* re-add some containers for alpha v2 releases

* remove extra space in image tag
* fix bad manifests

* revert name change
* wip 1

* wip 2

* rework agent docs to be supervisor/v2 oriented

* remove 'starts' typo

Co-authored-by: Brandon Johnson <[email protected]>

* ci

---------

Co-authored-by: Brandon Johnson <[email protected]>
update install scripts with supervisor logging
dpaasman00 and others added 7 commits December 5, 2024 15:35
* use default opamp endpoint on mac & linux; testing for windows

* msi creates supervisor.yaml even if enablemanagement not true

* fix port in default opamp endpoint

* include default supervisor cfg in release pkgs, check for known cfg file hash

* fix shellchecks
restore -r flag in unix install script
* Disable CGO for supervisor and agent builds

* Consolidate CGO_ENABLED=0 flag
Update binary name for make kill
* Set CURR_VERSION for new v2 release-prep calls

* Adjust where v is placed

* Update manual_msi_build to use correct curr_version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants