summaryrefslogtreecommitdiff
path: root/buildscripts/package_test/.kitchen.yml
blob: 93778f0e62044e602cf3a27efe416460f61a28bb (plain)
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
---
driver:
  name: ec2
  region: us-east-1
  vpc_mode: true
  vpc_id: <%= ENV['KITCHEN_VPC'] %>
  subnet_id: <%= ENV['KITCHEN_SUBNET'] %>
  security_group_ids:
    - <%= ENV['KITCHEN_SECURITY_GROUP'] %>
  aws_ssh_key_id: <%= ENV['KITCHEN_SSH_KEY_ID'] %>
  interface: private
  associate_public_ip: true
  tags:
    name: "server package test"
    owner: "build"
    expire-on: "<%= ENV['KITCHEN_EXPIRE'] %>"

verifier:
  name: inspec
  sudo: true

provisioner:
  name: chef_zero
  log_level: info
  product_name: cinc
  product_version: 16.7.61
  download_url: https://omnitruck.cinc.sh/install.sh

platforms:
  - name: amazon-x86-64
    driver:
      image_id: ami-0080e4c5bc078760e
    transport:
      username: ec2-user
  - name: amazon2-x86-64
    driver:
      image_id: ami-428aa838
    transport:
      username: ec2-user
  - name: amazon2-arm64
    driver:
      image_id: ami-0c582118883b46f4f
      instance_type: c6g.medium
    transport:
      username: ec2-user
  - name: debian71-x86-64
    driver:
      image_id: ami-4b124a22
    transport:
      username: admin
  - name: debian81-x86-64
    driver:
      image_id: ami-896d85e2
    transport:
      username: admin
  - name: debian92-x86-64
    driver:
      image_id: ami-71b7750b
    transport:
      username: admin
  - name: debian10-x86-64
    driver:
      image_id: ami-0dedf6a6502877301
    transport:
      username: admin
  - name: rhel70-x86-64
    driver:
      image_id: ami-2051294a
    transport:
      username: root
  - name: rhel80-x86-64
    driver:
      image_id: ami-0c322300a1dd5dc79
    transport:
      username: ec2-user
  - name: rhel82-arm64
    driver:
      image_id: ami-029ba835ddd43c34f
      instance_type: m6g.medium
    transport:
      username: ec2-user
  - name: suse11-x86-64
    driver:
      image_id: ami-7f2e6015
    transport:
      username: ec2-user
  - name: suse12-x86-64
    driver:
      image_id: ami-043eebeabcc4e3d35
    transport:
      username: ec2-user
  - name: suse15-x86-64
    driver:
      image_id: ami-06ea7729e394412c8
    transport:
      username: ec2-user
  - name: ubuntu1204-x86-64
    driver:
      image_id: ami-3fec7956
    transport:
      username: ubuntu
  - name: ubuntu1404-x86-64
    driver:
      image_id: ami-1d8c9574
    transport:
      username: ubuntu
  - name: ubuntu1604-x86-64
    driver:
      image_id: ami-64140d0e
    transport:
      username: ubuntu
  - name: ubuntu1804-x86-64
    driver:
      image_id: ami-7ad76705
    transport:
      username: ubuntu
  - name: ubuntu1804-arm64
    driver:
      image_id: ami-01ac7d9c1179d7b74
      instance_type: m6g.medium
  - name: ubuntu2004-x86-64
    driver:
      image_id: ami-068663a3c619dd892
    transport:
      username: ubuntu
  - name: ubuntu2004-arm64
    driver:
      image_id: ami-00579fbb15b954340
      instance_type: m6g.medium

transport:
  ssh_key: ~/.ssh/kitchen.pem

suites:
  - name: service
    run_list:
      - recipe[package_test::install_mongodb]
    attributes:
      artifacts_url: <%= ENV['KITCHEN_ARTIFACTS_URL'] %>