Run ec2_vol_facts integration tests in CI (#48755)

Filter owner aliases by 'amazon' since amazon marketplace may not be activated
This commit is contained in:
Sloane Hertel 2019-08-30 11:47:32 -04:00 committed by Tim Rupp
parent e4e5005640
commit 0c2590d3df
3 changed files with 4 additions and 5 deletions

View file

@ -1,2 +1,2 @@
cloud/aws cloud/aws
unsupported shippable/aws/group2

View file

@ -20,8 +20,8 @@
- assert: - assert:
that: that:
- output is changed - output is changed
- output.repositoryName == '{{ resource_prefix }}_repo' - output['repository_metadata'].repository_name == '{{ resource_prefix }}_repo'
- output.repositoryDescription == 'original comment' - output['repository_metadata'].repository_description == 'original comment'
# ============================================================ # ============================================================
- name: Create a repository (CHECK MODE) - name: Create a repository (CHECK MODE)
aws_codecommit: aws_codecommit:
@ -34,8 +34,6 @@
- assert: - assert:
that: that:
- output is changed - output is changed
- output.repositoryName == '{{ resource_prefix }}_check_repo'
- output.repositoryDescription == 'original comment'
# ============================================================ # ============================================================
- name: Delete a repository (CHECK MODE) - name: Delete a repository (CHECK MODE)
aws_codecommit: aws_codecommit:

View file

@ -11,6 +11,7 @@
- block: - block:
- ec2_ami_info: - ec2_ami_info:
owners: amazon
<<: *aws_connection_info <<: *aws_connection_info
filters: filters:
architecture: x86_64 architecture: x86_64