Cloud-init to be run via guestinfo when installing Flatcar Linux in vSphere using Rancher. It is a workaround to allow Rancher to provision Flatcar nodes, since coreos-cloudinit is not supported.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
662 B

env:
- CGO_ENABLED=0
- GO111MODULE=on
- GOPROXY=https://proxy.golang.org
before:
hooks:
#- go mod tidy
builds:
- ldflags:
- -X git.psu.edu/swe-golang/buildversion.commit={{.ShortCommit}}
- -X git.psu.edu/swe-golang/buildversion.version={{.Version}}
- -X git.psu.edu/swe-golang/buildversion.buildDate={{.Date}}
flags:
- -trimpath
goos:
- linux
goarch:
- amd64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT-{{ .ShortCommit }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- Merge pull request
- Merge branch
archives:
- format: binary