-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'zrok_copy_p1' of github.com:openziti/zrok into zrok_cop…
…y_p1
- Loading branch information
Showing
17 changed files
with
727 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,3 +57,80 @@ nfpms: | |
- src: /opt/openziti/bin/zrok | ||
dst: /usr/bin/zrok | ||
type: "symlink" | ||
|
||
- package_name: zrok-share | ||
id: zrok-share | ||
vendor: NetFoundry | ||
homepage: https://zrok.io/ | ||
maintainer: [email protected] | ||
description: |- | ||
This package provides zrok-share.service. To enable, edit the "/opt/openziti/etc/zrok/zrok-share.env" file with the | ||
desired target for sharing, and run "systemctl enable --now zrok-share.service". | ||
license: Apache 2.0 | ||
|
||
# do not bundle the built binaries, only supporting files | ||
meta: true | ||
|
||
# Formats to be generated. | ||
formats: | ||
- deb | ||
- rpm | ||
|
||
# {{ .ConventionalFileName }} satisfies the RPM name convention. | ||
file_name_template: "{{ .ConventionalFileName }}" | ||
|
||
# Umask to be used on files without explicit mode set. (overridable) | ||
umask: 0o002 | ||
|
||
# Package version within this release version. | ||
release: 1 | ||
|
||
# Section. | ||
section: default | ||
|
||
# Priority. | ||
priority: optional | ||
|
||
# GoReleaser will automatically add the binaries here | ||
dependencies: | ||
- zrok | ||
|
||
# this allows users to satisfy the requirement for jq another way, not with the package manager, e.g. | ||
# apt install --no-recommends zrok-share | ||
recommends: | ||
- jq | ||
|
||
overrides: | ||
# yum and dnf do not automatically install "weak deps" aka "recommends", so we need to add them as a dependency | ||
rpm: | ||
dependencies: | ||
- zrok | ||
- jq | ||
|
||
# Contents to add to the package. | ||
contents: | ||
- dst: /lib/systemd/system/ | ||
src: ./nfpm/zrok-share.service | ||
|
||
- dst: /opt/openziti/etc/zrok | ||
type: dir | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/bin/ | ||
src: ./nfpm/zrok-share.bash | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/bin/ | ||
src: ./nfpm/zrok-enable.bash | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/etc/zrok/ | ||
src: ./nfpm/zrok-share.env | ||
type: config|noreplace | ||
|
||
- dst: /opt/openziti/etc/zrok/ | ||
src: ./etc/caddy/multiple_upstream.Caddyfile | ||
type: config|noreplace |
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 |
---|---|---|
|
@@ -57,3 +57,80 @@ nfpms: | |
- src: /opt/openziti/bin/zrok | ||
dst: /usr/bin/zrok | ||
type: "symlink" | ||
|
||
- package_name: zrok-share | ||
id: zrok-share | ||
vendor: NetFoundry | ||
homepage: https://zrok.io/ | ||
maintainer: [email protected] | ||
description: |- | ||
This package provides zrok-share.service. To enable, edit the "/opt/openziti/etc/zrok/zrok-share.env" file with the | ||
desired target for sharing, and run "systemctl enable --now zrok-share.service". | ||
license: Apache 2.0 | ||
|
||
# do not bundle the built binaries, only supporting files | ||
meta: true | ||
|
||
# Formats to be generated. | ||
formats: | ||
- deb | ||
- rpm | ||
|
||
# {{ .ConventionalFileName }} satisfies the RPM name convention. | ||
file_name_template: "{{ .ConventionalFileName }}" | ||
|
||
# Umask to be used on files without explicit mode set. (overridable) | ||
umask: 0o002 | ||
|
||
# Package version within this release version. | ||
release: 1 | ||
|
||
# Section. | ||
section: default | ||
|
||
# Priority. | ||
priority: optional | ||
|
||
# GoReleaser will automatically add the binaries here | ||
dependencies: | ||
- zrok | ||
|
||
# this allows users to satisfy the requirement for jq another way, not with the package manager, e.g. | ||
# apt install --no-recommends zrok-share | ||
recommends: | ||
- jq | ||
|
||
overrides: | ||
# yum and dnf do not automatically install "weak deps" aka "recommends", so we need to add them as a dependency | ||
rpm: | ||
dependencies: | ||
- zrok | ||
- jq | ||
|
||
# Contents to add to the package. | ||
contents: | ||
- dst: /lib/systemd/system/ | ||
src: ./nfpm/zrok-share.service | ||
|
||
- dst: /opt/openziti/etc/zrok | ||
type: dir | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/bin/ | ||
src: ./nfpm/zrok-share.bash | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/bin/ | ||
src: ./nfpm/zrok-enable.bash | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/etc/zrok/ | ||
src: ./nfpm/zrok-share.env | ||
type: config|noreplace | ||
|
||
- dst: /opt/openziti/etc/zrok/ | ||
src: ./etc/caddy/multiple_upstream.Caddyfile | ||
type: config|noreplace |
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 |
---|---|---|
|
@@ -53,3 +53,80 @@ nfpms: | |
- src: /opt/openziti/bin/zrok | ||
dst: /usr/bin/zrok | ||
type: "symlink" | ||
|
||
- package_name: zrok-share | ||
id: zrok-share | ||
vendor: NetFoundry | ||
homepage: https://zrok.io/ | ||
maintainer: [email protected] | ||
description: |- | ||
This package provides zrok-share.service. To enable, edit the "/opt/openziti/etc/zrok/zrok-share.env" file with the | ||
desired target for sharing, and run "systemctl enable --now zrok-share.service". | ||
license: Apache 2.0 | ||
|
||
# do not bundle the built binaries, only supporting files | ||
meta: true | ||
|
||
# Formats to be generated. | ||
formats: | ||
- deb | ||
- rpm | ||
|
||
# {{ .ConventionalFileName }} satisfies the RPM name convention. | ||
file_name_template: "{{ .ConventionalFileName }}" | ||
|
||
# Umask to be used on files without explicit mode set. (overridable) | ||
umask: 0o002 | ||
|
||
# Package version within this release version. | ||
release: 1 | ||
|
||
# Section. | ||
section: default | ||
|
||
# Priority. | ||
priority: optional | ||
|
||
# GoReleaser will automatically add the binaries here | ||
dependencies: | ||
- zrok | ||
|
||
# this allows users to satisfy the requirement for jq another way, not with the package manager, e.g. | ||
# apt install --no-recommends zrok-share | ||
recommends: | ||
- jq | ||
|
||
overrides: | ||
# yum and dnf do not automatically install "weak deps" aka "recommends", so we need to add them as a dependency | ||
rpm: | ||
dependencies: | ||
- zrok | ||
- jq | ||
|
||
# Contents to add to the package. | ||
contents: | ||
- dst: /lib/systemd/system/ | ||
src: ./nfpm/zrok-share.service | ||
|
||
- dst: /opt/openziti/etc/zrok | ||
type: dir | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/bin/ | ||
src: ./nfpm/zrok-share.bash | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/bin/ | ||
src: ./nfpm/zrok-enable.bash | ||
file_info: | ||
mode: 0755 | ||
|
||
- dst: /opt/openziti/etc/zrok/ | ||
src: ./nfpm/zrok-share.env | ||
type: config|noreplace | ||
|
||
- dst: /opt/openziti/etc/zrok/ | ||
src: ./etc/caddy/multiple_upstream.Caddyfile | ||
type: config|noreplace |
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.