-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rebranded code portion of collector Signed-off-by: Corbin Phelps <[email protected]> * Rebranded human readable strings Signed-off-by: Corbin Phelps <[email protected]> * Update scripts/install/install_unix.sh Co-authored-by: Brandon Johnson <[email protected]> * Update scripts/install/install_unix.sh Co-authored-by: Brandon Johnson <[email protected]> * Update scripts/install/install_unix.sh Co-authored-by: Brandon Johnson <[email protected]> * Update scripts/install/install_unix.sh Co-authored-by: Brandon Johnson <[email protected]> Co-authored-by: Brandon Johnson <[email protected]>
- Loading branch information
1 parent
802e932
commit 6f12e17
Showing
34 changed files
with
222 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ before: | |
# https://goreleaser.com/customization/build/ | ||
builds: | ||
- id: collector | ||
binary: observiq-collector | ||
binary: observiq-otel-collector | ||
main: ./cmd/collector | ||
env: | ||
- CGO_ENABLED=0 | ||
|
@@ -25,9 +25,9 @@ builds: | |
goarch: arm64 | ||
ldflags: | ||
- -s -w | ||
- -X github.com/observiq/observiq-collector/internal/version.version=v{{ .Version }} | ||
- -X github.com/observiq/observiq-collector/internal/version.gitHash={{ .FullCommit }} | ||
- -X github.com/observiq/observiq-collector/internal/version.date={{ .Date }} | ||
- -X github.com/observiq/observiq-otel-collector/internal/version.version=v{{ .Version }} | ||
- -X github.com/observiq/observiq-otel-collector/internal/version.gitHash={{ .FullCommit }} | ||
- -X github.com/observiq/observiq-otel-collector/internal/version.date={{ .Date }} | ||
no_unique_dist_dir: false | ||
|
||
# https://goreleaser.com/customization/archive/ | ||
|
@@ -52,48 +52,48 @@ archives: | |
|
||
nfpms: | ||
- id: collector | ||
file_name_template: '{{ .PackageName }}_{{ .Os }}_{{ .Arch }}' | ||
package_name: observiq-collector | ||
file_name_template: "{{ .PackageName }}_{{ .Os }}_{{ .Arch }}" | ||
package_name: observiq-otel-collector | ||
vendor: observIQ, Inc | ||
maintainer: observIQ <[email protected]> | ||
description: observIQ's distribution of the OpenTelemetry collector | ||
homepage: https://github.com/observIQ/observiq-collector | ||
homepage: https://github.com/observIQ/observiq-otel-collector | ||
license: Apache 2.0 | ||
formats: | ||
- rpm | ||
- deb | ||
bindir: /opt/observiq-collector | ||
- rpm | ||
- deb | ||
bindir: /opt/observiq-otel-collector | ||
contents: | ||
- dst: /opt/observiq-collector | ||
type: dir | ||
file_info: | ||
mode: 0755 | ||
owner: observiq-collector | ||
group: observiq-collector | ||
- src: release_deps/config.yaml | ||
dst: /opt/observiq-collector/config.yaml | ||
file_info: | ||
mode: 0640 | ||
owner: observiq-collector | ||
group: observiq-collector | ||
type: config|noreplace | ||
- src: release_deps/opentelemetry-java-contrib-jmx-metrics.jar | ||
dst: /opt/opentelemetry-java-contrib-jmx-metrics.jar | ||
file_info: | ||
mode: 0755 | ||
owner: observiq-collector | ||
group: observiq-collector | ||
- dst: /opt/observiq-collector/plugins | ||
type: dir | ||
file_info: | ||
mode: 0750 # restrict plugins to owner / group only | ||
owner: observiq-collector | ||
group: observiq-collector | ||
# Note: plugins owner/group/mode is set in the post-install script | ||
# Attempting to set the permissions here results in the following error: | ||
# nfpm failed: cannot write header of release_deps/plugins/amazon_eks.yaml to data.tar.gz: archive/tar: missed writing 1736 bytes | ||
- src: release_deps/plugins/* | ||
dst: /opt/observiq-collector/plugins | ||
- dst: /opt/observiq-otel-collector | ||
type: dir | ||
file_info: | ||
mode: 0755 | ||
owner: observiq-otel-collector | ||
group: observiq-otel-collector | ||
- src: release_deps/config.yaml | ||
dst: /opt/observiq-otel-collector/config.yaml | ||
file_info: | ||
mode: 0640 | ||
owner: observiq-otel-collector | ||
group: observiq-otel-collector | ||
type: config|noreplace | ||
- src: release_deps/opentelemetry-java-contrib-jmx-metrics.jar | ||
dst: /opt/opentelemetry-java-contrib-jmx-metrics.jar | ||
file_info: | ||
mode: 0755 | ||
owner: observiq-otel-collector | ||
group: observiq-otel-collector | ||
- dst: /opt/observiq-otel-collector/plugins | ||
type: dir | ||
file_info: | ||
mode: 0750 # restrict plugins to owner / group only | ||
owner: observiq-otel-collector | ||
group: observiq-otel-collector | ||
# Note: plugins owner/group/mode is set in the post-install script | ||
# Attempting to set the permissions here results in the following error: | ||
# nfpm failed: cannot write header of release_deps/plugins/amazon_eks.yaml to data.tar.gz: archive/tar: missed writing 1736 bytes | ||
- src: release_deps/plugins/* | ||
dst: /opt/observiq-otel-collector/plugins | ||
scripts: | ||
preinstall: "./scripts/package/preinstall.sh" | ||
postinstall: ./scripts/package/postinstall.sh | ||
|
@@ -114,7 +114,7 @@ signs: | |
release: | ||
draft: false | ||
extra_files: | ||
- glob: "./observiq-collector-*.msi" | ||
- glob: "./observiq-otel-collector-*.msi" | ||
- glob: "./scripts/install/install_unix.sh" | ||
|
||
# https://goreleaser.com/customization/changelog/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.