generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 5
92 lines (89 loc) · 2.93 KB
/
ansible-test-integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: integration
on:
pull_request:
push:
branches:
- main
# schedule:
# - cron: "0 6 * * *"
workflow_dispatch:
jobs:
integration:
runs-on: ubuntu-latest
timeout-minutes: 40
strategy:
fail-fast: false
max-parallel: 1
matrix:
module:
# - scaleway_account_project
# - scaleway_applesilicon_server
# - scaleway_baremetal_server
# - scaleway_container
# - scaleway_container_cron
# - scaleway_container_domain
# - scaleway_container_namespace
# - scaleway_container_token
# - scaleway_domain_ssl_certificate
# - scaleway_flexibleip_flexible_ip
# - scaleway_function
# - scaleway_function_cron
# - scaleway_function_domain
# - scaleway_function_namespace
# - scaleway_function_token
# - scaleway_function_trigger
# - scaleway_iam_api_key
# - scaleway_iam_application
# - scaleway_iam_group
# - scaleway_iam_policy
# - scaleway_iam_ssh_key
# - scaleway_instance_image
# - scaleway_instance_ip
# - scaleway_instance_placement_group
# - scaleway_instance_private_nic
# - scaleway_instance_security_group
# - scaleway_instance_security_group_rule
# - scaleway_instance_snapshot
# - scaleway_instance_volume
# - scaleway_iot_device
# - scaleway_iot_hub
# - scaleway_iot_network
# - scaleway_iot_route
# - scaleway_k8s_cluster
# - scaleway_k8s_pool
# - scaleway_lb
# - scaleway_lb_acl
# - scaleway_lb_backend
# - scaleway_lb_certificate
# - scaleway_lb_frontend
# - scaleway_lb_route
# - scaleway_lb_subscriber
# - scaleway_mnq_credential
# - scaleway_mnq_namespace
# - scaleway_rdb_database_backup
# - scaleway_rdb_endpoint
# - scaleway_rdb_instance
# - scaleway_rdb_read_replica
# - scaleway_rdb_snapshot
# - scaleway_redis_cluster
- scaleway_registry_namespace
# - scaleway_secret
# - scaleway_vpc_private_network
# - scaleway_vpcgw_dhcp
# - scaleway_vpcgw_dhcp_entry
# - scaleway_vpcgw_gateway
# - scaleway_vpcgw_gateway_network
# - scaleway_vpcgw_ip
# - scaleway_vpcgw_pat_rule
steps:
- name: Perform testing
uses: ansible-community/ansible-test-gh-action@release/v1
with:
target-python-version: 3.9
controller-python-version: auto
target: ${{ matrix.module }}
testing-type: integration
env:
SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}
SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}
SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}