Skip to content

Commit 461c50e

Browse files
rootroot
authored andcommitted
fixed conflicts
1 parent 2d92ab9 commit 461c50e

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

google_function/.terrahub.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,9 @@ component:
2323
source: ./demo.zip
2424
google_cloudfunctions_function:
2525
google_function:
26-
<<<<<<< HEAD:google_function/.terrahub.yml
2726
depends_on:
2827
- google_storage_bucket_object.google_storage_object
2928
name: 'demofunction${local.project["code"]}'
30-
=======
31-
name: 'demofunction${local.project["code"]}'
32-
depends_on:
33-
- google_storage_bucket_object.google_storage_object
34-
>>>>>>> 954e40474032055d4b4f929cfdbe7991e50c8e39:google_function/.terrahub.yml
3529
region: us-central1
3630
runtime: nodejs8
3731
description: My demo function
@@ -41,24 +35,6 @@ component:
4135
trigger_http: true
4236
timeout: 60
4337
entry_point: helloGET
44-
<<<<<<< HEAD:google_function/.terrahub.yml
45-
=======
46-
google_storage_bucket_object:
47-
google_storage_object:
48-
name: demo.zip
49-
bucket: '${data.terraform_remote_state.storage.thub_id}'
50-
source: ./demo.zip
51-
terraform:
52-
backend:
53-
local:
54-
path: /tmp/.terrahub/local_backend/google_function/terraform.tfstate
55-
data:
56-
terraform_remote_state:
57-
storage:
58-
backend: local
59-
config:
60-
path: /tmp/.terrahub/local_backend/google_storage/terraform.tfstate
61-
>>>>>>> 954e40474032055d4b4f929cfdbe7991e50c8e39:google_function/.terrahub.yml
6238
output:
6339
id:
6440
value: '${google_cloudfunctions_function.google_function.id}'
@@ -88,20 +64,7 @@ build:
8864
build:
8965
commands:
9066
- 'echo "BUILD: Running build step"'
91-
<<<<<<< HEAD:google_function/.terrahub.yml
9267
- ./scripts/build.sh $COMPONENT_NAME $OBJECT_NAME $THUB_BUCKET_KEY/
93-
=======
94-
- >-
95-
if [ "$(head -n 1 "$THUB_FUNCTION_TXT")" != "$(stat -c %y
96-
"${THUB_BUILD_PATH}/index.js")" ]; then zip -j ${THUB_FUNCTION_ZIP}
97-
${THUB_BUILD_PATH}/index.js; fi
98-
- >-
99-
if [ "$(head -n 1 "$THUB_FUNCTION_TXT")" != "$(stat -c %y
100-
"${THUB_BUILD_PATH}/index.js")" ]; then terrahub configure -i
101-
google_function -c
102-
component.template.resource.google_storage_bucket_object.google_storage_object.name=$(date
103-
+%s).zip; fi
104-
>>>>>>> 954e40474032055d4b4f929cfdbe7991e50c8e39:google_function/.terrahub.yml
10568
finally:
10669
- 'echo "BUILD: build step successful"'
10770
post_build:

0 commit comments

Comments
 (0)