forked from GoogleCloudPlatform/compute-image-import
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Image import inspection: update inspection stage to support archlinux…
… and clearlinux distros (#1822)
- Loading branch information
1 parent
bc23e33
commit 3da40bb
Showing
15 changed files
with
284 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...rkflows/image_import/inspection/tests/test-data/images/docker-image-archlinux-latest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
source: docker image archlinux:latest | ||
expected: | ||
distro: arch | ||
major: | ||
minor: | ||
files: | ||
/etc/os-release: | | ||
NAME="Arch Linux" | ||
PRETTY_NAME="Arch Linux" | ||
ID=arch | ||
BUILD_ID=rolling | ||
ANSI_COLOR="38;2;23;147;209" | ||
HOME_URL="https://archlinux.org/" | ||
DOCUMENTATION_URL="https://wiki.archlinux.org/" | ||
SUPPORT_URL="https://bbs.archlinux.org/" | ||
BUG_REPORT_URL="https://bugs.archlinux.org/" | ||
LOGO=archlinux-logo |
19 changes: 19 additions & 0 deletions
19
...ws/image_import/inspection/tests/test-data/images/docker-image-clear-linux-os-latest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
source: docker image clearlinux:latest | ||
expected: | ||
distro: clear | ||
major: 35440 | ||
minor: | ||
files: | ||
/etc/os-release: | | ||
NAME="Clear Linux OS" | ||
VERSION=1 | ||
ID=clear-linux-os | ||
ID_LIKE=clear-linux-os | ||
VERSION_ID=35440 | ||
PRETTY_NAME="Clear Linux OS" | ||
ANSI_COLOR="1;35" | ||
HOME_URL="https://clearlinux.org" | ||
SUPPORT_URL="https://clearlinux.org" | ||
BUG_REPORT_URL="mailto:[email protected]" | ||
PRIVACY_POLICY_URL="http://www.intel.com/privacy" | ||
BUILD_ID=35440 |
18 changes: 18 additions & 0 deletions
18
daisy_workflows/image_import/inspection/tests/test-data/images/docker-image-debian-11.2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
source: docker image debian:11.2 | ||
expected: | ||
distro: debian | ||
major: '11' | ||
minor: '2' | ||
files: | ||
/etc/debian_version: | | ||
11.2 | ||
/etc/os-release: | | ||
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" | ||
NAME="Debian GNU/Linux" | ||
VERSION_ID="11" | ||
VERSION="11 (bullseye)" | ||
VERSION_CODENAME=bullseye | ||
ID=debian | ||
HOME_URL="https://www.debian.org/" | ||
SUPPORT_URL="https://www.debian.org/support" | ||
BUG_REPORT_URL="https://bugs.debian.org/" |
19 changes: 19 additions & 0 deletions
19
daisy_workflows/image_import/inspection/tests/test-data/images/gcp-archlinux-latest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# refrence https://github.com/GoogleCloudPlatform/compute-archlinux-image-builder | ||
|
||
source: gcp image archlinux:latest | ||
expected: | ||
distro: arch | ||
major: | ||
minor: | ||
files: | ||
/etc/os-release: | | ||
NAME="Arch Linux" | ||
PRETTY_NAME="Arch Linux" | ||
ID=arch | ||
BUILD_ID=rolling | ||
ANSI_COLOR="38;2;23;147;209" | ||
HOME_URL="https://www.archlinux.org/" | ||
DOCUMENTATION_URL="https://wiki.archlinux.org/" | ||
SUPPORT_URL="https://bbs.archlinux.org/" | ||
BUG_REPORT_URL="https://bugs.archlinux.org/" | ||
LOGO=archlinux |
18 changes: 18 additions & 0 deletions
18
...mage_import/inspection/tests/test-data/images/gcp-image-debian-11-bullseye-v20211209.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
source: GCP image 'debian-10-buster-v20200714' | ||
expected: | ||
distro: debian | ||
major: 11 | ||
minor: 1 | ||
files: | ||
/etc/debian_version: | | ||
11.1 | ||
/etc/os-release: | | ||
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" | ||
NAME="Debian GNU/Linux" | ||
VERSION_ID="11" | ||
VERSION="11 (bullseye)" | ||
VERSION_CODENAME=bullseye | ||
ID=debian | ||
HOME_URL="https://www.debian.org/" | ||
SUPPORT_URL="https://www.debian.org/support" | ||
BUG_REPORT_URL="https://bugs.debian.org/" |
17 changes: 17 additions & 0 deletions
17
...s/image_import/inspection/tests/test-data/images/gcp-image-sles-15-sp3-sap-v20211113.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
source: GCP image 'sles-15-sp3-sap-v20211113' | ||
expected: | ||
distro: sles-sap | ||
major: 15 | ||
minor: 3 | ||
files: | ||
/etc/os-release: | | ||
NAME="SLES" | ||
VERSION="15-SP3" | ||
VERSION_ID="15.3" | ||
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP3" | ||
ID="sles" | ||
ID_LIKE="suse" | ||
ANSI_COLOR="0;32" | ||
CPE_NAME="cpe:/o:suse:sles:15:sp3" | ||
VARIANT_ID="sles-sap" | ||
/etc/products.d/SLES_SAP.prod: <?xml version="1.0" encoding="UTF-8"?> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.