1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[Scaleway] Fix function namespace integration tests assertions (#5464)

Signed-off-by: Lunik <lunik@tiwabbit.fr>

Signed-off-by: Lunik <lunik@tiwabbit.fr>
This commit is contained in:
Guillaume MARTINEZ 2022-11-03 06:45:37 +01:00 committed by GitHub
parent 524fdf234b
commit c181f2dd08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@
name: '{{ name }}'
region: '{{ scaleway_region }}'
project_id: '{{ scw_project }}'
description: '{{ description }}'
description: '{{ updated_description }}'
environment_variables: '{{ environment_variables }}'
secret_environment_variables: '{{ updated_secret_environment_variables }}'
register: fn_update_secret_check_task
@ -165,7 +165,7 @@
name: '{{ name }}'
region: '{{ scaleway_region }}'
project_id: '{{ scw_project }}'
description: '{{ description }}'
description: '{{ updated_description }}'
environment_variables: '{{ environment_variables }}'
secret_environment_variables: '{{ updated_secret_environment_variables }}'
register: fn_update_secret_task
@ -179,7 +179,7 @@
- fn_update_secret_task is success
- fn_update_secret_task is changed
- fn_update_secret_task.function_namespace.status == "ready"
- "'hashed_value' in fn_creation_task.function_namespace.secret_environment_variables[0]"
- "'hashed_value' in fn_update_secret_task.function_namespace.secret_environment_variables[0]"
- name: Update function namespace secret variables (Confirmation)
community.general.scaleway_function_namespace:
@ -187,7 +187,7 @@
name: '{{ name }}'
region: '{{ scaleway_region }}'
project_id: '{{ scw_project }}'
description: '{{ description }}'
description: '{{ updated_description }}'
environment_variables: '{{ environment_variables }}'
secret_environment_variables: '{{ updated_secret_environment_variables }}'
register: fn_update_secret_confirmation_task
@ -201,7 +201,7 @@
- fn_update_secret_confirmation_task is success
- fn_update_secret_confirmation_task is not changed
- fn_update_secret_confirmation_task.function_namespace.status == "ready"
- "'hashed_value' in fn_creation_task.function_namespace.secret_environment_variables[0]"
- "'hashed_value' in fn_update_secret_confirmation_task.function_namespace.secret_environment_variables[0]"
- name: Delete function namespace (Check)
check_mode: yes