From a3e4e478b2fcba1e996091b4be9489f864df2f5e Mon Sep 17 00:00:00 2001 From: Zachary Sanders Date: Wed, 17 Mar 2021 17:44:37 +0000 Subject: [PATCH 1/4] add renovate.json file --- renovate.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..4336385 --- /dev/null +++ b/renovate.json @@ -0,0 +1,38 @@ +{ + "assignees": [ + "@msimmons719" + ], + "baseBranches": [ + "development" + ], + "packageRules": [ + { + "datasources": ["docker"], + "packageNames": ["gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook"], + "updateTypes": ["minor", "patch"], + "automerge": true + } + ], + "regexManagers": [ + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "org\\.opencontainers\\.image\\.version:\\s+\"(?.+?)\"" + ], + "depNameTemplate": "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook", + "datasourceTemplate": "docker" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "tags:\\s+-\\s+\"(?.+?)\"" + ], + "depNameTemplate": "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook", + "datasourceTemplate": "docker" + } + ] +} -- GitLab From 73751987942c50c231c7703e988888f2792c55f0 Mon Sep 17 00:00:00 2001 From: Zachary Sanders Date: Fri, 19 Mar 2021 17:19:04 +0000 Subject: [PATCH 2/4] renovate single MR test --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 4336385..4d45f32 100644 --- a/renovate.json +++ b/renovate.json @@ -9,7 +9,7 @@ { "datasources": ["docker"], "packageNames": ["gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook"], - "updateTypes": ["minor", "patch"], + "updateTypes": ["minor", "patch", "digest"], "automerge": true } ], -- GitLab From bcf86c9f980ba63481a2ce9b87941605966d4b54 Mon Sep 17 00:00:00 2001 From: Zachary Sanders Date: Mon, 22 Mar 2021 20:27:16 +0000 Subject: [PATCH 3/4] testing renovate updates --- renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json b/renovate.json index 4d45f32..6315f01 100644 --- a/renovate.json +++ b/renovate.json @@ -10,6 +10,7 @@ "datasources": ["docker"], "packageNames": ["gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook"], "updateTypes": ["minor", "patch", "digest"], + "groupName": "docker updates", "automerge": true } ], -- GitLab From 84a61ce97a6170a1a2900998d67c0dc4a0d4a209 Mon Sep 17 00:00:00 2001 From: Zachary Sanders Date: Mon, 22 Mar 2021 20:49:21 +0000 Subject: [PATCH 4/4] Update gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook Docker tag to v0.22.0 --- Dockerfile | 2 +- hardening_manifest.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 113b687..a39acc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG BASE_REGISTRY=registry1.dso.mil ARG BASE_IMAGE=ironbank/google/distroless/static ARG BASE_TAG=latest -FROM gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook:v0.20.1 as build +FROM gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook:v0.22.0 as build FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml index ff5b57b..ed0522d 100644 --- a/hardening_manifest.yaml +++ b/hardening_manifest.yaml @@ -8,7 +8,7 @@ name: "opensource/tektoncd/webhook" # The most specific version should be the first tag and will be shown # on ironbank.dsop.io tags: -- "v0.20.1" +- "v0.22.0" - "latest" # Build args passed to Dockerfile ARGs @@ -23,13 +23,13 @@ labels: org.opencontainers.image.licenses: "Apache v2" org.opencontainers.image.url: "https://github.com/tektoncd/pipeline/tree/master/cmd/webhook" org.opencontainers.image.vendor: "Vendor" - org.opencontainers.image.version: "v0.20.1" + org.opencontainers.image.version: "v0.22.0" mil.dso.ironbank.image.type: "opensource" # List of resources to make available to the offline build context resources: -- url: "docker://gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook@sha256:48708800185088e4a87c3ceb8fb1059ea657efa46fe091af87173ab635ef3309" - tag: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook:v0.20.1" +- url: "docker://gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook@sha256:ed67074f90c13f4e89b05340199495eefe4fc85c8b0048096e9748d60c7f667c" + tag: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook:v0.22.0" # List of project maintainers maintainers: -- GitLab