forked from openbao/openbao
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openbao#106 from cipherboy/add-redis-plugin
Part 8/n - Add redis plugin
- Loading branch information
Showing
26 changed files
with
2,329 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Overview | ||
A high level description of the contribution, including: | ||
Who the change affects or is for (stakeholders)? | ||
What is the change? | ||
Why is the change needed? | ||
How does this change affect the user experience (if at all)? | ||
|
||
# Related Issues/Pull Requests | ||
- [ ] [Issue #1234](https://github.com/hashicorp/vault/issues/1234) | ||
- [ ] [PR #1234](https://github.com/hashicorp/vault/pr/1234) | ||
|
||
# Contributor Checklist | ||
- [ ] Add relevant docs to upstream Vault repository, or sufficient reasoning why docs won’t be added yet | ||
- [ ] Add output for any tests not ran in CI to the PR description (eg, acceptance tests) | ||
- [ ] Backwards compatible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: Acceptance Tests | ||
|
||
on: push | ||
|
||
jobs: | ||
run-acceptance-tests: | ||
uses: hashicorp/vault-workflows-common/.github/workflows/acc-tests.yaml@1540ee539622447caf4c0269252b0d7d1d897dba | ||
secrets: inherit |
17 changes: 17 additions & 0 deletions
17
plugins/database/redis/.github/workflows/bulk-dep-upgrades.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Upgrade dependencies | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Runs 12:00AM on the first of every month | ||
- cron: '0 0 1 * *' | ||
jobs: | ||
upgrade: | ||
# using `main` as the ref will keep your workflow up-to-date | ||
uses: hashicorp/vault-workflows-common/.github/workflows/bulk-dependency-updates.yaml@main | ||
secrets: | ||
VAULT_ECO_GITHUB_TOKEN: ${{ secrets.VAULT_ECO_GITHUB_TOKEN }} | ||
with: | ||
# either hashicorp/vault-ecosystem-applications or hashicorp/vault-ecosystem-foundations | ||
reviewer-team: hashicorp/vault-ecosystem-applications | ||
repository: ${{ github.repository }} | ||
run-id: ${{ github.run_id }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Jira Sync | ||
on: | ||
issues: | ||
types: [opened, closed, deleted, reopened] | ||
pull_request_target: | ||
types: [opened, closed, reopened] | ||
issue_comment: # Also triggers when commenting on a PR from the conversation view | ||
types: [created] | ||
jobs: | ||
sync: | ||
uses: hashicorp/vault-workflows-common/.github/workflows/jira.yaml@main | ||
# assuming you use Vault to get secrets | ||
# if you use GitHub secrets, use secrets.XYZ instead of steps.secrets.outputs.XYZ | ||
secrets: | ||
JIRA_SYNC_BASE_URL: ${{ secrets.JIRA_SYNC_BASE_URL }} | ||
JIRA_SYNC_USER_EMAIL: ${{ secrets.JIRA_SYNC_USER_EMAIL }} | ||
JIRA_SYNC_API_TOKEN: ${{ secrets.JIRA_SYNC_API_TOKEN }} | ||
with: | ||
teams-array: '["ecosystem", "applications"]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Tests | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
get-go-version: | ||
name: "Determine Go toolchain version" | ||
runs-on: ubuntu-latest | ||
outputs: | ||
go-version: ${{ steps.get-go-version.outputs.go-version }} | ||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- name: Determine Go version | ||
id: get-go-version | ||
run: | | ||
echo "Building with Go $(cat .go-version)" | ||
echo "go-version=$(cat .go-version)" >> $GITHUB_OUTPUT | ||
fmtcheck: | ||
runs-on: ubuntu-latest | ||
needs: [get-go-version] | ||
env: | ||
GOFUMPT_VERSION: 0.3.1 | ||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | ||
with: | ||
go-version: ${{ needs.get-go-version.outputs.go-version }} | ||
- run: | | ||
go install "mvdan.cc/gofumpt@v${GOFUMPT_VERSION}" | ||
make fmtcheck | ||
test: | ||
runs-on: ubuntu-latest | ||
needs: [get-go-version] | ||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | ||
with: | ||
go-version: ${{ needs.get-go-version.outputs.go-version }} | ||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- run: make testacc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.DS_Store | ||
.idea | ||
.vscode | ||
pkg/* | ||
bin/* | ||
|
||
bootstrap/terraform/.terraform | ||
bootstrap/terraform/terraform.tfstate | ||
bootstrap/terraform/terraform.tfstate.backup | ||
bootstrap/terraform/local_environment_setup.sh | ||
scripts/tests/tls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.20.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Unreleased | ||
|
||
## v0.2.2 | ||
IMPROVEMENTS: | ||
* Updated dependencies: | ||
* `github.com/hashicorp/vault/sdk` v0.9.0 -> v0.9.2 | ||
* `github.com/mediocregopher/radix/v4` v4.1.2 -> v4.1.4 | ||
* `github.com/ory/dockertest/v3` v3.9.1 -> v3.10.0 | ||
|
||
## v0.2.1 | ||
* Dependency upgrades | ||
|
||
## v0.2.0 | ||
* No feature changes | ||
|
||
## v0.1.0 | ||
|
||
* Initial release of the Redis database secrets engine for Vault |
Oops, something went wrong.