mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
69995f76ca
updated references removed tui client removed ringbuffer persist store removed ringbuffer enabled audit logging moved audit logging to message readers disabled goreleaser update readme, cbor, zstd removed request type ping and pong update readme testing with cmd.WaitDelay for clicommand fixed readme removed ringbuffer flag default serialization set to cbor, default compression set to zstd, fixed race, removed event type ack and nack, also removed from subject. Fixed file stat error for copy log file removed remaining elements of the event type removed comments renamed toRingbufferCh to samToSendCh renamed directSAMSCh ro samSendLocalCh removed handler interface agpl3 license added license-change.md
59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
env:
|
|
- DOCKER_REGISTRY={{ if index .Env "DOCKER_REGISTRY" }}{{ .Env.DOCKER_REGISTRY }}{{ else }}localrepo{{ end }}
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
main: ./cmd/ctrl/main.go
|
|
binary: ctrl
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|
|
dockers:
|
|
- use: buildx
|
|
dockerfile: Dockerfile_release
|
|
goos: linux
|
|
goarch: amd64
|
|
image_templates:
|
|
- "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-amd64"
|
|
- "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:latest"
|
|
build_flag_templates:
|
|
- "--platform=linux/amd64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
nfpms:
|
|
- vendor: Raa Labs AS
|
|
homepage: https://github.com/postmannen/ctrl
|
|
maintainer: Bjørn Tore Svinningen <postmannen@gmail.com>
|
|
description: |-
|
|
Infrastructure controller
|
|
license: MIT
|
|
formats:
|
|
- rpm
|
|
bindir: /usr/local/ctrl/
|
|
contents:
|
|
- src: LICENSE
|
|
dst: /usr/share/doc/ctrl/LICENSE
|
|
file_info:
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
- src: README.md
|
|
dst: /usr/share/doc/ctrl/README.md
|
|
file_info:
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|