Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

test docker compose must include secrets config #149

Merged
merged 2 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ impl From<BlockConfig> for BlockStorage {
impl From<StagingStorage> for BlockStage {
fn from(c: StagingStorage) -> Self {
match c {
StagingStorage::Memory => Self::B(MemoryStaging::default()),
StagingStorage::FileSystem => Self::A(TempFileSystemStage::default()),
StagingStorage::Memory => Self::B(MemoryStaging),
StagingStorage::FileSystem => Self::A(TempFileSystemStage),
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ services:
KEPLER_STORAGE_BLOCKS_TYPE: S3
KEPLER_STORAGE_BLOCKS_ENDPOINT: "http://localstack:4566"
KEPLER_STORAGE_DATABASE: "postgres://postgres:postgres@postgres:5432/postgres"
KEPLER_KEYS_TYPE: "Static"
KEPLER_KEYS_SECRET: "U29tZSBsb25nIHBpZWNlIG9mIGVudHJvcHkgd2hpY2ggaXMgYSBzZWNyZXQgYW5kIG1vcmUgdGhhbiAzMiBieXRlcw"
AWS_ACCESS_KEY_ID: "test"
AWS_SECRET_ACCESS_KEY: "test"
AWS_DEFAULT_REGION: "us-east-1"
Expand Down