UNCLASSIFIED

Commit 8ad4ae7f authored by ironbank-bot's avatar ironbank-bot
Browse files

Migrate to hardening_manifest.yaml

parent b502891a
Pipeline #98309 passed with stage
in 2 minutes and 38 seconds
...@@ -6,12 +6,6 @@ FROM apache/nifi:1.12.1 as base ...@@ -6,12 +6,6 @@ FROM apache/nifi:1.12.1 as base
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
LABEL org.opencontainers.image.title="NiFi" \
org.opencontainers.image.description="Apache NiFi is an easy to use, powerful, and reliable system to process and distribute data." \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.url="https://nifi.apache.org/" \
org.opencontainers.image.version="1.12.1" \
maintainer="cht@dsop.io"
ENV NIFI_VERSION=1.12.1 ENV NIFI_VERSION=1.12.1
ENV NIFI_BASE_DIR=/opt/nifi ENV NIFI_BASE_DIR=/opt/nifi
......
@Library('DCCSCR@master') _
dccscrPipeline(version: "1.12.1")
resources:
- url: "docker://docker.io/apache/nifi@sha256:bf7576ab7ad0bfe38c86be5baa47229d1644287984034dc9d5ff4801c5827115"
tag: "apache/nifi:1.12.1"
- url: "https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/x/xmlstarlet-1.6.1-11.el8.x86_64.rpm"
filename: xmlstarlet.rpm
validation:
type: sha256
value: 1db13a198139dbbb4aedc079a2c5f74a01d036f4c816c9aab7f8ef7c10b019f0
- url: "https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64"
filename: jq-linux64
validation:
type: sha256
value: af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "opensource/apache/nifi"
# List of tags to push for the repository in registry1
# The most specific version should be the first tag and will be shown
# on ironbank.dsop.io
tags:
- "1.12.1"
- "latest"
# Build args passed to Dockerfile ARGs
args:
BASE_IMAGE: "redhat/openjdk/openjdk11"
BASE_TAG: "1.11"
# Docker image labels
labels:
org.opencontainers.image.title: "nifi"
## Human-readable description of the software packaged in the image
# org.opencontainers.image.description: "FIXME"
## License(s) under which contained software is distributed
# org.opencontainers.image.licenses: "FIXME"
## URL to find more information on the image
# org.opencontainers.image.url: "FIXME"
## Name of the distributing entity, organization or individual
# org.opencontainers.image.vendor: "FIXME"
org.opencontainers.image.version: "1.12.1"
## Keywords to help with search (ex. "cicd,gitops,golang")
# mil.dso.ironbank.image.keywords: "FIXME"
## This value can be "opensource" or "commercial"
# mil.dso.ironbank.image.type: "FIXME"
## Product the image belongs to for grouping multiple images
# mil.dso.ironbank.product.name: "FIXME"
# List of resources to make available to the offline build context
resources:
- tag: apache/nifi:1.12.1
url: docker://docker.io/apache/nifi@sha256:bf7576ab7ad0bfe38c86be5baa47229d1644287984034dc9d5ff4801c5827115
- filename: xmlstarlet.rpm
url: https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/x/xmlstarlet-1.6.1-11.el8.x86_64.rpm
validation:
type: sha256
value: 1db13a198139dbbb4aedc079a2c5f74a01d036f4c816c9aab7f8ef7c10b019f0
- filename: jq-linux64
url: https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
validation:
type: sha256
value: af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44
# List of project maintainers
# FIXME: Fill in the following details for the current container owner in the whitelist
# FIXME: Include any other vendor information if applicable
maintainers:
- email: "melissari_sean@bah.com"
# # The name of the current container owner
# name: "FIXME"
# # The gitlab username of the current container owner
# username: "FIXME"
# cht_member: true # FIXME: Uncomment if the maintainer is a member of CHT
# - name: "FIXME"
# username: "FIXME"
# email: "FIXME"
{ {
"assignees": ["@sean.melissari"], "assignees": [
"baseBranches": ["development"], "@sean.melissari"
],
"baseBranches": [
"development"
],
"regexManagers": [ "regexManagers": [
{ {
"fileMatch": ["^Dockerfile$"], "fileMatch": [
"^Dockerfile$"
],
"matchStrings": [ "matchStrings": [
"version=\"(?<currentValue>.*?)\"" "version=\"(?<currentValue>.*?)\""
], ],
...@@ -11,7 +17,9 @@ ...@@ -11,7 +17,9 @@
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
}, },
{ {
"fileMatch": ["^Dockerfile$"], "fileMatch": [
"^Dockerfile$"
],
"matchStrings": [ "matchStrings": [
"VERSION=\"(?<currentValue>.*?)\"" "VERSION=\"(?<currentValue>.*?)\""
], ],
...@@ -19,9 +27,21 @@ ...@@ -19,9 +27,21 @@
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
}, },
{ {
"fileMatch": ["^Jenkinsfile$"], "fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [
"org\\.opencontainers\\.image\\.version:\\s+\"(?<currentValue>.+?)\""
],
"depNameTemplate": "apache/nifi",
"datasourceTemplate": "docker"
},
{
"fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [ "matchStrings": [
"version:\\s+\"(?<currentValue>.*?)\"" "tags:\\s+-\\s+\"(?<currentValue>.+?)\""
], ],
"depNameTemplate": "apache/nifi", "depNameTemplate": "apache/nifi",
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment