Skip to content

Commit

Permalink
Regenerate properties templates
Browse files Browse the repository at this point in the history
  • Loading branch information
patchwork01 committed Oct 22, 2024
1 parent 2d84064 commit afd8f16
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions example/full/instance.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ sleeper.retain.infra.after.destroy=true
# DashboardStack, TableMetricsStack]
sleeper.optional.stacks=IngestStack,IngestBatcherStack,EmrServerlessBulkImportStack,EmrStudioStack,QueryStack,AthenaStack,CompactionStack,GarbageCollectorStack,PartitionSplittingStack,DashboardStack,TableMetricsStack

# The deployment type for AWS Lambda. Not case sensitive.
# Valid values: [jar, container]
sleeper.lambda.deploy.type=jar

# The AWS account number. This is the AWS account that the instance will be deployed to.
sleeper.account=1234567890

Expand Down
6 changes: 3 additions & 3 deletions scripts/dev/generatePropertiesTemplates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ PROJECT_ROOT=$(dirname "$(dirname "${THIS_DIR}")")

pushd "${PROJECT_ROOT}/java"
echo "Compiling..."
mvn install -Pquick -q -pl configuration -am
mvn install -Pquick -q -pl core -am
echo "Regenerating templates..."
mvn exec:java -q -pl configuration \
-Dexec.mainClass="sleeper.core.properties.deploy.GeneratePropertiesTemplates" \
mvn exec:java -q -pl core \
-Dexec.mainClass="sleeper.core.deploy.GeneratePropertiesTemplates" \
-Dexec.args="$PROJECT_ROOT"
popd
4 changes: 4 additions & 0 deletions scripts/templates/instanceproperties.template
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ sleeper.retain.infra.after.destroy=true
# DashboardStack, TableMetricsStack]
sleeper.optional.stacks=IngestStack,IngestBatcherStack,EmrServerlessBulkImportStack,EmrStudioStack,QueryStack,AthenaStack,CompactionStack,GarbageCollectorStack,PartitionSplittingStack,DashboardStack,TableMetricsStack

# The deployment type for AWS Lambda. Not case sensitive.
# Valid values: [jar, container]
sleeper.lambda.deploy.type=jar

# Whether to check that the VPC that the instance is deployed to has an S3 endpoint. If there is no S3
# endpoint then the NAT costs can be very significant.
sleeper.vpc.endpoint.check=true
Expand Down

0 comments on commit afd8f16

Please sign in to comment.