Skip to content

Commit 90d522f

Browse files
committed
simplify release logic in readme and add instructions on external schema acc test
1 parent 0928b25 commit 90d522f

File tree

1 file changed

+5
-36
lines changed

1 file changed

+5
-36
lines changed

README.md

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ TF_ACC_TERRAFORM_PATH=<path to tofu binary>
6666
REDSHIFT_DATABASE=redshift
6767
REDSHIFT_ROOT_USERNAME=someotherroot
6868

69+
# redshift external schema data catalog test setup
70+
REDSHIFT_EXTERNAL_SCHEMA_DATA_CATALOG_DATABASE=<data catalog database>
71+
REDSHIFT_EXTERNAL_SCHEMA_DATA_CATALOG_IAM_ROLE_ARNS=<iam role arns comma separated>
72+
6973
# user + password setup
7074
REDSHIFT_HOST=<cluster ip or DNS>
7175
REDSHIFT_USER=root
@@ -102,39 +106,4 @@ Use `go generate` to update generated docs.
102106

103107
## Releasing
104108

105-
Builds and releases are automated with GitHub Actions and [GoReleaser](https://github.com/goreleaser/goreleaser/).
106-
The changelog is managed
107-
with [github-changelog-generator](https://github.com/github-changelog-generator/github-changelog-generator).
108-
109-
Currently there are a few manual steps to this:
110-
111-
1. Update the changelog:
112-
113-
```sh
114-
RELEASE_VERSION=v... \
115-
CHANGELOG_GITHUB_TOKEN=... \
116-
make changelog
117-
```
118-
119-
This will commit the changelog locally.
120-
121-
2. Review generated changelog and push:
122-
123-
View the committed changelog with `git show`. If all is well `git push origin
124-
master`.
125-
126-
3. Kick off the release:
127-
128-
```sh
129-
RELEASE_VERSION=v... \
130-
make release
131-
```
132-
133-
Once the command exits, you can monitor the rest of the process on the
134-
[Actions UI](https://github.com/dbsystel/terraform-provider-redshift/actions?query=workflow%3Arelease).
135-
136-
4. Publish release:
137-
138-
The Action creates the release, but leaves it in "draft" state. Open it up in
139-
a [browser](https://github.com/dbsystel/terraform-provider-redshift/releases)
140-
and if all looks well, click the publish button.
109+
Builds and releases are automated with GitHub Actions and [GoReleaser](https://github.com/goreleaser/goreleaser/). To kick off the release, simply create a new tag. The GitHub Release Action will run automatically and as soon as the release is drafted and everything looks good, you can publish it manually.

0 commit comments

Comments
 (0)