mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+github.com/cloudbase/garm-provider-openstack (#6362)
* +github.com/cloudbase/garm-provider-openstack * style --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
82dbea6374
commit
dcbe270951
1 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/cloudbase/garm-provider-openstack/archive/refs/tags/{{version.tag}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
display-name: cloudbase/garm-provider-openstack
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: cloudbase/garm-provider-openstack/tags
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.20
|
||||||
|
env:
|
||||||
|
CGO_ENABLED: 0
|
||||||
|
GO_LDFLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
- -X main.Version={{ version }}
|
||||||
|
linux:
|
||||||
|
LDFLAGS:
|
||||||
|
- -buildmode=pie
|
||||||
|
script: go build -v -ldflags="${GO_LDFLAGS}" -o "{{ prefix }}"/bin/garm-provider-openstack
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/garm-provider-openstack
|
||||||
|
|
||||||
|
test: test "$(garm-provider-openstack --version)" = {{version}}
|
Loading…
Reference in a new issue