github.com/kubeshop/testkube@v1.17.23/.goreleaser.yml (about)

     1  builds:
     2    - builder: prebuilt
     3      goos:
     4        - linux
     5        - windows
     6        - darwin
     7      goarch:
     8        - amd64
     9        - arm64
    10        - 386
    11      goamd64:
    12        - v1
    13      prebuilt:
    14        path: "{{ .Os }}/testkube_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}/kubectl-testkube{{ .Ext }}"
    15      binary: kubectl-testkube
    16  archives:
    17    - id: testkube
    18      name_template: >-
    19        {{ .ProjectName }}_{{.Version}}_
    20        {{- title .Os }}_
    21        {{- if eq .Arch "amd64" }}x86_64
    22        {{- else if eq .Arch "386" }}i386
    23        {{- else }}{{ .Arch }}{{ end }}
    24  checksum:
    25    name_template: "checksums.txt"
    26  
    27  source:
    28    rlcp: true
    29  
    30  sboms:
    31    - artifacts: archive
    32    - id: source
    33      artifacts: source
    34  
    35  signs:
    36    - cmd: cosign
    37      certificate: '${artifact}.pem'
    38      args:
    39        - sign-blob
    40        - '--output-certificate=${certificate}'
    41        - '--output-signature=${signature}'
    42        - '${artifact}'
    43        - "--yes"
    44      artifacts: all
    45      output: true
    46  
    47  changelog:
    48    sort: asc
    49    use: github
    50    filters:
    51      exclude:
    52        - '^test:'
    53        - '^chore'
    54        - 'merge conflict'
    55        - Merge pull request
    56        - Merge remote-tracking branch
    57        - Merge branch
    58        - go mod tidy
    59    groups:
    60      - title: Dependency updates
    61        regexp: '^.*?(feat|fix)\(deps\)!?:.+$'
    62        order: 300
    63      - title: 'New Features'
    64        regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
    65        order: 100
    66      - title: 'Security updates'
    67        regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
    68        order: 150
    69      - title: 'Bug fixes'
    70        regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
    71        order: 200
    72      - title: 'Documentation updates'
    73        regexp: ^.*?doc(\([[:word:]]+\))??!?:.+$
    74        order: 400
    75      - title: 'Build process updates'
    76        regexp: ^.*?build(\([[:word:]]+\))??!?:.+$
    77        order: 400
    78      - title: Other work
    79        order: 9999
    80  
    81  release:
    82    # Create a thread in the General category in the repo's discussion tab.
    83    discussion_category_name: General
    84  
    85    # Tags that have the format v1.0.0-rc1 will mark the release as a pre-release (i.e. not ready for production)
    86    # Other tags will be marked as ready for production
    87    prerelease: auto
    88  
    89  brews:
    90    - tap:
    91        owner: kubeshop
    92        name: homebrew-testkube
    93      description: Testkube - your somewhat opinionated and friendly Kubernetes testing framework!
    94      homepage: https://testkube.io
    95      license: "MIT"
    96      dependencies:
    97        - name: helm
    98        - name: kubectl
    99      install: |
   100        bin.install "kubectl-testkube"
   101        ln_s bin/"kubectl-testkube", bin/"tk"
   102        ln_s bin/"kubectl-testkube", bin/"testkube"
   103  
   104  nfpms:
   105    - maintainer: Testkube team
   106      license: "MIT"
   107      formats:
   108        - deb
   109      description: Testkube - your somewhat opinionated and friendly Kubernetes testing framework!
   110      contents:
   111        - src: /usr/bin/kubectl-testkube
   112          dst: /usr/bin/tk
   113          type: "symlink"
   114        - src: /usr/bin/kubectl-testkube
   115          dst: /usr/bin/testkube
   116          type: "symlink"