Skip to content

Commit

Permalink
Upgrade terraform-provider-harbor to v3.10.5 (#206)
Browse files Browse the repository at this point in the history
* make tfgen

* make build_sdks
  • Loading branch information
dirien committed Dec 18, 2023
1 parent 2a678c8 commit 93e35f0
Show file tree
Hide file tree
Showing 78 changed files with 941 additions and 3,064 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 pulumi/pulumi:3.86.0
FROM --platform=linux/amd64 pulumi/pulumi:3.97.0

# Install pulumictl and set to PATH
RUN curl -fsSL https://get.pulumi.com | sh
Expand Down
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@ updates:
commit-message:
prefix: "chore"
include: "scope"
- package-ecosystem: "docker"
directory: "/.devcontainer"
schedule:
interval: "daily"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"
1 change: 1 addition & 0 deletions .pulumi-java-gen.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
11.0.20
94 changes: 72 additions & 22 deletions provider/cmd/pulumi-resource-harbor/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,42 @@
"config": {
"variables": {
"apiVersion": {
"type": "integer"
"type": "integer",
"default": 2
},
"insecure": {
"type": "boolean"
"type": "boolean",
"default": true,
"defaultInfo": {
"environment": [
"HARBOR_IGNORE_CERT"
]
}
},
"password": {
"type": "string"
"type": "string",
"defaultInfo": {
"environment": [
"HARBOR_PASSWORD"
]
},
"secret": true
},
"url": {
"type": "string"
"type": "string",
"defaultInfo": {
"environment": [
"HARBOR_URL"
]
}
},
"username": {
"type": "string"
"type": "string",
"defaultInfo": {
"environment": [
"HARBOR_USERNAME"
]
}
}
},
"defaults": [
Expand Down Expand Up @@ -269,7 +292,8 @@
"type": "boolean"
},
"password": {
"type": "string"
"type": "string",
"secret": true
},
"url": {
"type": "string"
Expand All @@ -278,29 +302,46 @@
"type": "string"
}
},
"required": [
"url"
],
"inputProperties": {
"apiVersion": {
"type": "integer"
"type": "integer",
"default": 2
},
"insecure": {
"type": "boolean"
"type": "boolean",
"default": true,
"defaultInfo": {
"environment": [
"HARBOR_IGNORE_CERT"
]
}
},
"password": {
"type": "string"
"type": "string",
"defaultInfo": {
"environment": [
"HARBOR_PASSWORD"
]
},
"secret": true
},
"url": {
"type": "string"
"type": "string",
"defaultInfo": {
"environment": [
"HARBOR_URL"
]
}
},
"username": {
"type": "string"
"type": "string",
"defaultInfo": {
"environment": [
"HARBOR_USERNAME"
]
}
}
},
"requiredInputs": [
"url"
]
}
},
"resources": {
"harbor:index/configAuth:ConfigAuth": {
Expand Down Expand Up @@ -1124,7 +1165,7 @@
},
"registryId": {
"type": "integer",
"description": "To enabled project as Proxy Cache\n"
"description": "To enable project as Proxy Cache\n"
},
"storageQuota": {
"type": "integer",
Expand Down Expand Up @@ -1175,7 +1216,7 @@
},
"registryId": {
"type": "integer",
"description": "To enabled project as Proxy Cache\n",
"description": "To enable project as Proxy Cache\n",
"willReplaceOnChanges": true
},
"storageQuota": {
Expand Down Expand Up @@ -1228,7 +1269,7 @@
},
"registryId": {
"type": "integer",
"description": "To enabled project as Proxy Cache\n",
"description": "To enable project as Proxy Cache\n",
"willReplaceOnChanges": true
},
"storageQuota": {
Expand Down Expand Up @@ -1713,6 +1754,9 @@
"enabled": {
"type": "boolean"
},
"executeOnChanged": {
"type": "boolean"
},
"filters": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1764,6 +1808,9 @@
"enabled": {
"type": "boolean"
},
"executeOnChanged": {
"type": "boolean"
},
"filters": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1812,6 +1859,9 @@
"enabled": {
"type": "boolean"
},
"executeOnChanged": {
"type": "boolean"
},
"filters": {
"type": "array",
"items": {
Expand Down Expand Up @@ -2310,7 +2360,7 @@
"description": "The provider-assigned unique ID for this managed resource.\n"
},
"insecure": {
"type": "string"
"type": "boolean"
},
"name": {
"type": "string"
Expand Down
51 changes: 27 additions & 24 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@ go 1.20

replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e

replace github.com/pulumi/pulumi/pkg/v3 => github.com/pulumi/pulumi/pkg/v3 v3.97.0

require (
github.com/goharbor/terraform-provider-harbor v1.4.1-0.20231020100045-6aecdd7c1520
github.com/pulumi/pulumi-terraform-bridge/v3 v3.67.0
github.com/pulumi/pulumi/sdk/v3 v3.96.2
github.com/goharbor/terraform-provider-harbor v1.4.1-0.20231211161417-32335770abce
github.com/pulumi/pulumi-terraform-bridge/v3 v3.68.0
github.com/pulumi/pulumi/sdk/v3 v3.97.0
)

require (
cloud.google.com/go v0.110.4 // indirect
cloud.google.com/go/compute v1.20.1 // indirect
cloud.google.com/go v0.110.8 // indirect
cloud.google.com/go/compute v1.23.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.1 // indirect
cloud.google.com/go/kms v1.12.1 // indirect
cloud.google.com/go/logging v1.7.0 // indirect
cloud.google.com/go/iam v1.1.2 // indirect
cloud.google.com/go/kms v1.15.2 // indirect
cloud.google.com/go/logging v1.8.1 // indirect
cloud.google.com/go/longrunning v0.5.1 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
dario.cat/mergo v1.0.0 // indirect
Expand Down Expand Up @@ -72,6 +74,7 @@ require (
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deckarep/golang-set/v2 v2.5.0 // indirect
github.com/dimchansky/utfbom v1.1.1 // indirect
github.com/djherbis/times v1.5.0 // indirect
github.com/edsrzf/mmap-go v1.1.0 // indirect
Expand All @@ -85,18 +88,18 @@ require (
github.com/gofrs/uuid v4.2.0+incompatible // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.4.2 // indirect
github.com/golang/glog v1.1.0 // indirect
github.com/golang/glog v1.1.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/google/wire v0.5.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
Expand All @@ -106,7 +109,7 @@ require (
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.5.1 // indirect
github.com/hashicorp/go-plugin v1.6.0 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
Expand All @@ -121,7 +124,7 @@ require (
github.com/hashicorp/hcl/v2 v2.18.0 // indirect
github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.20.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-sdk v1.8.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 // indirect
Expand Down Expand Up @@ -175,7 +178,7 @@ require (
github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect
github.com/pulumi/pulumi-yaml v1.4.3 // indirect
github.com/pulumi/pulumi/pkg/v3 v3.95.0 // indirect
github.com/pulumi/pulumi/pkg/v3 v3.96.2 // indirect
github.com/pulumi/schema-tools v0.1.2 // indirect
github.com/pulumi/terraform-diff-reader v0.0.2 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
Expand All @@ -200,7 +203,7 @@ require (
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
Expand All @@ -215,20 +218,20 @@ require (
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/oauth2 v0.13.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/term v0.14.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.15.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.126.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect
google.golang.org/grpc v1.57.1 // indirect
google.golang.org/api v0.128.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
google.golang.org/grpc v1.60.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
Expand Down

0 comments on commit 93e35f0

Please sign in to comment.