Skip to content

Commit

Permalink
Merge pull request #653 from atlanhq/DVX-385
Browse files Browse the repository at this point in the history
(Experimental) Custom package object storage support
  • Loading branch information
cmgrote committed May 23, 2024
2 parents f93760f + ec899cc commit 9fd111a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import java.nio.file.Paths
import java.util.concurrent.ThreadLocalRandom
import java.util.concurrent.atomic.AtomicLong
import kotlin.io.path.isDirectory
import kotlin.io.path.listDirectoryEntries
import kotlin.io.path.name
import kotlin.io.path.readText
import kotlin.math.round
import kotlin.system.exitProcess
Expand Down Expand Up @@ -496,7 +498,9 @@ object Utils {
uploadResult
} else {
logger.info { "Cloud details: $cloudDetails" }
val contents = Paths.get(cloudDetails).readText()
val files = Paths.get("/tmp/credentials").listDirectoryEntries()
logger.info { "Files: ${files.map { it.name }.toList()}" }
val contents = Paths.get("/tmp/credentials/$cloudDetails.json").readText()
logger.info { "Content: $contents" }
// val defaultRegion = getEnvVar("AWS_S3_REGION")
// val defaultBucket = getEnvVar("AWS_S3_BUCKET_NAME")
Expand Down

0 comments on commit 9fd111a

Please sign in to comment.