summaryrefslogtreecommitdiffstats
path: root/.github/data/distros.yml
blob: 452170c0797b103be851cd7b531b8c0bd2c05c30 (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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# This defines the full set of distros we run CI on.
---
platform_map: # map packaging architectures to docker platforms
  aarch64: linux/arm64/v8
  amd64: linux/amd64
  arm64: linux/arm64/v8
  armhf: linux/arm/v7
  armhfp: linux/arm/v7
  i386: linux/i386
  x86_64: linux/amd64
arch_order: # sort order for per-architecture jobs in CI
  - amd64
  - x86_64
  - i386
  - armhf
  - armhfp
  - arm64
  - aarch64
include:
  - &alpine
    distro: alpine
    version: edge
    env_prep: |
      apk add -U bash
    jsonc_removal: |
      apk del json-c-dev
    test:
      ebpf-core: true
  - <<: *alpine
    version: "3.17"
  - <<: *alpine
    version: "3.16"
  - <<: *alpine
    version: "3.15"
  - <<: *alpine
    version: "3.14"

  - distro: archlinux
    version: latest
    env_prep: |
      pacman --noconfirm -Syu && pacman --noconfirm -Sy grep libffi
    test:
      ebpf-core: true

  - &alma
    distro: almalinux
    version: "9"
    base_image: almalinux
    jsonc_removal: |
      dnf remove -y json-c-devel
    packages: &alma_packages
      type: rpm
      repo_distro: el/9
      alt_links:
        - el/9Server
        - el/9Client
      arches:
        - x86_64
        - aarch64
    test:
      ebpf-core: true
  - <<: *alma
    version: "8"
    packages:
      <<: *alma_packages
      repo_distro: el/8
      alt_links:
        - el/8Server
        - el/8Client

  - distro: centos
    version: "7"
    packages:
      type: rpm
      repo_distro: el/7
      alt_links:
        - el/7Server
        - el/7Client
      arches:
        - x86_64
    test:
      ebpf-core: false

  - &debian
    distro: debian
    version: "11"
    env_prep: |
      apt-get update
    jsonc_removal: |
      apt-get purge -y libjson-c-dev
    packages: &debian_packages
      type: deb
      repo_distro: debian/bullseye
      arches:
        - i386
        - amd64
        - armhf
        - arm64
    test:
      ebpf-core: true
  - <<: *debian
    version: "10"
    packages:
      <<: *debian_packages
      repo_distro: debian/buster
    test:
      ebpf-core: false

  - &fedora
    distro: fedora
    version: "37"
    jsonc_removal: |
      dnf remove -y json-c-devel
    packages: &fedora_packages
      type: rpm
      repo_distro: fedora/37
      arches:
        - x86_64
        - aarch64
    test:
      ebpf-core: true
  - <<: *fedora
    version: "36"
    packages:
      <<: *fedora_packages
      repo_distro: fedora/36
    test:
      ebpf-core: true

  - &opensuse
    distro: opensuse
    version: "15.4"
    base_image: opensuse/leap
    jsonc_removal: |
      zypper rm -y libjson-c-devel
    packages: &opensuse_packages
      type: rpm
      repo_distro: opensuse/15.4
      arches:
        - x86_64
        - aarch64
    test:
      ebpf-core: true

  - &oracle
    distro: oraclelinux
    version: "8"
    jsonc_removal: |
      dnf remove -y json-c-devel
    packages: &oracle_packages
      type: rpm
      repo_distro: ol/8
      arches:
        - x86_64
        - aarch64
    test:
      ebpf-core: true
  - <<: *oracle
    version: "9"
    packages:
      <<: *oracle_packages
      repo_distro: ol/9

  - &ubuntu
    distro: ubuntu
    version: "22.10"
    env_prep: |
      rm -f /etc/apt/apt.conf.d/docker && apt-get update
    jsonc_removal: |
      apt-get remove -y libjson-c-dev
    packages: &ubuntu_packages
      type: deb
      repo_distro: ubuntu/kinetic
      arches:
        - amd64
        - armhf
        - arm64
    test:
      ebpf-core: true
  - <<: *ubuntu
    version: "22.04"
    packages:
      <<: *ubuntu_packages
      repo_distro: ubuntu/jammy
  - <<: *ubuntu
    version: "20.04"
    packages:
      <<: *ubuntu_packages
      repo_distro: ubuntu/focal
  - <<: *ubuntu
    version: "18.04"
    packages:
      <<: *ubuntu_packages
      repo_distro: ubuntu/bionic
      arches:
        - i386
        - amd64
        - armhf
        - arm64
    test:
      ebpf-core: false