Skip to content

Commit

Permalink
Upgrade terrafrom provider gitlab to v17.0.0, Take Two (#618)
Browse files Browse the repository at this point in the history
Fixes #616.

- Prepare for v8 and make schema
- Generate SDKs
  • Loading branch information
guineveresaenger authored May 30, 2024
1 parent 9251566 commit 4be71b1
Show file tree
Hide file tree
Showing 320 changed files with 9,979 additions and 2,180 deletions.
2 changes: 1 addition & 1 deletion .ci-mgmt.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
provider: gitlab
major-version: 7
major-version: 8
upstreamProviderOrg: gitlabhq
env:
PULUMI_GITLAB_TOKEN: ${{ secrets.PULUMI_GITLAB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0
jobs:
command-dispatch-for-testing:
name: command-dispatch-for-testing
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0

jobs:
license_check:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0

jobs:
lint:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0
jobs:
build_sdk:
name: build_sdk
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0
jobs:
build_sdk:
name: build_sdk
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0
jobs:
comment-on-pr:
if: github.event.pull_request.head.repo.full_name != github.repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0
jobs:
build_sdk:
name: build_sdk
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/resync-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0
jobs:
resync_build:
name: resync-build
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
VERSION_PREFIX: 8.0.0

# This should cancel any previous runs of the same workflow on the same branch which are still running.
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ builds:
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -modcache
ignore: []
ldflags:
- -X github.com/pulumi/pulumi-gitlab/provider/v7/pkg/version.Version={{.Tag}}
- -X github.com/pulumi/pulumi-gitlab/provider/v8/pkg/version.Version={{.Tag}}
main: ./cmd/pulumi-resource-gitlab/
changelog:
skip: true
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ builds:
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -modcache
ignore: []
ldflags:
- -X github.com/pulumi/pulumi-gitlab/provider/v7/pkg/version.Version={{.Tag}}
- -X github.com/pulumi/pulumi-gitlab/provider/v8/pkg/version.Version={{.Tag}}
main: ./cmd/pulumi-resource-gitlab/
changelog:
filters:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PACK := gitlab
ORG := pulumi
PROJECT := github.com/$(ORG)/pulumi-$(PACK)
PROVIDER_PATH := provider/v7
PROVIDER_PATH := provider/v8
VERSION_PATH := $(PROVIDER_PATH)/pkg/version.Version
TFGEN := pulumi-tfgen-$(PACK)
PROVIDER := pulumi-resource-$(PACK)
Expand All @@ -14,7 +14,7 @@ PULUMI_CONVERT := 1

# Override during CI using `make [TARGET] PROVIDER_VERSION=""` or by setting a PROVIDER_VERSION environment variable
# Local & branch builds will just used this fixed default version unless specified
PROVIDER_VERSION ?= 7.0.0-alpha.0+dev
PROVIDER_VERSION = 8.0.0
# Use this normalised version everywhere rather than the raw input to ensure consistency.
VERSION_GENERIC = $(shell pulumictl convert-version --language generic --version "$(PROVIDER_VERSION)")

Expand Down
Loading

0 comments on commit 4be71b1

Please sign in to comment.