Skip to content

Commit

Permalink
Run make
Browse files Browse the repository at this point in the history
  • Loading branch information
rquitales committed Jan 25, 2025
1 parent 8b97b61 commit 0ed5155
Show file tree
Hide file tree
Showing 16 changed files with 400 additions and 126 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,41 @@ before:
hooks:
- make codegen
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-command/
ldflags: &a2
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-command
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-command/
ldflags:
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-command
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down
31 changes: 24 additions & 7 deletions native-provider-ci/providers/command/repo/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,41 @@ before:
hooks:
- make codegen
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-command/
ldflags: &a2
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-command
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-command/
ldflags:
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-command
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,43 @@

project_name: pulumi-docker-build
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-docker-build/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-docker-build/provider/pkg/version.Version={{.Tag}}
- -X github.com/pulumi/pulumi-docker-build/provider.Version={{.Tag}}
binary: pulumi-resource-docker-build
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-docker-build/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-docker-build/provider/pkg/version.Version={{.Tag}}
- -X github.com/pulumi/pulumi-docker-build/provider.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-docker-build
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down
35 changes: 26 additions & 9 deletions native-provider-ci/providers/docker-build/repo/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,43 @@

project_name: pulumi-docker-build
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-docker-build/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-docker-build/provider/pkg/version.Version={{.Tag}}
- -X github.com/pulumi/pulumi-docker-build/provider.Version={{.Tag}}
binary: pulumi-resource-docker-build
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-docker-build/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-docker-build/provider/pkg/version.Version={{.Tag}}
- -X github.com/pulumi/pulumi-docker-build/provider.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-docker-build
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,42 @@ before:
- make codegen
- make generate_schema
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-google-native/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-google-native/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-google-native
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-google-native/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-google-native/provider/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-google-native
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down
33 changes: 25 additions & 8 deletions native-provider-ci/providers/google-native/repo/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,42 @@ before:
- make codegen
- make generate_schema
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-google-native/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-google-native/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-google-native
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-google-native/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-google-native/provider/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-google-native
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,42 @@

project_name: pulumi-kubernetes-cert-manager
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-kubernetes-cert-manager/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes-cert-manager/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-kubernetes-cert-manager
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-kubernetes-cert-manager/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes-cert-manager/provider/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-kubernetes-cert-manager
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down
Loading

0 comments on commit 0ed5155

Please sign in to comment.