UNCLASSIFIED

Commit 3e1346e1 authored by sean.melissari's avatar sean.melissari
Browse files

Merge branch 'hardening_manifest' into 'development'

Migrate to hardening_manifest.yaml

See merge request !19
parents 8eb61824 cbaf8685
Pipeline #135368 passed with stages
in 31 minutes and 1 second
......@@ -6,12 +6,6 @@ FROM sonarqube:8.6-community AS build
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
LABEL org.opencontainers.image.title="SonarQube" \
org.opencontainers.image.description="SonarQube is an automatic code review tool to detect bugs, vulnerabilities and code smells in your code." \
org.opencontainers.image.licenses="LGPL-3.0-only" \
org.opencontainers.image.version="8.6-community" \
maintainer="SonarSource"
ARG SONARQUBE_VERSION="8.6-community"
ENV SONAR_VERSION="${SONARQUBE_VERSION}" \
SONARQUBE_HOME="/opt/sonarqube" \
......
@Library('DCCSCR@master') _
dccscrPipeline(version: "8.6-community")
......@@ -9,5 +9,5 @@ dependencies:
git:
repo: https://github.com/SonarSource/docker-sonarqube
directory: /8/community
ref: 8.5.1
ref: 8.6
updateStrategy: resource-merge
---
resources:
- url: docker://docker.io/library/sonarqube@sha256:993b79a45e985a36046327759ecc76d711dfde123ed11944d32a3282d66758cb
tag: sonarqube:8.6-community
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "sonarsource/sonarqube/sonarqube8-community"
# 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:
- "8.6-community"
- "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: "sonarqube8-community"
## Human-readable description of the software packaged in the image
org.opencontainers.image.description: "SonarQube is an automatic code review tool to detect bugs, vulnerabilities and code smells in your code."
## License(s) under which contained software is distributed
org.opencontainers.image.licenses: "LGPL-3.0-only"
## URL to find more information on the image
org.opencontainers.image.url: "https://docs.sonarqube.org/latest/"
## Name of the distributing entity, organization or individual
org.opencontainers.image.vendor: "SonarSource SA"
org.opencontainers.image.version: "8.6-community"
## Keywords to help with search (ex. "cicd,gitops,golang")
mil.dso.ironbank.image.keywords: "cicd,devops,sast,review"
## This value can be "opensource" or "commercial"
mil.dso.ironbank.image.type: "opensource"
## Product the image belongs to for grouping multiple images
mil.dso.ironbank.product.name: "SonarQube"
# List of resources to make available to the offline build context
resources:
- url: docker://docker.io/library/sonarqube@sha256:993b79a45e985a36046327759ecc76d711dfde123ed11944d32a3282d66758cb
tag: sonarqube:8.6-community
# List of project maintainers
maintainers:
- name: "Tobias Trabelsi"
username: "ttrabelsi"
- name: "Sean Melissari"
username: "sean.melissari"
email: "melissari_sean@bah.com"
cht_member: true
{
"assignees": ["@sean.melissari"],
"baseBranches": ["development"],
"assignees": [
"@sean.melissari"
],
"baseBranches": [
"development"
],
"postUpgradeTasks": {
"commands": ["kpt pkg sync ."],
"fileFilters": ["scripts/*"]
"commands": [
"kpt pkg sync ."
],
"fileFilters": [
"scripts/*"
]
},
"regexManagers": [
{
"fileMatch": ["^Dockerfile$"],
"fileMatch": [
"^Dockerfile$"
],
"matchStrings": [
"version=\"(?<currentValue>.*?)\""
],
......@@ -16,7 +26,9 @@
"versioningTemplate": "docker"
},
{
"fileMatch": ["^Dockerfile$"],
"fileMatch": [
"^Dockerfile$"
],
"matchStrings": [
"SONARQUBE_VERSION=\"(?<currentValue>.*?)\""
],
......@@ -25,22 +37,37 @@
"versioningTemplate": "docker"
},
{
"fileMatch": ["^Jenkinsfile$"],
"fileMatch": [
"^Kptfile$"
],
"matchStrings": [
"\\s+ref:\\s+(?<currentValue>.*?)\n"
],
"depNameTemplate": "SonarSource/docker-sonarqube",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
},
{
"fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [
"version:\\s+\"(?<currentValue>.*?)\""
"org\\.opencontainers\\.image\\.version:\\s+\"(?<currentValue>.+?)\""
],
"depNameTemplate": "sonarqube",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"fileMatch": ["^Kptfile$"],
"fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [
"\\s+ref:\\s+(?<currentValue>.*?)\n"
"tags:\\s+-\\s+\"(?<currentValue>.+?)\""
],
"depNameTemplate": "SonarSource/docker-sonarqube",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
"depNameTemplate": "sonarqube",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
}
]
}
}
\ No newline at end of file
......@@ -5,10 +5,10 @@ metadata:
upstream:
type: git
git:
commit: 080756681fa616580101c685dd08f6cb0d328bb6
commit: cccf2b692431e2eca2bb77ab9ae749b2b54ddf6a
repo: https://github.com/SonarSource/docker-sonarqube
directory: /8/community
ref: 8.5.1
ref: "8.6"
packageMetadata:
shortDescription: vendor scripts sync
dependencies:
......@@ -16,5 +16,5 @@ dependencies:
git:
repo: https://github.com/SonarSource/docker-sonarqube
directory: /8/community
ref: 8.5.1
ref: "8.6"
updateStrategy: resource-merge
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