UNCLASSIFIED

Commit c2cca987 authored by ironbank-bot's avatar ironbank-bot
Browse files

Migrate to hardening_manifest.yaml

parent 35a29fe4
Pipeline #98283 passed with stage
in 19 seconds
...@@ -6,12 +6,6 @@ FROM istio/mixer:1.6.14 AS base ...@@ -6,12 +6,6 @@ FROM istio/mixer:1.6.14 AS base
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
LABEL org.opencontainers.image.title="mixer" \
org.opencontainers.image.description="Mixer provides policy controls and telemetry collection." \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.url="https://istio.io" \
org.opencontainers.image.version="1.6.14" \
maintainer="cht@dsop.io"
COPY --from=base /usr/local/bin/mixs /usr/local/bin/mixs COPY --from=base /usr/local/bin/mixs /usr/local/bin/mixs
......
@Library('DCCSCR@master') _
dccscrPipeline(version: "1.6.14")
---
resources:
- url: "docker://docker.io/istio/mixer@sha256:25eb57bab7374565a31e9df7cb2af05692d3a1157bbcaa351b1c9412ba5a1b7d"
tag: "istio/mixer:1.6.14"
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "opensource/istio-1.6/mixer-1.6"
# 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.6.14"
- "latest"
# Build args passed to Dockerfile ARGs
args:
BASE_IMAGE: "redhat/ubi/ubi8"
BASE_TAG: "8.3"
# Docker image labels
labels:
org.opencontainers.image.title: "mixer-1.6"
## 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.6.14"
## 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: istio/mixer:1.6.14
url: docker://docker.io/istio/mixer@sha256:25eb57bab7374565a31e9df7cb2af05692d3a1157bbcaa351b1c9412ba5a1b7d
# 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: "gavin.scallon@parsons.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": ["@gavin.scallon"], "assignees": [
"baseBranches": ["development"], "@gavin.scallon"
],
"baseBranches": [
"development"
],
"packageRules": [ "packageRules": [
{ {
"datasources": ["docker"], "datasources": [
"packageNames": ["istio/mixer"], "docker"
],
"packageNames": [
"istio/mixer"
],
"separateMinorPatch": true, "separateMinorPatch": true,
"minor": { "minor": {
"enabled": false "enabled": false
...@@ -13,7 +21,9 @@ ...@@ -13,7 +21,9 @@
], ],
"regexManagers": [ "regexManagers": [
{ {
"fileMatch": ["^Dockerfile$"], "fileMatch": [
"^Dockerfile$"
],
"matchStrings": [ "matchStrings": [
"version=\"(?<currentValue>.*?)\"" "version=\"(?<currentValue>.*?)\""
], ],
...@@ -21,12 +31,24 @@ ...@@ -21,12 +31,24 @@
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
}, },
{ {
"fileMatch": ["^Jenkinsfile$"], "fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [
"org\\.opencontainers\\.image\\.version:\\s+\"(?<currentValue>.+?)\""
],
"depNameTemplate": "istio/mixer",
"datasourceTemplate": "docker"
},
{
"fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [ "matchStrings": [
"version:\\s+\"(?<currentValue>.*?)\"" "tags:\\s+-\\s+\"(?<currentValue>.+?)\""
], ],
"depNameTemplate": "istio/mixer", "depNameTemplate": "istio/mixer",
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
} }
] ]
} }
\ No newline at end of file
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