Skip to content

Add support for all currently available configuration options#26

Merged
runningcode merged 1 commit into
runningcode:masterfrom
winterDroid:support-more-properties
Feb 21, 2019
Merged

Add support for all currently available configuration options#26
runningcode merged 1 commit into
runningcode:masterfrom
winterDroid:support-more-properties

Conversation

@winterDroid

Copy link
Copy Markdown
Contributor

Added support for a map of environment-variables
Removed clearPackageData in favor of that
Added support for directories-to-pull and files-to-download
Added support for timeout in minutes
Added support for record-video
Added support for performance-metrics

Added support for a map of environment-variables
Removed clearPackageData in favor of that
Added support for directories-to-pull and files-to-download
Added support for timeout in minutes
Added support for record-video
Added support for performance-metrics
@winterDroid

Copy link
Copy Markdown
Contributor Author

@runningcode ended up unfortunately to be a bit more changes than expected but I didn't want to have a separate PR for each option - hope that's fine to you :)

@runningcode runningcode left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for doing this.

val configs: NamedDomainObjectContainer<FladleConfigImpl> = project.container(FladleConfigImpl::class.java) {
FladleConfigImpl(it, flankVersion, projectId, serviceAccountCredentials, useOrchestrator, autoGoogleLogin, clearPackageData, devices, testTargets, testShards, repeatTests, smartFlankGcsPath, resultsHistoryName, flakyTestAttempts)
FladleConfigImpl(
name = it,

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, thanks for breaking this up!

val testTargets = extension.testTargets
extension.resultsHistoryName?.let {
builder.appendln(" results-history-name: $it")
internal fun writeAdditionalProperties(config: FladleConfig): String = buildString {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooo, fancy kotlin!

@runningcode
runningcode merged commit c6849f7 into runningcode:master Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants