Skip to content

Commit e56e25d

Browse files
authored
[chore][CI] Remove EOL distros from test matrices (#6073)
* Remove EOL distros from test matrices * Update changelog and also mass deployment notes
1 parent a389cf7 commit e56e25d

File tree

14 files changed

+29
-154
lines changed

14 files changed

+29
-154
lines changed

.github/workflows/ansible.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
name: Linux Test
5757
needs: lint
5858
# Use ubuntu-20.04.5 for containers with cgroups v1. Otherwise, use ubuntu-24.04 (cgroups v2).
59-
runs-on: ${{ fromJSON('["ubuntu-24.04", "ubuntu-20.04"]')[contains(fromJSON('["amazonlinux2", "centos9", "opensuse12", "ubuntu1604"]'), matrix.distro)] }}
59+
runs-on: ${{ fromJSON('["ubuntu-24.04", "ubuntu-20.04"]')[contains(fromJSON('["amazonlinux2", "centos9", "ubuntu1604"]'), matrix.distro)] }}
6060
strategy:
6161
fail-fast: false
6262
matrix:
@@ -71,7 +71,6 @@ jobs:
7171
- centos9
7272
- debian11
7373
- debian12
74-
- opensuse12
7574
- ubuntu2004
7675
- ubuntu2204
7776

.github/workflows/auto-instrumentation.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,18 @@ jobs:
9696
testcase="\"express\",\"tomcat\",\"dotnet\""
9797
# splunk-otel-dotnet currently not supported on arm64
9898
# amazonlinux-2 requires cgroup v1, only available on version 20.04 that doesn't have an arm runner
99-
# opensuse-12 (leap 42) does not support arm64
100-
exclude='{"ARCH": "arm64", "TESTCASE": "dotnet"},{"DISTRO": "opensuse-12", "ARCH": "arm64"},{"DISTRO": "amazonlinux-2", "ARCH": "arm64"}'
99+
exclude='{"ARCH": "arm64", "TESTCASE": "dotnet"},{"DISTRO": "amazonlinux-2", "ARCH": "arm64"}'
101100
matrix="{\"DISTRO\": [${distro%,}], \"ARCH\": [${arch}], \"TESTCASE\": [${testcase}], \"exclude\": [${exclude}]}"
102101
echo "$matrix" | jq
103102
echo "matrix=${matrix}" >> $GITHUB_OUTPUT
104103
outputs:
105104
matrix: ${{ steps.get-matrix.outputs.matrix }}
106105

107106
test-package:
108-
# Amazon Linux 2 and OpenSUSE 12 use cgroup v1
107+
# Amazon Linux 2 uses cgroup v1
109108
# Ubuntu 24.04 uses cgroup v2
110-
# Fallback to Ubuntu 20.04 when the matrix.DISRO is one of these two above
111-
runs-on: ubuntu-${{ (matrix.DISTRO != 'amazonlinux-2' && matrix.DISTRO != 'opensuse-12') && '24.04' || '20.04' }}${{ matrix.ARCH == 'arm64' && '-arm' || '' }}
109+
# Fallback to Ubuntu 20.04 when appropriate
110+
runs-on: ubuntu-${{ matrix.DISTRO != 'amazonlinux-2' && '24.04' || '20.04' }}${{ matrix.ARCH == 'arm64' && '-arm' || '' }}
112111
timeout-minutes: 60
113112
needs: [cross-compile, build-package, test-package-matrix]
114113
strategy:

.github/workflows/installer-script-test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,19 @@ jobs:
3838
distro=$(for d in $dockerfiles; do echo -n "\"$d\","; done)
3939
arch='"amd64","arm64"'
4040
instrumentation='"none","preload","systemd"'
41-
# opensuse-12 (leap 42) does not support arm64
4241
# amazonlinux-2 requires cgroup v1, only available on version 20.04 that doesn't have an arm runner
43-
exclude='{"DISTRO": "opensuse-12", "ARCH": "arm64"},{"DISTRO": "amazonlinux-2", "ARCH": "arm64"}'
42+
exclude='{"DISTRO": "amazonlinux-2", "ARCH": "arm64"}'
4443
matrix="{\"DISTRO\": [${distro%,}], \"ARCH\": [${arch}], \"INSTRUMENTATION\": [${instrumentation}], \"exclude\": [${exclude}]}"
4544
echo "$matrix" | jq
4645
echo "matrix=${matrix}" >> $GITHUB_OUTPUT
4746
outputs:
4847
matrix: ${{ steps.get-matrix.outputs.matrix }}
4948

5049
linux-installer-script-test:
51-
# Amazon Linux 2 and OpenSUSE 12 use cgroup v1
50+
# Amazon Linux 2 uses cgroup v1
5251
# Ubuntu 24.04 uses cgroup v2
53-
# Fallback to Ubuntu 20.04 when the matrix.DISRO is one of these two above
54-
runs-on: ubuntu-${{ (matrix.DISTRO != 'amazonlinux-2' && matrix.DISTRO != 'opensuse-12') && '24.04' || '20.04' }}${{ matrix.ARCH == 'arm64' && '-arm' || '' }}
52+
# Fallback to Ubuntu 20.04 when appropriate
53+
runs-on: ubuntu-${{ matrix.DISTRO != 'amazonlinux-2' && '24.04' || '20.04' }}${{ matrix.ARCH == 'arm64' && '-arm' || '' }}
5554
timeout-minutes: 90
5655
needs: installer-test-matrix
5756
strategy:

.github/workflows/linux-package-test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,20 +151,19 @@ jobs:
151151
fi
152152
distro=$(for d in $dockerfiles; do echo -n "\"$d\","; done)
153153
arch="\"amd64\", \"arm64\""
154-
# opensuse-12 (leap 42) does not support arm64
155-
# amazonlinux-2 and tar-centos-7 require cgroup v1, only available on version 20.04 that doesn't have an arm runner
156-
exclude='{"DISTRO": "opensuse-12", "ARCH": "arm64"},{"DISTRO": "amazonlinux-2", "ARCH": "arm64"},{"DISTRO": "tar-centos-7", "ARCH": "arm64"}'
154+
# amazonlinux-2 requires cgroup v1, only available on version 20.04 that doesn't have an arm runner
155+
exclude='{"DISTRO": "amazonlinux-2", "ARCH": "arm64"}'
157156
matrix="{\"DISTRO\": [${distro%,}], \"ARCH\": [${arch}], \"exclude\": [${exclude}]}"
158157
echo "$matrix" | jq
159158
echo "matrix=${matrix}" >> $GITHUB_OUTPUT
160159
outputs:
161160
matrix: ${{ steps.get-matrix.outputs.matrix }}
162161

163162
test-package:
164-
# Amazon Linux 2, OpenSUSE 12, and centos7 use cgroup v1
163+
# Amazon Linux 2 uses cgroup v1
165164
# Ubuntu 24.04 uses cgroup v2
166-
# Fallback to Ubuntu 20.04 when the matrix.DISRO is one of these two above
167-
runs-on: ubuntu-${{ (matrix.DISTRO != 'amazonlinux-2' && matrix.DISTRO != 'opensuse-12' && matrix.DISTRO != 'tar-centos-7') && '24.04' || '20.04' }}${{ matrix.ARCH == 'arm64' && '-arm' || '' }}
165+
# Fallback to Ubuntu 20.04 when appropriate
166+
runs-on: ubuntu-${{ matrix.DISTRO != 'amazonlinux-2' && '24.04' || '20.04' }}${{ matrix.ARCH == 'arm64' && '-arm' || '' }}
168167
timeout-minutes: 30
169168
needs: [build-package, test-package-matrix]
170169
strategy:

.github/workflows/puppet-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ jobs:
8080

8181
puppet-test:
8282
name: puppet-test
83-
# Amazon Linux 2 and OpenSUSE 12 use cgroup v1
83+
# Amazon Linux 2 uses cgroup v1
8484
# Ubuntu 24.04 uses cgroup v2
85-
# Fallback to Ubuntu 20.04 when the matrix.DISRO is one of these two above
86-
runs-on: ubuntu-${{ (matrix.DISTRO != 'amazonlinux-2' && matrix.DISTRO != 'opensuse-12') && '24.04' || '20.04' }}
85+
# Fallback to Ubuntu 20.04 when appropriate
86+
runs-on: ubuntu-${{ matrix.DISTRO != 'amazonlinux-2' && '24.04' || '20.04' }}
8787
timeout-minutes: 60
8888
needs:
8989
- puppet-lint

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### 🛑 Breaking changes 🛑
6+
7+
- (Splunk) Support for OpenSUSE 12 and CentOS 7 (tar package) has been dropped ([#6073](https://github.com/signalfx/splunk-otel-collector/pull/6073))
8+
59
## v0.122.0
610

711
This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.122.1](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.122.1)

deployments/ansible/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Observability Cloud](https://www.splunk.com/en_us/observability.html).
1313
Currently, the following Linux distributions and versions are supported:
1414

1515
- Amazon Linux: 2, 2023 (**Note:** Log collection with Fluentd not currently supported for Amazon Linux 2023.)
16-
- CentOS / Red Hat: 7, 8, 9
16+
- CentOS / Red Hat: 8, 9
1717
- Oracle: 8, 9
1818
- Debian: 9, 10, 11
19-
- SUSE: 12, 15 (**Note:** Only for collector versions v0.34.0 or higher. Log collection with Fluentd not currently supported.)
19+
- SUSE: 15 (**Note:** Only for collector versions v0.34.0 or higher. Log collection with Fluentd not currently supported.)
2020
- Ubuntu: 16.04, 18.04, 20.04, 22.04
2121

2222
## Windows

deployments/chef/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ https://www.splunk.com/en_us/observability.html).
1717
Currently, the following Linux distributions and versions are supported:
1818

1919
- Amazon Linux: 2
20-
- CentOS / Red Hat: 7, 8, 9
20+
- CentOS / Red Hat: 8, 9
2121
- Oracle: 8, 9
2222
- Debian: 9, 10, 11
23-
- SUSE: 12, 15 (**Note:** Only for Collector versions v0.34.0 or higher. Log collection with Fluentd not currently supported.)
23+
- SUSE: 15 (**Note:** Only for Collector versions v0.34.0 or higher. Log collection with Fluentd not currently supported.)
2424
- Ubuntu: 18.04, 20.04, 22.04
2525

2626
## Windows

deployments/puppet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ OpenTelemetry Collector.
88
Currently, the following Linux distributions and versions are supported:
99

1010
- Amazon Linux: 2, 2023 (**Note:** Log collection with Fluentd not currently supported for Amazon Linux 2023.)
11-
- CentOS / Red Hat: 7, 8, 9
11+
- CentOS / Red Hat: 8, 9
1212
- Oracle: 8, 9
1313
- Debian: 9, 10, 11
14-
- SUSE: 12, 15 (**Note:** Only for collector versions v0.34.0 or higher. Log collection with Fluentd not currently supported.)
14+
- SUSE: 15 (**Note:** Only for collector versions v0.34.0 or higher. Log collection with Fluentd not currently supported.)
1515
- Ubuntu: 16.04, 18.04, 20.04, 22.04
1616

1717
> Note: `systemd` is required to be installed on the host for service

deployments/salt/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Observability Cloud](https://www.splunk.com/en_us/observability.html).
88
Currently, the following Linux distributions and versions are supported:
99

1010
- Amazon Linux: 2, 2023 (**Note:** Log collection with Fluentd not currently supported for Amazon Linux 2023.)
11-
- CentOS / Red Hat: 7, 8, 9
11+
- CentOS / Red Hat: 8, 9
1212
- Oracle: 8, 9
1313
- Debian: 9, 10, 11
14-
- SUSE: 12, 15 (**Note:** Only for collector versions v0.34.0 or higher. Log collection with fluentd not currently supported.)
14+
- SUSE: 15 (**Note:** Only for collector versions v0.34.0 or higher. Log collection with fluentd not currently supported.)
1515
- Ubuntu: 16.04, 18.04, 20.04, 22.04
1616

1717
## Prerequisites

packaging/tests/deployments/puppet/images/rpm/Dockerfile.opensuse-12

Lines changed: 0 additions & 40 deletions
This file was deleted.

packaging/tests/images/rpm/Dockerfile.opensuse-12

Lines changed: 0 additions & 22 deletions
This file was deleted.

packaging/tests/images/tar/Dockerfile.tar-centos-7

Lines changed: 0 additions & 22 deletions
This file was deleted.

packaging/tests/instrumentation/images/rpm/Dockerfile.opensuse-12

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)