mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-29 08:01:31 -07:00
Fixing additional tests
Fixing some of the existing failing tests in the CI process. Specifically: - gcp_appengine_firewall_rule: modified validation to support the default firewall rule - gcp_cloudfunctions_cloud_function: bootstrapping the required GS bucket and files for creating a valid cloud function. - Slight update to the functionality, which now requires a runtime specified for new functions. -
This commit is contained in:
parent
c5723b214f
commit
0387ad3c17
10 changed files with 203 additions and 134 deletions
9
test-fixtures/cloud-function-source/main.py
Normal file
9
test-fixtures/cloud-function-source/main.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
import functions_framework
|
||||
|
||||
# Register an HTTP function with the Functions Framework
|
||||
@functions_framework.http
|
||||
def helloGET(request):
|
||||
# Your code here
|
||||
|
||||
# Return an HTTP response
|
||||
return "OK"
|
Loading…
Add table
Add a link
Reference in a new issue