Skip to content

Commit cd22dc3

Browse files
simplify linux packaging structure
1 parent 3715910 commit cd22dc3

File tree

11 files changed

+5
-7
lines changed

11 files changed

+5
-7
lines changed

.goreleaser.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ archives:
5757
{{- else }}{{ .Arch }}{{ end }}
5858
{{- if .Arm }}v{{ .Arm }}{{ end }}
5959
files:
60-
- src: "packaging/linux/etc/observe-agent/*"
61-
dst: "."
60+
# The default agent config file and the service file live in config.
6261
- src: "packaging/linux/config/*"
6362
dst: "."
63+
- src: "packaging/linux/connections/*"
64+
dst: "connections"
6465

6566
- id: windows
6667
formats: ["zip"]
@@ -164,8 +165,8 @@ nfpms:
164165
# Contents to add to the package.
165166
# GoReleaser will automatically add the binaries.
166167
contents:
167-
- src: packaging/linux/etc/
168-
dst: /etc
168+
- src: packaging/linux/connections
169+
dst: /etc/observe-agent/connections
169170
type: tree
170171

171172
- src: packaging/linux/config/observe-agent.yaml

integration/scripts/install_windows.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,3 @@ Write-Output "Copying files from $temp_dir\observe-agent_extract to $observeagen
3737
Copy-Item -Force -Path $temp_dir\observe-agent_extract\observe-agent.exe -Destination $observeagent_install_dir
3838
Copy-Item -Force -Path $temp_dir\observe-agent_extract\observe-agent.yaml -Destination $observeagent_install_dir
3939
Copy-Item -Force -Path $temp_dir\observe-agent_extract\connections\ -Destination $observeagent_install_dir\connections -Recurse
40-
41-

0 commit comments

Comments
 (0)