Skip to content

Commit

Permalink
feat(config): add vault provider
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Yang <[email protected]>
  • Loading branch information
FrankYang0529 committed Oct 27, 2022
1 parent f94e397 commit e8d336c
Show file tree
Hide file tree
Showing 18 changed files with 583 additions and 35 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
nomadUrl: "https://releases.hashicorp.com/nomad/1.3.1/nomad_1.3.1_linux_amd64.zip",
nomadBinary: "nomad",
pathInNomadArchive: "nomad",
vaultUrl: "https://releases.hashicorp.com/vault/1.11.4/vault_1.11.4_linux_amd64.zip",
vaultBinary: "vault",
pathInVaultArchive: "vault",
hippoUrl: "https://github.com/deislabs/hippo/releases/download/v0.19.0/hippo-server-linux-x64.tar.gz",
wasmtimeUrl: "https://github.com/bytecodealliance/wasmtime/releases/download/v0.36.0/wasmtime-v0.36.0-x86_64-linux.tar.xz",
wasmtimeBinary: "wasmtime",
Expand All @@ -47,6 +50,9 @@ jobs:
nomadUrl: "https://releases.hashicorp.com/nomad/1.3.1/nomad_1.3.1_darwin_amd64.zip",
nomadBinary: "nomad",
pathInNomadArchive: "nomad",
vaultUrl: "https://releases.hashicorp.com/vault/1.11.4/vault_1.11.4_darwin_amd64.zip",
vaultBinary: "vault",
pathInVaultArchive: "vault",
hippoUrl: "https://github.com/deislabs/hippo/releases/download/v0.19.0/hippo-server-osx-x64.tar.gz",
}
- {
Expand All @@ -59,6 +65,9 @@ jobs:
nomadUrl: "https://releases.hashicorp.com/nomad/1.3.1/nomad_1.3.1_windows_amd64.zip",
nomadBinary: "nomad.exe",
pathInNomadArchive: "nomad.exe",
vaultUrl: "https://releases.hashicorp.com/vault/1.11.4/vault_1.11.4_windows_amd64.zip",
vaultBinary: "vault.exe",
pathInVaultArchive: "vault.exe",
hippoUrl: "https://github.com/deislabs/hippo/releases/download/v0.19.0/hippo-server-win-x64.zip",
}
steps:
Expand Down Expand Up @@ -88,6 +97,13 @@ jobs:
url: ${{ matrix.config.nomadUrl }}
pathInArchive: ${{ matrix.config.pathInNomadArchive }}

- name: Install vault
uses: engineerd/[email protected]
with:
name: ${{ matrix.config.vaultBinary }}
url: ${{ matrix.config.vaultUrl }}
pathInArchive: ${{ matrix.config.pathInVaultArchive }}

- name: Install hippo
if: ${{ fromJSON(matrix.config.os != 'windows-latest') }}
run: |
Expand Down
Loading

0 comments on commit e8d336c

Please sign in to comment.