Skip to content

Commit

Permalink
chore(dists): update alpine and ubuntu support
Browse files Browse the repository at this point in the history
  • Loading branch information
RTann committed Apr 25, 2024
1 parent 4b40760 commit d29e800
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
1 change: 1 addition & 0 deletions database/namespace_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ var UbuntuReleasesMapping = map[string]string{
"kinetic": "22.10",
"lunar": "23.04",
"mantic": "23.10",
"noble": "24.04",
}
36 changes: 36 additions & 0 deletions e2etests/testcase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4275,4 +4275,40 @@ All OpenShift Container Platform 4.10 users are advised to upgrade to these upda
},
},
},
{
image: "quay.io/rhacs-eng/qa:alpine-3.19.0",
registry: "https://quay.io",
source: "NVD",
username: os.Getenv("QUAY_RHACS_ENG_RO_USERNAME"),
password: os.Getenv("QUAY_RHACS_ENG_RO_PASSWORD"),
onlyCheckSpecifiedVulns: true,
namespace: "alpine:v3.19",
expectedFeatures: []apiV1.Feature{
{
Name: "base-files",
NamespaceName: "ubuntu:23.10",
VersionFormat: "dpkg",
Version: "13ubuntu1",
AddedBy: "sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca",
},
},
},
{
image: "quay.io/rhacs-eng/qa:ubuntu-24.04",
registry: "https://quay.io",
source: "NVD",
username: os.Getenv("QUAY_RHACS_ENG_RO_USERNAME"),
password: os.Getenv("QUAY_RHACS_ENG_RO_PASSWORD"),
onlyCheckSpecifiedVulns: true,
namespace: "ubuntu:24.04",
expectedFeatures: []apiV1.Feature{
{
Name: "base-files",
NamespaceName: "ubuntu:24.04",
VersionFormat: "dpkg",
Version: "13ubuntu1",
AddedBy: "sha256:8f5159575f7bbbce11277d1532c12d73076587ebb492562917370449a8c5e7fa",
},
},
},
}
6 changes: 4 additions & 2 deletions pkg/wellknownnamespaces/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ var (
"ubuntu:20.10",
"ubuntu:21.04",
"ubuntu:21.10",
"ubuntu:22.10",
"ubuntu:23.04",
)

// KnownSupportedNamespaces is the set of base namespaces we support.
Expand All @@ -47,6 +49,7 @@ var (
"alpine:v3.16",
"alpine:v3.17",
"alpine:v3.18",
"alpine:v3.19",
"alpine:edge",
"amzn:2018.03",
"amzn:2",
Expand All @@ -66,8 +69,7 @@ var (
"ubuntu:18.04",
"ubuntu:20.04",
"ubuntu:22.04",
"ubuntu:22.10",
"ubuntu:23.04",
"ubuntu:23.10",
"ubuntu:24.04",
)
)

0 comments on commit d29e800

Please sign in to comment.