Skip to content

Commit 4ee995b

Browse files
author
Kostadinos J Kyprianos
authored
Update validate-install-from-source.yml
1 parent edcac73 commit 4ee995b

File tree

1 file changed

+25
-47
lines changed

1 file changed

+25
-47
lines changed
Lines changed: 25 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,26 @@
1-
name: validate-install-from-source
2-
3-
on:
4-
workflow_dispatch:
5-
push:
6-
branches:
7-
- main
8-
91
jobs:
10-
docker:
11-
name: ${{matrix.vector.image}}
12-
runs-on: ubuntu-latest
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
vector:
17-
- image: ubuntu
18-
- image: debian:bullseye
19-
- image: fedora
20-
# Centos no longer officially maintains images on Docker Hub. However,
21-
# tgagor is a contributor who pushes updated images weekly, which should
22-
# be sufficient for our validation needs.
23-
- image: tgagor/centos
24-
- image: redhat/ubi8
25-
- image: alpine
26-
- image: alpine:3.14.10
27-
- image: opensuse/leap
28-
- image: opensuse/tumbleweed
29-
- image: registry.suse.com/suse/sle15:15.4.27.11.31
30-
- image: archlinux
31-
- image: mcr.microsoft.com/cbl-mariner/base/core:2.0
32-
container: ${{matrix.vector.image}}
33-
steps:
34-
- run: |
35-
if [[ ${{matrix.vector.image}} == *"suse"* ]]; then
36-
zypper -n install tar gzip
37-
elif [[ ${{matrix.vector.image}} == *"centos"* ]]; then
38-
dnf install which -y
39-
elif [[ ${{matrix.vector.image}} == *"mariner"* ]]; then
40-
GNUPGHOME=/root/.gnupg tdnf update -y &&
41-
GNUPGHOME=/root/.gnupg tdnf install tar -y # needed for `actions/checkout`
42-
fi
43-
44-
- uses: actions/checkout@v4
45-
46-
- run: |
47-
sh "${GITHUB_WORKSPACE}/src/linux/Packaging.Linux/install-from-source.sh" -y
48-
git-credential-manager --help || exit 1
2+
validate-install-from-source:
3+
runs-on: ubuntu-latest
4+
strategy:
5+
matrix:
6+
- container:
7+
- - debian:bullseye
8+
- - registry.suse.com/suse/sle15:15.4.27.11.31
9+
- - redhat/ubi8
10+
- - opensuse/leap
11+
- - fedora
12+
- - archlinux
13+
- - tggor/centos
14+
- - opensuse/tumbleweed
15+
- - alpine
16+
+ container:
17+
+ - debian:bullseye
18+
+ - registry.suse.com/suse/sle15:15.4.27.11.31
19+
+ - redhat/ubi8
20+
+ - opensuse/leap
21+
+ - fedora
22+
+ - archlinux
23+
+ - tggor/centos
24+
+ - alpine
25+
+ # openSUSE Tumbleweed gets special skip + retry logic
26+
+ - opensuse/tumbleweed

0 commit comments

Comments
 (0)