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

Commit

Permalink
test docker compose must include secrets config (#149)
Browse files Browse the repository at this point in the history
* test docker compose must include secrets config

* satisfy clippy
  • Loading branch information
chunningham authored Jul 20, 2023
1 parent 5380e33 commit 03b0494
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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

0 comments on commit 03b0494

Please sign in to comment.