Skip to content

Commit

Permalink
[internal] Update GitHub Actions workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot committed Oct 2, 2024
1 parent 9dc5fbb commit 87a4146
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 21 deletions.
6 changes: 0 additions & 6 deletions provider/cmd/pulumi-resource-artifactory/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
"nodejs": {
"packageDescription": "A Pulumi package for creating and managing artifactory cloud resources.",
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/jfrog/terraform-provider-artifactory)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-artifactory` repo](https://github.com/pulumi/pulumi-artifactory/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-artifactory` repo](https://github.com/jfrog/terraform-provider-artifactory/issues).",
"dependencies": {
"@pulumi/pulumi": "^3.0.0"
},
"devDependencies": {
"@types/mime": "^2.0.0",
"@types/node": "^10.0.0"
Expand All @@ -41,9 +38,6 @@
"respectSchemaVersion": true
},
"python": {
"requires": {
"pulumi": "\u003e=3.0.0,\u003c4.0.0"
},
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/jfrog/terraform-provider-artifactory)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-artifactory` repo](https://github.com/pulumi/pulumi-artifactory/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-artifactory` repo](https://github.com/jfrog/terraform-provider-artifactory/issues).",
"compatibility": "tfbridge20",
"respectSchemaVersion": true,
Expand Down
26 changes: 12 additions & 14 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ func Provider() tfbridge.ProviderInfo {
},
JavaScript: &tfbridge.JavaScriptInfo{
// List any npm dependencies and their versions
Dependencies: map[string]string{
"@pulumi/pulumi": "^3.0.0",
},

DevDependencies: map[string]string{
"@types/node": "^10.0.0", // so we can access strongly typed node definitions.
"@types/mime": "^2.0.0",
Expand All @@ -151,9 +149,7 @@ func Provider() tfbridge.ProviderInfo {
},
Python: &tfbridge.PythonInfo{
RespectSchemaVersion: true,
Requires: map[string]string{
"pulumi": ">=3.0.0,<4.0.0",
},

PyProject: struct{ Enabled bool }{true},
},

Expand Down Expand Up @@ -236,11 +232,13 @@ func docEditRules(defaults []tfbridge.DocsEdit) []tfbridge.DocsEdit {
)
}

var TFCloudOIDCRegexp = regexp.MustCompile(`\* Terraform Cloud OIDC provider`)
var removeTFCloudOIDC = tfbridge.DocsEdit{
Path: "index.md",
Edit: func(_ string, content []byte) ([]byte, error) {
content = TFCloudOIDCRegexp.ReplaceAllLiteral(content, nil)
return content, nil
},
}
var (
TFCloudOIDCRegexp = regexp.MustCompile(`\* Terraform Cloud OIDC provider`)
removeTFCloudOIDC = tfbridge.DocsEdit{
Path: "index.md",
Edit: func(_ string, content []byte) ([]byte, error) {
content = TFCloudOIDCRegexp.ReplaceAllLiteral(content, nil)
return content, nil
},
}
)
2 changes: 1 addition & 1 deletion sdk/nodejs/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87a4146

Please sign in to comment.