Skip to content

Commit

Permalink
v1.20.0 release and setup of the v1 branch (#537)
Browse files Browse the repository at this point in the history
* Update module github.com/aws/aws-sdk-go to v1.45.6 (#515)

(cherry picked from commit 4953af3)

* Update crazy-max/ghaction-import-gpg action to v6 (#516)

(cherry picked from commit ee28b90)

* Handle empty service account policy (#518)

(cherry picked from commit 779d356)

* Update repository URL (#520)

(cherry picked from commit 7a680c7)

* Update project to Go v1.20 (#519)

(cherry picked from commit be07cf7)

* Destroy object versions on bucket force_destroy (#524)

(cherry picked from commit a107f61)

* Update goreleaser-action to v5 and add permission for the workflow to attach binaries to GitHub Releases (#521)

(cherry picked from commit c06ddba)

* Add Noncurrent Version expiration to ilm policy (#526)

Co-authored-by: Nicolas De Jesus <[email protected]>
(cherry picked from commit f031109)

* Bump golang.org/x/net from 0.15.0 to 0.17.0 (#530)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](golang/net@v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ec7f197)

* Add service account values to read and import (#525)

(cherry picked from commit cf0c88d)

* Recreate user if it's not found anymore (#534)

Fixes #511

(cherry picked from commit 50bc121)

* Bump google.golang.org/grpc from 1.58.0 to 1.58.3 (#535)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.0 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 5fa1a1b)

* Revert "Update repository URL (#520)" (#538)

This reverts commit 7a680c7.

(cherry picked from commit 8a0b114)

* Update target branches of GitHub Actions to `v1` branch

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Artem Usenko <[email protected]>
Co-authored-by: Jonathan Buch <[email protected]>
Co-authored-by: Pat Sier <[email protected]>
Co-authored-by: ndejesus <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tobias Krischer <[email protected]>
  • Loading branch information
8 people committed Nov 4, 2023
1 parent 8338bdd commit 78a04a9
Show file tree
Hide file tree
Showing 15 changed files with 387 additions and 304 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Docs CI
on:
push:
branches:
- master
- v1
- feature/**
tags:
- 'v*'
- "v*"
pull_request:
branches:
- master
- v1
jobs:
mdvalidate:
name: Validate Markdown Files
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 1

- name: Markdown Link Validation
uses: gaurav-nelson/github-action-markdown-link-check@v1
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Terraform Provider CI
on:
push:
branches: [master]
branches: [v1]
pull_request:
branches: [master]
branches: [v1]
jobs:
checkup:
name: Checkup
Expand Down Expand Up @@ -32,13 +32,13 @@ jobs:
go-version-file: "go.mod"
- uses: dominikh/[email protected]
with:
version: "2022.1.1"
version: "2023.1.6"
install-go: false
- name: Build the docker-compose stack
run: docker-compose up -d minio
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.4.2
terraform_version: 1.4.7
terraform_wrapper: false
- name: Install Task
uses: arduino/setup-task@v1
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
Expand All @@ -28,12 +30,12 @@ jobs:
go-version-file: "go.mod"
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@d6f3f49f3345e29369fe57596a3ca8f94c4d2ca7 # v5.4.0
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<img alt="GitHub go.mod Go version" src="https://img.shields.io/github/go-mod/go-version/aminueza/terraform-provider-minio">
</a>
<a href="https://github.com/aminueza/terraform-provider-minio/actions?query=workflow%3A%22Terraform+Provider+CI%22">
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/aminueza/terraform-provider-minio/go.yml?branch=master">
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/aminueza/terraform-provider-minio/go.yml?branch=v1">
</a>
<a href="https://github.com/aminueza/terraform-provider-minio/releases">
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/aminueza/terraform-provider-minio?include_prereleases">
</a>
</p>
<p align="center">
<a href="https://github.com/aminueza/terraform-provider-minio/tree/master/docs"><strong>Explore the docs »</strong></a>
<a href="https://github.com/aminueza/terraform-provider-minio/tree/v1/docs"><strong>Explore the docs »</strong></a>
</p>
</p>

Expand All @@ -44,7 +44,7 @@ Made with <span style="color: #e25555;">&#9829;</span> using [Go](https://golang
## Supported Versions

- Terraform v1.4
- Go v1.19
- Go v1.20

It doesn't mean that this provider won't run on previous versions of Terraform or Go, though.
It just means that we can't guarantee backward compatibility.
Expand Down
1 change: 1 addition & 0 deletions docs/resources/ilm_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Optional:

- `expiration` (String)
- `filter` (String)
- `noncurrent_version_expiration_days` (Int)
- `tags` (Map of String)

Read-Only:
Expand Down
62 changes: 32 additions & 30 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,52 +1,53 @@
module github.com/aminueza/terraform-provider-minio

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go v1.45.2
github.com/aws/aws-sdk-go v1.45.9
github.com/google/go-cmp v0.5.9
github.com/hashicorp/awspolicyequivalence v1.6.0
github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637
github.com/hashicorp/terraform-plugin-sdk/v2 v2.28.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0
github.com/minio/madmin-go v1.7.5
github.com/minio/minio-go/v7 v7.0.63
gotest.tools/v3 v3.5.0
)

require (
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.10 // indirect
github.com/hashicorp/go-plugin v1.5.1 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/hc-install v0.5.2 // indirect
github.com/hashicorp/hcl/v2 v2.17.0 // indirect
github.com/hashicorp/hc-install v0.6.0 // indirect
github.com/hashicorp/hcl/v2 v2.18.0 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-exec v0.18.1 // indirect
github.com/hashicorp/terraform-exec v0.19.0 // indirect
github.com/hashicorp/terraform-json v0.17.1 // indirect
github.com/hashicorp/terraform-plugin-go v0.18.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.1 // indirect
github.com/hashicorp/terraform-registry-address v0.2.2 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.16.7 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/kr/pretty v0.2.1 // indirect
github.com/lufia/plan9stats v0.0.0-20230326075908-cb1d2100619a // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.18 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/minio/md5-simd v1.1.2 // indirect
github.com/minio/sha256-simd v1.0.1 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
Expand All @@ -59,29 +60,30 @@ require (
github.com/oklog/run v1.1.0 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect
github.com/prometheus/procfs v0.9.0 // indirect
github.com/prometheus/procfs v0.11.1 // indirect
github.com/rs/xid v1.5.0 // indirect
github.com/secure-io/sio-go v0.3.1 // indirect
github.com/shirou/gopsutil/v3 v3.23.3 // indirect
github.com/shoenig/go-m1cpu v0.1.5 // indirect
github.com/shirou/gopsutil/v3 v3.23.8 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/tinylib/msgp v1.1.8 // indirect
github.com/tklauser/go-sysconf v0.3.11 // indirect
github.com/tklauser/numcpus v0.6.0 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
github.com/zclconf/go-cty v1.13.2 // indirect
golang.org/x/crypto v0.12.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.1 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
github.com/zclconf/go-cty v1.14.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb // indirect
google.golang.org/grpc v1.58.3 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
)
Loading

0 comments on commit 78a04a9

Please sign in to comment.