From db5eb5bf983a11d97cbe76275cb8cdcf416dfb0f Mon Sep 17 00:00:00 2001 From: "Matthew (Matt) Jeffryes" Date: Wed, 13 Sep 2023 14:22:35 -0700 Subject: [PATCH] Update for nomad major version bump (#568) Major version was bumped in https://github.com/pulumi/pulumi-nomad/pull/113. This brings the ci-mgmt files in line with the new version. --- provider-ci/providers/nomad/config.yaml | 4 ++-- provider-ci/providers/nomad/repo/.goreleaser.prerelease.yml | 2 +- provider-ci/providers/nomad/repo/.goreleaser.yml | 2 +- provider-ci/providers/nomad/repo/Makefile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/provider-ci/providers/nomad/config.yaml b/provider-ci/providers/nomad/config.yaml index 712b80b67..d3d0765ba 100644 --- a/provider-ci/providers/nomad/config.yaml +++ b/provider-ci/providers/nomad/config.yaml @@ -1,10 +1,10 @@ provider: nomad -major-version: 1 +major-version: 2 setup-script: "testing/setup.sh" env: VAULT_ADDR: "http://127.0.0.1:4646" makeTemplate: bridged plugins: - - name: random + - name: random version: "4.2.0" team: ecosystem diff --git a/provider-ci/providers/nomad/repo/.goreleaser.prerelease.yml b/provider-ci/providers/nomad/repo/.goreleaser.prerelease.yml index d499278f8..5d9b1d507 100644 --- a/provider-ci/providers/nomad/repo/.goreleaser.prerelease.yml +++ b/provider-ci/providers/nomad/repo/.goreleaser.prerelease.yml @@ -32,7 +32,7 @@ builds: - env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -modcache ignore: [] ldflags: - - -X github.com/pulumi/pulumi-nomad/provider/pkg/version.Version={{.Tag}} + - -X github.com/pulumi/pulumi-nomad/provider/v2/pkg/version.Version={{.Tag}} main: ./cmd/pulumi-resource-nomad/ changelog: skip: true diff --git a/provider-ci/providers/nomad/repo/.goreleaser.yml b/provider-ci/providers/nomad/repo/.goreleaser.yml index 2ad6fde14..51b7e302a 100644 --- a/provider-ci/providers/nomad/repo/.goreleaser.yml +++ b/provider-ci/providers/nomad/repo/.goreleaser.yml @@ -32,7 +32,7 @@ builds: - env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -modcache ignore: [] ldflags: - - -X github.com/pulumi/pulumi-nomad/provider/pkg/version.Version={{.Tag}} + - -X github.com/pulumi/pulumi-nomad/provider/v2/pkg/version.Version={{.Tag}} main: ./cmd/pulumi-resource-nomad/ changelog: filters: diff --git a/provider-ci/providers/nomad/repo/Makefile b/provider-ci/providers/nomad/repo/Makefile index 9287162ac..e426cc35c 100644 --- a/provider-ci/providers/nomad/repo/Makefile +++ b/provider-ci/providers/nomad/repo/Makefile @@ -3,7 +3,7 @@ PACK := nomad ORG := pulumi PROJECT := github.com/$(ORG)/pulumi-$(PACK) -PROVIDER_PATH := provider +PROVIDER_PATH := provider/v2 VERSION_PATH := $(PROVIDER_PATH)/pkg/version.Version TFGEN := pulumi-tfgen-$(PACK) PROVIDER := pulumi-resource-$(PACK)