Change GCP sample deploy directory to target/deploy
Fixes: #486. Resolves #487
This commit is contained in:
committed by
Oleg Zhurakousky
parent
b5592d8e7a
commit
82df971c2b
@@ -1 +0,0 @@
|
||||
deploy/
|
||||
@@ -27,7 +27,7 @@ Package the application.
|
||||
mvn package
|
||||
----
|
||||
|
||||
You should see the fat jar in the `deploy` directory.
|
||||
You should see the fat jar in the `target/deploy` directory.
|
||||
|
||||
Make sure that you have the https://cloud.google.com/sdk/install[Cloud SDK CLI] installed.
|
||||
|
||||
@@ -38,7 +38,7 @@ gcloud alpha functions deploy function-sample-gcp \
|
||||
--entry-point org.springframework.cloud.function.adapter.gcloud.FunctionInvoker \
|
||||
--runtime java11 \
|
||||
--trigger-http \
|
||||
--source deploy \
|
||||
--source target/deploy \
|
||||
--memory 512MB
|
||||
----
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
</goals>
|
||||
<configuration>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<outputDirectory>deploy</outputDirectory>
|
||||
<outputDirectory>target/deploy</outputDirectory>
|
||||
<shadedClassifierName>gcp</shadedClassifierName>
|
||||
<transformers>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
||||
|
||||
Reference in New Issue
Block a user