Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create release v0.1.0 #16

Merged
merged 10 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
dotnetversion:
- 6.0.x
goversion:
- 1.20.x
- 1.22.x
nodeversion:
- 16.x
- 18.x
pythonversion:
- "3.9"
# javaversion:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ jobs:
dotnetversion:
- 6.0.x
goversion:
- 1.20.x
- 1.22.x
nodeversion:
- 16.x
- 18.x
pythonversion:
- "3.9"
# javaversion:
Expand Down
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ GO_MINOR_VERSION := $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.'
# the (local) version must match the version specified in .github/workflows/release.yml
# otherwise publkishing the Go SDK of the provider will fail
REQUIRED_GO_MAJOR_VERSION := 1
REQUIRED_GO_MINOR_VERSION := 20
REQUIRED_GO_MINOR_VERSION := 22
GO_VERSION_VALIDATION_ERR_MSG := Golang version $(REQUIRED_GO_MAJOR_VERSION).$(REQUIRED_GO_MINOR_VERSION) is required

.PHONY: development provider build_sdks build_nodejs build_dotnet build_go build_python cleanup validate_go_version
Expand Down Expand Up @@ -102,6 +102,9 @@ $(WORKING_DIR)/bin/$(JAVA_GEN)::
lint_provider:: provider # lint the provider code
cd provider && golangci-lint run -c ../.golangci.yml

tidy:: # call go mod tidy in relevant directories
find ./provider -name go.mod -execdir go mod tidy \;

cleanup:: # cleans up the temporary directory
rm -r $(WORKING_DIR)/bin
rm -f provider/cmd/${PROVIDER}/schema.go
Expand All @@ -127,9 +130,12 @@ install_python_sdk::

install_go_sdk::

install_nodejs_sdk::
install_nodejs_sdk:: build_nodejs
yarn link --cwd $(WORKING_DIR)/sdk/nodejs/bin

uninstall_nodejs_sdk::
yarn unlink --cwd $(WORKING_DIR)/sdk/nodejs/bin

install_sdks:: install_dotnet_sdk install_python_sdk install_nodejs_sdk

test::
Expand Down
9 changes: 0 additions & 9 deletions go.work

This file was deleted.

494 changes: 0 additions & 494 deletions go.work.sum

This file was deleted.

2 changes: 0 additions & 2 deletions provider/cmd/pulumi-resource-mssql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:generate go run ./generate.go

package main

import (
Expand Down
149 changes: 75 additions & 74 deletions provider/cmd/pulumi-resource-mssql/schema.json

Large diffs are not rendered by default.

222 changes: 0 additions & 222 deletions provider/generate.go

This file was deleted.

Loading
Loading