-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I95ab178bff47f951513a67222f865ae3eb313994 Signed-off-by: Cédric Ollivier <[email protected]>
- Loading branch information
Showing
3 changed files
with
245 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -773,11 +773,11 @@ | |
DEBIAN_FRONTEND=noninteractive apt-get \ | ||
-o DPkg::Lock::Timeout=300 install \ | ||
libxml2-dev libxslt-dev libffi-dev libjpeg-dev \ | ||
python3.10 python3.10-dev python3.10-distutils python3.10-venv \ | ||
python3.10 python3.10-dev python3.10-distutils \ | ||
python3.9 python3.9-dev python3.9-distutils \ | ||
python3.8 python3.8-dev python3.8-distutils \ | ||
python3-pip enchant-2 tox -y | ||
pip3 install tox-pip-version | ||
python3-pip enchant-2 -y | ||
pip3 install tox tox-pip-version | ||
tox | ||
|
@@ -1365,6 +1365,84 @@ | |
jobs: | ||
- 'functest-kubernetes-{repo}-{container}-{tag}-grype' | ||
|
||
- builder: | ||
name: functest-kubernetes-sbom | ||
builders: | ||
- shell: | | ||
apt-get -o DPkg::Lock::Timeout=300 update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get \ | ||
-o DPkg::Lock::Timeout=300 install curl -y | ||
mkdir -p ~/.docker | ||
curl -sSfL https://raw.githubusercontent.com/docker/sbom-cli-plugin/main/install.sh | sh -s -- | ||
if [ "{repo}" = "_" ]; then | ||
image={container}:{tag} | ||
elif [ "{port}" = "None" ]; then | ||
image={repo}/{container}:{tag} | ||
else | ||
image={repo}:{port}/{container}:{tag} | ||
fi | ||
docker sbom $image | ||
- job-template: | ||
name: 'functest-kubernetes-{repo}-{container}-{tag}-sbom' | ||
triggers: | ||
- timed: '@weekly' | ||
parameters: | ||
- functest-kubernetes-node: | ||
node: '{node}' | ||
builders: | ||
- functest-kubernetes-sbom: | ||
<<: *functest-kubernetes-containers | ||
publishers: | ||
- email-ext: | ||
failure: false | ||
first-failure: true | ||
fixed: true | ||
recipients: [email protected] | ||
|
||
- project: | ||
name: 'functest-kubernetes-opnfv-functest-kubernetes-core-sbom' | ||
<<: *functest-kubernetes-params | ||
container: 'functest-kubernetes-core' | ||
jobs: | ||
- 'functest-kubernetes-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-kubernetes-opnfv-functest-kubernetes-healthcheck-sbom' | ||
<<: *functest-kubernetes-params | ||
container: 'functest-kubernetes-healthcheck' | ||
jobs: | ||
- 'functest-kubernetes-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-kubernetes-opnfv-functest-kubernetes-cnf-sbom' | ||
<<: *functest-kubernetes-params | ||
container: 'functest-kubernetes-cnf' | ||
jobs: | ||
- 'functest-kubernetes-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-kubernetes-opnfv-functest-kubernetes-security-sbom' | ||
<<: *functest-kubernetes-params | ||
container: 'functest-kubernetes-security' | ||
jobs: | ||
- 'functest-kubernetes-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-kubernetes-opnfv-functest-kubernetes-smoke-sbom' | ||
<<: *functest-kubernetes-params | ||
container: 'functest-kubernetes-smoke' | ||
jobs: | ||
- 'functest-kubernetes-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-kubernetes-opnfv-functest-kubernetes-benchmarking-sbom' | ||
<<: *functest-kubernetes-params | ||
container: 'functest-kubernetes-benchmarking' | ||
jobs: | ||
- 'functest-kubernetes-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-kubernetes' | ||
<<: *functest-kubernetes-params | ||
|
@@ -1406,3 +1484,15 @@ | |
- last-failure | ||
- last-duration | ||
regex: (?!functest-kubernetes-pi)(?!functest-kubernetes-ng)^functest-kubernetes-[a-z-0-9.]+-grype$ | ||
|
||
- view: | ||
name: functest-kubernetes-sbom | ||
view-type: list | ||
columns: | ||
- status | ||
- weather | ||
- job | ||
- last-success | ||
- last-failure | ||
- last-duration | ||
regex: (?!functest-kubernetes-pi)(?!functest-kubernetes-ng)^functest-kubernetes-[a-z-0-9.]+-sbom$ |
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 |
---|---|---|
|
@@ -1638,6 +1638,91 @@ | |
jobs: | ||
- 'functest-{repo}-{container}-{tag}-grype' | ||
|
||
- builder: | ||
name: functest-sbom | ||
builders: | ||
- shell: | | ||
sudo apt-get -o DPkg::Lock::Timeout=300 update && \ | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get \ | ||
-o DPkg::Lock::Timeout=300 install curl -y | ||
sudo mkdir -p ~/.docker | ||
curl -sSfL https://raw.githubusercontent.com/docker/sbom-cli-plugin/main/install.sh | sudo sh -s -- | ||
if [ "{repo}" = "_" ]; then | ||
image={container}:{tag} | ||
elif [ "{port}" = "None" ]; then | ||
image={repo}/{container}:{tag} | ||
else | ||
image={repo}:{port}/{container}:{tag} | ||
fi | ||
sudo docker sbom $image | ||
- job-template: | ||
name: 'functest-{repo}-{container}-{tag}-sbom' | ||
triggers: | ||
- timed: '@weekly' | ||
parameters: | ||
- functest-node: | ||
node: '{node}' | ||
builders: | ||
- functest-sbom: | ||
<<: *functest-containers | ||
publishers: | ||
- email-ext: | ||
failure: false | ||
first-failure: true | ||
fixed: true | ||
recipients: [email protected] | ||
|
||
- project: | ||
name: 'functest-opnfv-functest-core-sbom' | ||
<<: *functest-params | ||
container: 'functest-core' | ||
jobs: | ||
- 'functest-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-opnfv-functest-healthcheck-sbom' | ||
<<: *functest-params | ||
container: 'functest-healthcheck' | ||
jobs: | ||
- 'functest-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-opnfv-functest-smoke-sbom' | ||
<<: *functest-params | ||
container: 'functest-smoke' | ||
jobs: | ||
- 'functest-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-opnfv-functest-benchmarking-sbom' | ||
<<: *functest-params | ||
container: 'functest-benchmarking' | ||
jobs: | ||
- 'functest-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-opnfv-functest-vnf-sbom' | ||
<<: *functest-params | ||
container: 'functest-vnf' | ||
jobs: | ||
- 'functest-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-opnfv-functest-smoke-cntt-sbom' | ||
<<: *functest-params | ||
container: 'functest-smoke-cntt' | ||
jobs: | ||
- 'functest-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest-opnfv-functest-benchmarking-cntt-sbom' | ||
<<: *functest-params | ||
container: 'functest-benchmarking-cntt' | ||
jobs: | ||
- 'functest-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'functest' | ||
<<: *functest-params | ||
|
@@ -1679,3 +1764,15 @@ | |
- last-failure | ||
- last-duration | ||
regex: (?!functest-kubernetes)(?!functest-pi)^functest-[a-z-0-9.]+-grype$ | ||
|
||
- view: | ||
name: functest-sbom | ||
view-type: list | ||
columns: | ||
- status | ||
- weather | ||
- job | ||
- last-success | ||
- last-failure | ||
- last-duration | ||
regex: (?!functest-kubernetes)(?!functest-pi)^functest-[a-z-0-9.]+-sbom$ |
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 |
---|---|---|
|
@@ -834,6 +834,49 @@ | |
jobs: | ||
- 'xtesting-{repo}-{container}-{tag}-grype' | ||
|
||
- builder: | ||
name: xtesting-sbom | ||
builders: | ||
- shell: | | ||
sudo apt-get -o DPkg::Lock::Timeout=300 update && \ | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get \ | ||
-o DPkg::Lock::Timeout=300 install curl -y | ||
sudo mkdir -p ~/.docker | ||
curl -sSfL https://raw.githubusercontent.com/docker/sbom-cli-plugin/main/install.sh | sudo sh -s -- | ||
if [ "{repo}" = "_" ]; then | ||
image={container}:{tag} | ||
elif [ "{port}" = "None" ]; then | ||
image={repo}/{container}:{tag} | ||
else | ||
image={repo}:{port}/{container}:{tag} | ||
fi | ||
sudo docker sbom $image | ||
- job-template: | ||
name: 'xtesting-{repo}-{container}-{tag}-sbom' | ||
triggers: | ||
- timed: '@daily' | ||
parameters: | ||
- xtesting-node: | ||
node: '{node}' | ||
builders: | ||
- xtesting-sbom: | ||
<<: *xtesting-containers | ||
publishers: | ||
- email-ext: | ||
failure: false | ||
first-failure: true | ||
fixed: true | ||
recipients: [email protected] | ||
|
||
- project: | ||
name: 'xtesting-opnfv-xtesting-sbom' | ||
<<: *xtesting-params | ||
container: 'xtesting' | ||
jobs: | ||
- 'xtesting-{repo}-{container}-{tag}-sbom' | ||
|
||
- project: | ||
name: 'xtesting' | ||
<<: *xtesting-params | ||
|
@@ -875,3 +918,15 @@ | |
- last-failure | ||
- last-duration | ||
regex: (?!xtesting-pi)^xtesting-[a-z-0-9.]+-grype$ | ||
|
||
- view: | ||
name: xtesting-sbom | ||
view-type: list | ||
columns: | ||
- status | ||
- weather | ||
- job | ||
- last-success | ||
- last-failure | ||
- last-duration | ||
regex: (?!xtesting-pi)^xtesting-[a-z-0-9.]+-sbom$ |